[PyQt] Support for QFormLayout

Phil Thompson phil at riverbankcomputing.com
Tue May 27 18:39:58 BST 2008


On Monday 26 May 2008 7:17:21 pm Dror Levin wrote:
> Hi everybody,
>
>  This is my first post to this list so I apologize in advance if anything
> embarrassing happens ;)
>
>  To make a long story short, I found out earlier that the new QFormLayout
> introduced in Qt-4.4 was not supported by pyuic4-4.4.2. I'm sorry I cannot
> paste the exact traceback (all of this happened at work where I don't have
> internet access), but the error I got was NoSuchWidgetError from line 62 in
> objcreator.py.
>
>  I put together a tiny hack to overcome this, mimicking the behavior of uic
> for the specific ui file I had but I did not test it in a more complex
> situation. The ui file is not attached (same reason I couldn't get the
> traceback), but reproducing it is trivial. The patch is attached, hopefully
> someone will find it useful.
>
>  Thanks.

I had to make some changes, but it should be fixed in tonight's snapshot.

Thanks,
Phil


More information about the PyQt mailing list