Testing Qt3DInput::QMouseEvent::RightButton and Qt3DInput::QActionInput
Unsolved
General and Desktop
-
Hello,
I am trying to write some test for a class that handle
Qt3DInput::QActionInput
, specifically{Qt3DInput::QMouseEvent::RightButton}
.In my test I am creating a new
Qt3DInput::QMouseEvent
with aQMouseEvent(QEvent::MouseButtonPress, QPointF(), Qt::MouseButton::LeftButton, Qt::MouseButton::LeftButton, Qt::KeyboardModifier::NoModifier);
Now, I don't really understand where to feed this event.
Any advice?Cheers!!