Neither, processEvent() should be calld only when you have actual pending events to process.
You may find this useful : How to make Qt work when main thread is busy?
More Related Contents:
- How to maintain widgets aspect ratio in Qt?
- Qt signaling across threads, one is GUI thread?
- What are MVP and MVC and what is the difference?
- What is the need of JSF, when UI can be achieved with JavaScript libraries such as jQuery and AngularJS
- One or more resources has the target of ‘head’ but not ‘head’ component has been defined within the view
- Blackberry User Interface Design – Customizable UI?
- How to customize a ListField in BlackBerry?
- How can I upload a PDF file using Karate UI Automation? [duplicate]
- Modify Qt GUI from background worker thread
- Good text foreground color for a given background color
- Blackberry – Loading/Wait screen with animation
- Linking a qtDesigner .ui file to python/pyqt?
- How to do page navigation for many, many pages? Logarithmic page navigation
- how can I fully disable resizing a window including the resize icon when the mouse hovers the border?
- How do I create a Window in different QT threads?
- Blackberry – fields layout animation
- QObject Multiple Inheritance
- Dark transparent layer over a QMainWindow in Qt
- What is the shortest perceivable application response delay?
- Alternatives to ssh X11-forwarding for Docker containers
- How do you add UI inside cells in a google spreadsheet using app script?
- Get HWND on windows with Qt5 (from WId)
- signals and slots in multilayered UI widgets
- Changing DPI scaling size of display make Qt application’s font size get rendered bigger
- Gui toolkits, which should I use? [closed]
- QProgressBar not showing progress?
- Given a background color, how to get a foreground color that makes it readable on that background color?
- How to create a round mouse area in QML
- Matplotlib plot zooming with scroll wheel
- How to make a GUI for bash scripts? [closed]