I am a newcomer to Qt too, and I had exactly the same issue with 
Windows+Python+Qt+Spider while trying to run the same zetcode tutorial 
example. I have no idea why it does not work as intended but replacing the 
handler in question QCoreApplication.instance().quit with self.close 
appears to work. I came up with this workaround after observing that the 
standard way to close the app window by clicking "x" button in the window 
title bar works as expected, and I assume that self.close() does something 
like that.

Still would be helpful to understand why quit() does not work as one would 
expect and what is the right way to quit this application in Spyder 
environment.

        qbtn.clicked.connect(QCoreApplication.instance().quit)
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"spyder" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/spyderlib.
For more options, visit https://groups.google.com/d/optout.

Reply via email to