Mouse event example available ?



  • I'm looking for a minimal but complete example to demonstrate the use of mousevents on main application window containing a QGraphicsview-widget.

    When clicked outside the QGraphicsview i want to get the mouseposition relative to main window, if clicked in QGraphicsview i want to get the mouseposition relative to QGraphicsview or scene.

    Maybe such example is available here ? thanks

    wally


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.