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.
Forum Updated to NodeBB v4.3 + New Features

Qt and OpenGL on mac.

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 2 Posters 613 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.
  • C Offline
    C Offline
    CarLoowwww
    wrote on 29 Jan 2016, 00:59 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
    • J Offline
      J Offline
      jsulm
      Lifetime Qt Champion
      wrote on 29 Jan 2016, 05:21 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
      • C Offline
        C Offline
        CarLoowwww
        wrote on 29 Jan 2016, 06:32 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

        1/3

        29 Jan 2016, 00:59

        • Login

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