Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Testing Qt3DInput::QMouseEvent::RightButton and Qt3DInput::QActionInput
QtWS25 Last Chance

Testing Qt3DInput::QMouseEvent::RightButton and Qt3DInput::QActionInput

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 141 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    dashandslash
    wrote on last edited by
    #1

    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 a QMouseEvent(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!!

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved