Skip to content

What We Know About Progress Dialogs One Thread

russ_hensel edited this page Dec 29, 2025 · 3 revisions

We have several implementations of progress dialogs, for general information see:

If you are interested in a single thread approach, stay on this page.

  • Features:
    • Single thread.
    • Dialog is modal, this is good, until the task is over the user can not mess up by t rigging something in the main GUI.
    • Instance variables in the main GUI are easily available, and qt widgets can be used without crashing the system.
    • Uses QCoreApplication.processEvents()

Currently my favorite approach.

We add methods to the GUI class to make it an iterator and then the progress dialog calls it in a loop where the dialog loop has close to zero code from the gui.

Clone this wiki locally