Thanks a lot . It make it works :)

On Fri, Aug 17, 2012 at 4:25 PM, Vincent Vande Vyvre <
vincent.vandevy...@swing.be> wrote:

> On 16/08/12 22:56, uahmed wrote:
> > Hi
> >
> > I am dealing with 2 windows . One is created by Qt Designer and i
> > import it on test.py program . what i did i make a Widget on the test
> > program and than add a button to it and on click event I try to popup
> > the other window(gui1.py) created by Qt Designer but it never pop ups
> > and when i use break and do line by line debugging it shows me this
> > message after running this command "myapp2 = MyForm()" on line number
> > 35 test.py .
> >
> > QCoreApplication::exec: The event loop is already running
> >
> > and once i pressed enter on the terminal it pop up the other window .
> >
> > I am confuse where i am wrong .
> >
> > Thanks
> >
> > Ahmed
> >
> >
> > _______________________________________________
> > PyQt mailing list    PyQt@riverbankcomputing.com
> > http://www.riverbankcomputing.com/mailman/listinfo/pyqt
> You must keep a reference of your second window.
>
>         self.myapp2 = MyForm()
>         self.myapp2.show()
>
> --
> Vincent V.V.
> Oqapy <https://launchpad.net/oqapy> . Qarte
> <https://launchpad.net/qarte> . PaQager <https://launchpad.net/paqager>
>
> _______________________________________________
> PyQt mailing list    PyQt@riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/pyqt
>
_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to