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 17.9k 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 18 Mar 2011, 16:38 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 18 Mar 2011, 16:45 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

      21/22

      18 Mar 2011, 16:38

      • Login

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