[PyQt] Using PyQt within an application

andYpsilon andreasfrickinger at me.com
Fri Aug 15 15:37:09 BST 2008

Hey David! Thanks for your answer...

Nuke (the application I am using) is not using pyqt, but python and I am
starting the dialog through a python command.

Does the property u sent me end the main event loop? because it needs to be
stopped, otherwise I can't use the application, because it crashes while
doing something with the main event loop running.

Thx for the help!

David Boddie-4 wrote:
> On Thu Aug 14 23:14:22 BST 2008, andYpsilon wrote:
>> A)Yes I am using a QDialog, but not standard OK/Cancel Buttonset. But I
>> also tried this out. I tried the accepted/recected slots and the methods
>> quit() and close(). In every case it closes down the whole application
>> instead of only the dialog window. Theres also no error message, it
>> regularly closes the whole programm. That really sucks.
> Just to clarify, does the application itself use PyQt? Are you running a
> separate application to open the dialog in a subprocess?
> In the former case, setting this property to false might help you deal
> with
> the problem:
> http://doc.trolltech.com/4.4-snapshot/qapplication.html#quitOnLastWindowClosed-prop
> David
> _______________________________________________
> PyQt mailing list    PyQt at riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/pyqt

View this message in context: http://www.nabble.com/Using-PyQt-within-an-application-tp18988310p18999755.html
Sent from the PyQt mailing list archive at Nabble.com.

More information about the PyQt mailing list