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. Qt and OpenGL on mac.

Qt and OpenGL on mac.

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 2 Posters 667 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.
  • CarLoowwwwC Offline
    CarLoowwwwC Offline
    CarLoowwww
    wrote on last edited by CarLoowwww
    #1

    Hello guys i have a question regarding the mouse event and my openglwidget.

    Why do i need to move the mouse first before the changes apply to my widget.

    For example i delete my object then after that, some menu from my widget bar should be disabled. But if i didn't move my mouse, the those menu is still enabled until i move my mouse cursor.

    I think pressing on keyboard will trigger the disabled too.

    Note: This case works well on windows playform.

    1 Reply Last reply
    0
    • jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi!
      Your description is not clear.
      Which mouse event do you mean? When do you delete your object? What is the triger?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • CarLoowwwwC Offline
        CarLoowwwwC Offline
        CarLoowwww
        wrote on last edited by CarLoowwww
        #3

        Ok here is it.

        I have a shape and i putted 2 of it on my workplane, and i selected them both. since the selected object are more than one, it will enabled the group button on the toolbar. I have a code that will disabled the group button if there is no selected object. or there is only one slected object/shape. but when i suddenly delete the object using my delete button on keyboard, the group button is still enabled(even the object is already deleted and no object is selected) until i move my mouse or press anything from my keyboard(after doing mouse move or click . and keyboard press then that is the way that the button will go on disabled mode).

        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