[PyQt] launch a dialog from main window

Paolo Franzetti paolo at lambrate.inaf.it
Fri Jun 6 15:47:19 BST 2008


Hi.

I am a novice of Qt and PyQt and I am stuck on a (probably)
very simple problem.

I created two .ui files for two windows using the Qt Designer
and I converted them into .py modules with pyuic4

I wrote the program.py code to launch the main window using
the main.py module. Clicking on the 'VIEW DATA' button I launch the
viewer.py window, but then the main window is freeze.

How can I do this job without blocking the main window ?

Thank you very much for any help,
Paolo Franzetti
-------------- next part --------------
A non-text attachment was scrubbed...
Name: main.py
Type: text/x-python
Size: 2291 bytes
Desc: not available
Url : http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20080606/770e7e1a/main.py
-------------- next part --------------
A non-text attachment was scrubbed...
Name: program.py
Type: text/x-python
Size: 652 bytes
Desc: not available
Url : http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20080606/770e7e1a/program.py
-------------- next part --------------
A non-text attachment was scrubbed...
Name: viewer.py
Type: text/x-python
Size: 1303 bytes
Desc: not available
Url : http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20080606/770e7e1a/viewer.py


More information about the PyQt mailing list