I was using a QProgess Bar, after looking kiwidude's Quality Check plugin.
I works OK, but I have a problem when the user cancel the process. I assign the progressbar object, and then I do "progressbar.exec_()". The function assigned to QTimer.singleShot makes it work, but if the user closes the window, the function continues executing (and obviously, I get some errors).
I tried hidding "cancel" and "close" buttons, but if the user press "ESC" the window still closes.
Somebody can help me?
|