[PyQt] custom widgets again

Martin Höfling martin.hoefling at gmx.de
Tue Jan 15 14:08:30 GMT 2008


Am Dienstag, 15. Januar 2008 schrieb Phil Thompson:

> Works fine for me, though you may want to give your widget an initial size.

Isn't the initial size already set in the "compiled" UI file?

Did you copy it in your plugins folder / python path or also set the 
variables?

martin at orthanc:~$ export 
PYQTDESIGNERPATH=/home/martin/code/pymdGUI/Widgets/plugins/; 
PYTHONPATH=/home/martin/code/pymdGUI/ ;
martin at orthanc:~$ designer-qt4
ASSERT: "r.isValid()" in file ../formeditor/formwindow.cpp, line 962
Aborted (core dumped)

martin at orthanc:~$ apt-cache showpkg qt4-designer
Package: qt4-designer
Versions:
4.3.2-0ubuntu3.1


Martin


More information about the PyQt mailing list