PS:
I just checked and found that I also tried:
def done(self):
...
QtGui.QWizard.close(self)
and that did not work either.
Regards, Heinz
On 08/12/2010 04:10 PM, "Sybren A. Stüvel" wrote:
On 12-8-2010 15:30, Preisig, Heinz A wrote:
I thought though I essentially tried it with
QtGui.QWizard(self).done(r)
You can't use C-style casting in Python. What QtGui.QWizard(self) does
is create a new QWizard with "self" as the parent. It then proceeds to
call done(r) on that new QWizard instance. Then the instance is cobbled
up by the garbage collector.
I think what you want is to call the unbound method:
QtGui.QWizard.done(self, r)
Cheers,
Sybren
--
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: [email protected] <mailto:[email protected]>
web: www.chemeng.ntnu.no\~preisig <http://www.chemeng.ntnu.no/%7Epreisig>
_______________________________________________
PyQt mailing list [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt