How can I make the progressbar created like this
progressbar = slicer.util.createProgressDialog(windowTitle='Processing...', autoClose=False) progressbar.setCancelButton(None) progress =0 steps = 7 progressStep = 100/steps # Update progress value progressbar.setValue(progress) progress += progressStep # Update label text progressbar.labelText = "Starting processing ..." slicer.app.processEvents()
. . .
stay in foreground? It is called from the process logic of my extension and keeps disappearing from the screen (Slicer switches itself to foreground) , from time to time
Thank you and best regards