[PyQt] Possible pyuic bug

Detlev Offenbach detlev at die-offenbachs.de
Sun Jul 20 16:18:44 BST 2008


Hi,

I think, pyuic4 has a bug handling QScrollArea. The generated code is missing 
a call to the QScrollArea method setWidget. This causes the widget contained 
in the QScrollArea to not resize properly. Attached is an example (from 
eric4) showing the problem. Uncommenting the line of the .py file produces 
correct behavior. I compared the pyuic4 output with uic output and that was 
the main difference.

Regards,
Detlev
-- 
Detlev Offenbach
detlev at die-offenbachs.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ConfigurationDialog.ui
Type: application/x-designer
Size: 5053 bytes
Desc: not available
Url : http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20080720/297f43f2/ConfigurationDialog.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Ui_ConfigurationDialog.py
Type: application/x-python
Size: 5356 bytes
Desc: not available
Url : http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20080720/297f43f2/Ui_ConfigurationDialog.bin


More information about the PyQt mailing list