Re: [PyKDE] still a problem with protected static member functions

2006-03-05 Thread Phil Thompson
On Sunday 05 March 2006 5:27 am, Gerard Vermeulen wrote: > Hi Phil, > > SIP-4.3 (snapshot-20060304) has still a problem with protected static > member functions in the sense that it does not generate all include > statements in the C++ source files (and maybe a deeper problem -- see end > of mail).

[PyKDE] PyQt4, my approach was wrong before or now?

2006-03-05 Thread V. Armando Sole
Hi! In order to be able to use the same code with PyQt3 and PyQt4, I had written a small Qt4.py wrapper to simplify simple cases. from PyQt4.QtCore import * from PyQt4.QtGui import * QIconSet = QIcon QWMatrix = QMatrix print "Qt.Vertical = ", Qt.Vertical print "QSplitter = ", QSplitter QSpl

[PyKDE] Problem with PyQt4 and Qt 4.1.1

2006-03-05 Thread Detlev Offenbach
Hi, with Qt 4.1.1 Trolltech changed the signature for QFileDialog.getExistingDirectory. The options parameter has a default value of ShowDirsOnly. I need to open a file dialog, that shows the contents of the directory as well. I tried it with the value 0 for options and with QFileDialog.Option

Re: [PyKDE] Problem with PyQt4 and Qt 4.1.1

2006-03-05 Thread Phil Thompson
On Sunday 05 March 2006 2:16 pm, Detlev Offenbach wrote: > Hi, > > with Qt 4.1.1 Trolltech changed the signature for > QFileDialog.getExistingDirectory. The options parameter has a default value > of ShowDirsOnly. I need to open a file dialog, that shows the contents of > the directory as well. I t

[PyKDE] Re: PyQt4, my approach was wrong before or now?

2006-03-05 Thread Gerard Vermeulen
On Sun, 05 Mar 2006 14:41:10 +0100 "V. Armando Sole" <[EMAIL PROTECTED]> wrote: > Hi! > > In order to be able to use the same code with PyQt3 and PyQt4, I had > written a small Qt4.py wrapper to simplify simple cases. > > from PyQt4.QtCore import * > from PyQt4.QtGui import * There are two na

Re: [PyKDE] Re: PyQt4, my approach was wrong before or now?

2006-03-05 Thread Phil Thompson
On Sunday 05 March 2006 2:29 pm, Gerard Vermeulen wrote: > On Sun, 05 Mar 2006 14:41:10 +0100 > > "V. Armando Sole" <[EMAIL PROTECTED]> wrote: > > Hi! > > > > In order to be able to use the same code with PyQt3 and PyQt4, I had > > written a small Qt4.py wrapper to simplify simple cases. > > > > f

Re: [PyKDE] PyQt4, my approach was wrong before or now?

2006-03-05 Thread Andreas Pakulat
On 05.03.06 14:41:10, V. Armando Sole wrote: > from PyQt4.QtCore import * > from PyQt4.QtGui import * > My problem is the above code was working till the 20060218 snapshot > inclusive. > However, later snapshots do not allow it giving an error about Vertical not > being an attribute of Qt. My q

Re: [PyKDE] PyQt4, my approach was wrong before or now?

2006-03-05 Thread sole
Quoting Gerard Vermeulen <[EMAIL PROTECTED]>: > On Sun, 05 Mar 2006 14:41:10 +0100 > "V. Armando Sole" <[EMAIL PROTECTED]> wrote: > > > Hi! > > > > In order to be able to use the same code with PyQt3 and PyQt4, I had > > written a small Qt4.py wrapper to simplify simple cases. > > > > from Py

Re: [PyKDE] PyQt4, my approach was wrong before or now?

2006-03-05 Thread Phil Thompson
On Sunday 05 March 2006 2:42 pm, [EMAIL PROTECTED] wrote: > Quoting Gerard Vermeulen <[EMAIL PROTECTED]>: > > On Sun, 05 Mar 2006 14:41:10 +0100 > > > > "V. Armando Sole" <[EMAIL PROTECTED]> wrote: > > > Hi! > > > > > > In order to be able to use the same code with PyQt3 and PyQt4, I had > > > writ

Re: [PyKDE] Problem with PyQt4 and Qt 4.1.1

2006-03-05 Thread Detlev Offenbach
Am Sonntag, 5. März 2006 15:31 schrieb Phil Thompson: > On Sunday 05 March 2006 2:16 pm, Detlev Offenbach wrote: > > Hi, > > > > with Qt 4.1.1 Trolltech changed the signature for > > QFileDialog.getExistingDirectory. The options parameter has a default > > value of ShowDirsOnly. I need to open a fi

[PyKDE] fix for abstract classes with %ConvertToSubClassCode

2006-03-05 Thread Gerard Vermeulen
Phil, I have abstract classes with %ConvertToSubClassCode which SIP-20060304 does not handle. The following patch seems to work: $ gendiff sip-snapshot-20060304 .sub --- sip-snapshot-20060304/sipgen/gencode.c.sub 2006-03-05 17:02:38.0 +0100 +++ sip-snapshot-20060304/sipgen/gencode.c

Re: [PyKDE] PyQt4, my approach was wrong before or now?

2006-03-05 Thread sole
Quoting Phil Thompson <[EMAIL PROTECTED]>: > On Sunday 05 March 2006 2:42 pm, [EMAIL PROTECTED] wrote: > > Quoting Gerard Vermeulen <[EMAIL PROTECTED]>: > > > On Sun, 05 Mar 2006 14:41:10 +0100 > > > > > > "V. Armando Sole" <[EMAIL PROTECTED]> wrote: > > > > Hi! > > > > > > > > In order to be able

Re: [PyKDE] PyQt4 QStringList

2006-03-05 Thread Phil Thompson
On Saturday 14 January 2006 8:56 pm, Doug Bell wrote: > Hi, > > I've noticed that the use of QStringList is more common in Qt4. But > using the C++ stream operators to initialize a it doesn't seem very > Pythonic. > > Would it be possible to allow the QStringList constructor to > automatically con

[PyKDE] X11Info

2006-03-05 Thread Emanuele Santos
Hi Phil and others Is there anyway to extract X11 info with PyQt? Qt has a QX11Info but I couldn't find its wrapping anywhere in PyQt. In fact, I just need a way to get _X11Display of a QWidget. Thanks Emanuele. ___ PyKDE mailing listPyKDE@ma

[PyKDE] QListWidget Designer bug

2006-03-05 Thread Sreeram Kandallu
i'm using Qt4.1.1 and PyQt4 20060226, and if i set the 'wrapping' property in Designer for a QListWidget, then the pyuic generated code contains: listWidget.setIsWrapping( True ) This causes an AttributeError as the correct method to use would be: listWidget.setWrapping( True ). Not sure if this