[PyQt] [wizard] done, accept, reject

Preisig, Heinz A Heinz.Preisig at ChemEng.NTNU.NO
Thu Aug 12 09:56:44 BST 2010


I am running into problems controlling the exit from the wizard. Tried 
several things but seem not to find a solution. Probably overlook 
something...?

The code, attached below is executed on ubuntu 10.04 and I also tried on 
kubuntu.

The problem is with done and reject. The task does not exit, but 
persists. I have to kill the process.
When eliminating done and reject, the task exits cleanly on finish and 
cancel.

If I add the statement
return 1
to done, I get an error message on the type being returned.

Does somebody have an idea what is wrong?

Thanks,

Heinz Preisig

code:  attached


-- 


Heinz A Preisig
Professor of Process Systems Engineering 	Private:
Øvre Bakklandet 62 B, 7013 Trondheim, Norway
Department of Chemical Engineering
Norwegian University of Science and Technology
N -- 7491 Trondheim, Norway 	Tel direct: +47 735 92807
Tel mob: +47 9754 1334
e-mail: Heinz.Preisig at chemeng.ntnu.no <mailto:Heinz.Preisig at chemeng.ntnu.no>
web: www.chemeng.ntnu.no\~preisig <http://www.chemeng.ntnu.no/%7Epreisig>


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20100812/3c0c70f4/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: task.py
Type: text/x-python
Size: 282 bytes
Desc: not available
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20100812/3c0c70f4/attachment-0003.py>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wizard.ui
Type: application/x-designer
Size: 480 bytes
Desc: not available
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20100812/3c0c70f4/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wizard_ui_impl.py
Type: text/x-python
Size: 766 bytes
Desc: not available
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20100812/3c0c70f4/attachment-0004.py>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wizard_ui.py
Type: text/x-python
Size: 918 bytes
Desc: not available
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20100812/3c0c70f4/attachment-0005.py>


More information about the PyQt mailing list