PyQt - multiple window instances?

Diez B. Roggisch deets at nospam.web.de
Fri Feb 24 14:55:16 EST 2006


gregarican schrieb:
> The window isn't being created as a new class instance or anything.

Yes it is. QWidget() creates a new instance of QWidget.

 > The
> main class is the application main window as a whole and this
> particular window is just part of that class. I have typed data into
> the window, then tried to open up a new window. But when I do the
> window where I have typed data disappears and is replaced by a new
> window that's blank. What's the easiest way to keep a reference to the
> old window?

By putting it into a list for example?


Diez



More information about the Python-list mailing list