Re: [PyQt] pyuic4 doesn't handle qlistwidgets

2008-06-03 Thread Phil Thompson
On Monday 02 June 2008 11:06:54 pm Kovid Goyal wrote: Well, I found the time to generate a simple test case (using today's snapshot of PyQt4). The .ui file is attached. Running pyuic4 on it produces the erroneous code. In particular, the icon for the list widget is a local variable initialized

Re: [PyQt] pyuic4 doesn't handle qlistwidgets

2008-06-02 Thread Kovid Goyal
Well, I found the time to generate a simple test case (using today's snapshot of PyQt4). The .ui file is attached. Running pyuic4 on it produces the erroneous code. In particular, the icon for the list widget is a local variable initialized in the setupUI function, but used in the

Re: [PyQt] pyuic4 doesn't handle qlistwidgets

2008-05-24 Thread Andreas Pakulat
On 24.05.08 10:54:32, Kovid Goyal wrote: Hi Phil, Another pyuic4 (Python User Interface Compiler 4.4.2 for Qt version 4.4.0) bug. It generates invalid .py files from .ui files that contain qlistwidgets with icons. See attached example. In particular, the code in retranslateUI is broken

Re: [PyQt] pyuic4 doesn't handle qlistwidgets

2008-05-24 Thread Kovid Goyal
I pointed out exactly where the problem in the code is. The first 5 lines of retranslateUI(). I don't have the time to mess around creating a minimal ui file that reproduces the problem. The ui file I attached worked in 4.3.x and not in 4.4.2, which indicates a bug in pyuic4 from 4.4.2 Kovid.

Re: [PyQt] pyuic4 doesn't handle qlistwidgets

2008-05-24 Thread Phil Thompson
On Saturday 24 May 2008 6:54:32 pm Kovid Goyal wrote: Hi Phil, Another pyuic4 (Python User Interface Compiler 4.4.2 for Qt version 4.4.0) bug. It generates invalid .py files from .ui files that contain qlistwidgets with icons. See attached example. In particular, the code in retranslateUI is