Do you need a separate thread? Have you tried slicer.util.createProgressDialog()? You might find these examples helpful: Use progress bar from python
Related Topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Slicer crashes when using QThreadPool to start QRunnable in python module | 16 | 2821 | October 4, 2019 | |
Progressbar in 3D Slicer python script - how can I make it stay in foreground? | 2 | 497 | June 23, 2021 | |
Slicer crashing when using multiprocessing or multi threading | 2 | 465 | April 25, 2022 | |
Slicer doesn't print anything during for loops even with sys.stdout.flush() | 1 | 141 | March 15, 2024 | |
How to use signals and slots in Slicer 3d? | 5 | 1487 | October 18, 2020 |