Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. How to stop GUI update during time-critical functions

How to stop GUI update during time-critical functions

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
2 Posts 2 Posters 312 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.
  • G Offline
    G Offline
    ginrider
    wrote on last edited by
    #1

    Hello.
    We have a WEC7 + Qt system for iMX6 Colibri computer. The problem is the following: in a couple of time-critical places there happens a significant delay during display update which we would like to avoid. I tried to use setUpdatesEnabled(false) methods to all widgets and dialogs, enabling them after the critical part - this really helps but GUI starts to blink at those places. Any other idea?
    Thanks!

    JKSHJ 1 Reply Last reply
    0
    • G ginrider

      Hello.
      We have a WEC7 + Qt system for iMX6 Colibri computer. The problem is the following: in a couple of time-critical places there happens a significant delay during display update which we would like to avoid. I tried to use setUpdatesEnabled(false) methods to all widgets and dialogs, enabling them after the critical part - this really helps but GUI starts to blink at those places. Any other idea?
      Thanks!

      JKSHJ Offline
      JKSHJ Offline
      JKSH
      Moderators
      wrote on last edited by
      #2

      Hi @ginrider, and welcome!

      The usual solution is to put the time-critical computation in a separate thread. Is this feasible for your project?

      Also, you could avoid changing the contents of widgets during the time-critcal phase (for example, avoid calling setValue() or emitting any signals that cause updates)

      Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

      1 Reply Last reply
      2

      • Login

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