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. HasEventsQueued()
Qt 6.11 is out! See what's new in the release blog

HasEventsQueued()

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 517 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.
  • H Offline
    H Offline
    helpme1965
    wrote on last edited by
    #1

    Yes, I know this function has been deprecated, but I can't figure out a work around.

    I'm writing a plugin to a qt driven application called Maya, I desparately need this function to keep my redraws light. They can take several seconds to draw in ful, but I need to be able to interrupt them with any sort of input activity. However the event loop calls my routine basically once a frame, so it's not like I can just run my draw asynchronously in another thready.

    I've tried doing a processEvents, at intervals in my redraw, and had my filter return 0's (and set an activity flag if there is any), but this seems to mess with maya's events somehow (even though I don't accept events and return 0 from the filter). I'm getting lots of instability.

    I desperately need something I can call that will check if there's ANY activity at all on the queue. I am totally stuck.

    Joe

    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