Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Unsolved setCursor doesnot work while mouseMove in a QOpenGLWidget which is added into QGraphicsScene as a QGraphicsProxyWidget...

    General and Desktop
    2
    4
    504
    Loading More Posts
    • 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.
    • O
      opengpu2 last edited by

      setCursor doesnot work while mouseMove in a QOpenGLWidget which is added into QGraphicsScene as a QGraphicsProxyWidget...
      setCursor works before mouse move into the scene,
      but while the mouse is in the scene and setCursor in MouseMoveEvent, it does not work, until move the mouse out of the scene, and move it back into the scene again....
      thnk you !

      1 Reply Last reply Reply Quote 0
      • SGaist
        SGaist Lifetime Qt Champion last edited by

        Hi,

        Where are you calling setCursor ? Under which conditions ?

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply Reply Quote 0
        • O
          opengpu2 last edited by

          in mouseMoveEvent in a class inherited from QOpenGLWidget, and this it is added into QGraphicsScene as a QGraphicsProxyWidget

          1 Reply Last reply Reply Quote 0
          • SGaist
            SGaist Lifetime Qt Champion last edited by

            Can you show a minimal compilable example that shows this ?

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            1 Reply Last reply Reply Quote 0
            • First post
              Last post