[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyQt] custom widgets again
From:       Phil Thompson <phil () riverbankcomputing ! co ! uk>
Date:       2008-01-15 15:29:36
Message-ID: 200801151529.36345.phil () riverbankcomputing ! co ! uk
[Download RAW message or body]

On Tuesday 15 January 2008, Martin Höfling wrote:
> 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?

Well there are problems with the size (maybe the size policy) as it is 0 until 
it is part of a layout.

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

I set the environment variables.

> martin@orthanc:~$ export
> PYQTDESIGNERPATH=/home/martin/code/pymdGUI/Widgets/plugins/;
> PYTHONPATH=/home/martin/code/pymdGUI/ ;
> martin@orthanc:~$ designer-qt4
> ASSERT: "r.isValid()" in file ../formeditor/formwindow.cpp, line 962
> Aborted (core dumped)
>
> martin@orthanc:~$ apt-cache showpkg qt4-designer
> Package: qt4-designer
> Versions:
> 4.3.2-0ubuntu3.1

Phil

_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic