[PyQt] setItemDelegateForColumn(...) not setting properly?

2011-02-06 Thread Kurt Schwarz
I'm not sure if this is a bug or I'm just doing it wrong. If you use setItemDelegateForColumn on multiple columns only the last assigned delegate will actually be called. I have only run this code on PyQt 4.8.2. Example: import sys from PyQt4 import QtCore, QtGui class TestWidget(QtGui.QWidget):

Re: [PyQt] [SIP] compilation error with namespace

2011-02-06 Thread Phil Thompson
On Sun, 6 Feb 2011 21:06:49 +0100, Kermit wrote: > hi, > > i've a problem with a simple Sip compilation ( and my first tentative ) > > a simple class: > > //__ > #ifndef Vector_h__ > #define Vector_h__ > > namespace KitCG > { > > class Vec2 > { > public: > //--

Re: [PyQt] BUG: sip instance attribute error: Re: [eric4] python qscintilla traceback with current snapshot also

2011-02-06 Thread Hans-Peter Jansen
Dear Erik, On Sunday 06 February 2011, 21:08:26 e...@eebrown.com wrote: > All, > >   Thanks for the help.  I had given up on Eric4 this morning and was > working through some PyQt examples to get a better feel for this > package.  I've been using SPE (Stani's Python Editor) which is okay > but was

[PyQt] [SIP] compilation error with namespace

2011-02-06 Thread Kermit
hi, i've a problem with a simple Sip compilation ( and my first tentative ) a simple class: //__ #ifndef Vector_h__ #define Vector_h__ namespace KitCG { class Vec2 { public: //--- // Access to elements //--- float x; float y; /

Re: [PyQt] BUG: sip instance attribute error: Re: [eric4] python qscintilla traceback with current snapshot also

2011-02-06 Thread Hans-Peter Jansen
On Sunday 06 February 2011, 16:40:41 Phil Thompson wrote: > On Sun, 6 Feb 2011 15:49:59 +0100, "Hans-Peter Jansen" > > > wrote: > > > > # derive from a sip wrapped class > > class C(QtCore.QObject): > > def __init__(self): > > super(C, self).__init__() > > # access a non existi

Re: [PyQt] QGrahics / textItemSize

2011-02-06 Thread Philippe Crave
Thanks for testing ! I attach a new code with Arial (maybe you're under windows) and a new png. this time, I also draw a rectangle. 200x40px, red. you can check that the scene produced my the pyqt code gives a rectangle like the one in the png. I did it in inkscape. a 200x40px red rect. but for

Re: [PyQt] BUG: sip instance attribute error: Re: [eric4] python qscintilla traceback with current snapshot also

2011-02-06 Thread Phil Thompson
On Sun, 6 Feb 2011 15:49:59 +0100, "Hans-Peter Jansen" wrote: > On Thursday 03 February 2011, 11:02:32 Phil Thompson wrote: >> On Thu, 3 Feb 2011 00:42:05 +0100, "Hans-Peter Jansen" >> >> >> > Other than that, I'm pretty baffled at the moment. How could I >> > debug this issue any further? If I'm

Re: [PyQt] BUG: sip instance attribute error: Re: [eric4] python qscintilla traceback with current snapshot also

2011-02-06 Thread Detlev Offenbach
On Sonntag, 6. Februar 2011, Hans-Peter Jansen wrote: > On Sunday 06 February 2011, 15:49:19 Detlev Offenbach wrote: > > On Sonntag, 6. Februar 2011, Hans-Peter Jansen wrote: > > > Dear Erik, > > > > > > On Sunday 06 February 2011, 05:19:54 e...@eebrown.com wrote: > > > > Mr. Jansen, > > > > > >

Re: [PyQt] BUG: sip instance attribute error: Re: [eric4] python qscintilla traceback with current snapshot also

2011-02-06 Thread Hans-Peter Jansen
On Sunday 06 February 2011, 15:49:19 Detlev Offenbach wrote: > On Sonntag, 6. Februar 2011, Hans-Peter Jansen wrote: > > Dear Erik, > > > > On Sunday 06 February 2011, 05:19:54 e...@eebrown.com wrote: > > > Mr. Jansen, > > > > > > I noticed your messages on this subject, and wonder if you > > > f

Re: [PyQt] BUG: sip instance attribute error: Re: [eric4] python qscintilla traceback with current snapshot also

2011-02-06 Thread Hans-Peter Jansen
On Thursday 03 February 2011, 11:02:32 Phil Thompson wrote: > On Thu, 3 Feb 2011 00:42:05 +0100, "Hans-Peter Jansen" > > > > Other than that, I'm pretty baffled at the moment. How could I > > debug this issue any further? If I'm going to try bisecting it, > > would you think, that rebuilding sip i

Re: [PyQt] BUG: sip instance attribute error: Re: [eric4] python qscintilla traceback with current snapshot also

2011-02-06 Thread Detlev Offenbach
On Sonntag, 6. Februar 2011, Hans-Peter Jansen wrote: > Dear Erik, > > On Sunday 06 February 2011, 05:19:54 e...@eebrown.com wrote: > > Mr. Jansen, > > > > I noticed your messages on this subject, and wonder if you found a > > resolution to this problem? > > I was able to track the issue down

Re: [PyQt] BUG: sip instance attribute error: Re: [eric4] python qscintilla traceback with current snapshot also

2011-02-06 Thread Hans-Peter Jansen
Dear Erik, On Sunday 06 February 2011, 05:19:54 e...@eebrown.com wrote: > Mr. Jansen, > >   I noticed your messages on this subject, and wonder if you found a > resolution to this problem?  I was able to track the issue down to this, and this message contains a temporary workaround to eric: ht

[PyQt] ANN: eric 4.4.12 released

2011-02-06 Thread detlev
Hi, I just uploaded eric 4.4.12. It is a maintenance release fixing some bugs. It is available via the eric web site. http://eric-ide.python-projects.org/index.html Regards, Detlev -- Detlev Offenbach det...@die-offenbachs.de ___ PyQt mailing list