PyQt - multiple window instances?
gregarican
greg.kujawa at gmail.com
Fri Feb 24 15:05:17 EST 2006
Diez B. Roggisch wrote:
> > 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
Perfect! Thanks for the tip. That worked perfectly.
More information about the Python-list
mailing list