Test mouse event in custom graphics view in QT