[PyQt] QWidget invalid layout

Torgny Nyblom torgny.nyblom at ericsson.com
Thu Apr 17 11:46:02 BST 2008


Hi,
 
I'm having some problems with PyQt4. I'm trying to make a QWidget window
but when I run the generated code I get a window with all child widgets
in the top left corner stacked onto of each other (see attached
PyQt-4.3.3.jpg). The child widgets also does not resize.
The form is correctly displayed in QtDesigner and the same behaviour is
seen both under Windows (2000) an d Linux, both using Qt-4.3.

Does anyone know what I'm doing wrong?


/BR
Torgny Nyblom


-------------- next part --------------
A non-text attachment was scrubbed...
Name: MyApp.py
Type: application/octet-stream
Size: 1841 bytes
Desc: MyApp.py
Url : http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20080417/168a9ec5/MyApp-0001.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: main.py
Type: application/octet-stream
Size: 663 bytes
Desc: main.py
Url : http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20080417/168a9ec5/main-0001.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: form3.ui
Type: application/octet-stream
Size: 909 bytes
Desc: form3.ui
Url : http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20080417/168a9ec5/form3-0001.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PyQt-4.3.3.jpg
Type: image/jpeg
Size: 5559 bytes
Desc: PyQt-4.3.3.jpg
Url : http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20080417/168a9ec5/PyQt-4.3.3-0001.jpg


More information about the PyQt mailing list