Re: [PyQt] Issue with pyuic of latest snapshot

2010-10-13 Thread Phil Thompson
On Wed, 13 Oct 2010 21:40:30 +0200, Detlev Offenbach wrote: > Hi, > > compiling the eric5 UI files raised the following issue. > > File "/usr/lib64/python3.1/site-packages/PyQt4/uic/__init__.py", line > 98, in > compileUiDir > compile_ui(root, ui) > File "/usr/lib64/python3.1/site-pack

Re: [PyQt] Python Commander in PyQt?

2010-10-13 Thread Glenn Linderman
An off-group response caused me to realize that my original posting wasn't clear on the environment in which I am working, nor my "real" problem, but rather one step removed from that. It is easy to fall into the trap of asking for what you think you want, based on one's own limited knowledge

Re: [PyQt] QMdiArea persistence issue with closed windows

2010-10-13 Thread Hans-Peter Jansen
On Wednesday 13 October 2010, 21:30:08 Phil Thompson wrote: > On Wed, 13 Oct 2010 15:44:58 +0200, "Hans-Peter Jansen" > > > wrote: > > Hi Phil, > > > > while looking at dynamic resizing widgets on irc, David Boddie > > created a > > > > small script, that I improved a little bit, which shows a sma

Re: [PyQt] Observations with nesting-level: Performance of QTreeView

2010-10-13 Thread Knacktus
Am 10.10.2010 23:28, schrieb Baz Walter: On 10/10/10 18:39, Knacktus wrote: Those results are very interesting! Thanks. Just to confirm: You had 5000 items and to expand the whole tree took only 0.67 seconds? Also, only 1 call to parent(). Now, that makes my wonder and hope. The main differences

[PyQt] Issue with pyuic of latest snapshot

2010-10-13 Thread Detlev Offenbach
Hi, compiling the eric5 UI files raised the following issue. File "/usr/lib64/python3.1/site-packages/PyQt4/uic/__init__.py", line 98, in compileUiDir compile_ui(root, ui) File "/usr/lib64/python3.1/site-packages/PyQt4/uic/__init__.py", line 90, in compile_ui compileUi(ui_file, py_f

Re: [PyQt] QMdiArea persistence issue with closed windows

2010-10-13 Thread Phil Thompson
On Wed, 13 Oct 2010 15:44:58 +0200, "Hans-Peter Jansen" wrote: > Hi Phil, > > while looking at dynamic resizing widgets on irc, David Boddie created a > small script, that I improved a little bit, which shows a small bug > with mdi windows. According to the doc of QMdiArea::addSubWindow, > clo

Re: [PyQt] Next PyQt and SIP Releases

2010-10-13 Thread Phil Thompson
On Wed, 13 Oct 2010 11:50:21 -0400, Darren Dale wrote: > On Tue, Oct 12, 2010 at 8:12 AM, Phil Thompson > wrote: >> The current PyQt and SIP snapshots can be considered release candidates. >> Now is a good time to check them against your favorite applications. > > I just installed qt-4.7 on snow

Re: [PyQt] Next PyQt and SIP Releases

2010-10-13 Thread Darren Dale
On Tue, Oct 12, 2010 at 8:12 AM, Phil Thompson wrote: > The current PyQt and SIP snapshots can be considered release candidates. > Now is a good time to check them against your favorite applications. I just installed qt-4.7 on snow leopard, using macports (using a custom portfile with very minor

Re: [PyQt] how to close editor in QTreeView

2010-10-13 Thread danny
> Either try using QAbstractItemView.closePersistentEditor() or, if you > need custom editors, create your own with a QStyledItemDelegate > subclass, where you have full control (including the widget, that > you're missing). > > Pete Thanks for you response. What you suggested put me on the c

[PyQt] QMdiArea persistence issue with closed windows

2010-10-13 Thread Hans-Peter Jansen
Hi Phil, while looking at dynamic resizing widgets on irc, David Boddie created a small script, that I improved a little bit, which shows a small bug with mdi windows. According to the doc of QMdiArea::addSubWindow, closing windows should stay hidden, but if you close the mdi window, and adds

Re: [PyQt] Possible bug in QReadLocker and Python 2.7

2010-10-13 Thread Daniele Esposti
Thank you Phil, just my 2 cents On 12 October 2010 22:45, Phil Thompson wrote: > On Tue, 12 Oct 2010 15:50:21 +0100, Daniele Esposti > wrote: >> Running the attached test under Python 2.7 raises an attribute error: >> >> Traceback (most recent call last): >>   File "locker.py", line 11, in >>