[PyQt] how to open a gui module?

patx at patx.me patx at patx.me
Tue Mar 2 20:38:51 GMT 2010


I have coded a GUI, in a .py... It is called foo.py. Then in another GUI,
bar.py, I need to be able to open/display/execute foo.py. So basically I
need to use the following:

        self.connect(self.pb1, QtCore.SIGNAL('clicked()'),
            self.open_foo)

So self.pb1 would be a PushButton and self.open_foo would be the function
that would open foo.py.


How would I do this?

-- 
patx, patx.me
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20100302/1216218c/attachment.html>


More information about the PyQt mailing list