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. [Solved] "Lock" the UI while waiting on an async event?
Forum Updated to NodeBB v4.3 + New Features

[Solved] "Lock" the UI while waiting on an async event?

Scheduled Pinned Locked Moved General and Desktop
22 Posts 4 Posters 18.5k Views 1 Watching
  • 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.
  • Z Offline
    Z Offline
    ZapB
    wrote on last edited by
    #21

    You also have to block QEvent::ContextMenu event types to stop context menus appearing.

    So can you only consume MousePress but not MouseRelease?

    Nokia Certified Qt Specialist
    Interested in hearing about Qt related work

    1 Reply Last reply
    0
    • R Offline
      R Offline
      reactive
      wrote on last edited by
      #22

      So can you only consume MousePress but not MouseRelease?

      Well, the text box cursors move on mouse presses and the popup menu appears
      on mouse release (in a text box) - so somehow text boxes are getting around
      the mouse event filter.

      I can't even guess at the button behavior, but it must somehow still knows you're clicking on it too.

      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