Switching windows in PyQT

Дамјан Георгиевски gdamjan at gmail.com
Wed Dec 3 15:12:13 EST 2008


> I am new to PyQT and GUI programming in general. What tutorials I have
> found are relatively clear on standard operations within a single
> window (QtGui.QWidget or QtGui.QMainWindow). Exiting this window exits
> the overall application.
> 
> How would I switch between windows, that is close one and open
> another, within a running application. I would imagine this to be a
> standard feature often coded.

most often you don't close windows but hide them.

Still, the app object has a property quitOnLastWindowClosed that you can
set to false.


-- 
дамјан ( http://softver.org.mk/damjan/ )

Q: What's tiny and yellow and very, very, dangerous?
A: A canary with the super-user password.



More information about the Python-list mailing list