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 | 2963 | October 4, 2019 | |
| Multithreading in extension | 8 | 2386 | May 30, 2019 | |
| Slicer doesn't print anything during for loops even with sys.stdout.flush() | 1 | 164 | March 15, 2024 | |
| Using Python multithreading in 3D Slicer | 11 | 872 | July 15, 2024 | |
| Slicer with custom Python threading crashing unpredictably | 6 | 121 | June 18, 2025 |