Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

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