View Single Post
Old 09-03-2012, 10:07 AM   #6
Pepin33
Zealot
Pepin33 has a complete set of Star Wars action figures.Pepin33 has a complete set of Star Wars action figures.Pepin33 has a complete set of Star Wars action figures.Pepin33 has a complete set of Star Wars action figures.Pepin33 has a complete set of Star Wars action figures.
 
Posts: 109
Karma: 419
Join Date: Aug 2012
Location: Spain
Device: Kindle Touch
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?
Pepin33 is offline   Reply With Quote