Re: [PyKDE] SIP: unicode to wchar_t* in C modules

2006-03-29 Thread Giovanni Bajo
Phil Thompson <[EMAIL PROTECTED]> wrote: >> >> I'm having some trouble mapping a unicode Python variable to a C >> wchar_t* . I reused a MappedType directive that works flawlessy for a >> C++ module. > > %MappedTypes are for mapping classes and structs, not for basic > types. If it works in a C++

Re: [PyKDE] QStringList &QStringList::operator+=(const QString &) missing from PyQt?

2006-03-29 Thread Phil Thompson
On Thursday 30 March 2006 2:14 am, Nigel Stewart wrote: > > I noticed that operator+=(const QString &) doesn't work from > > Python, even though it is documented as part of the Qt 3.3 API > > Any chance of this being resolved in Sip 4.4.1 and PyQt 3.16.1? It will be in tonight's PyQt snapshot

Re: [PyKDE] QStringList &QStringList::operator+=(const QString &) missing from PyQt?

2006-03-29 Thread Nigel Stewart
I noticed that operator+=(const QString &) doesn't work from Python, even though it is documented as part of the Qt 3.3 API Any chance of this being resolved in Sip 4.4.1 and PyQt 3.16.1? Thanks, Nigel ___ PyKDE mailing listPyKDE@mats.imk

Re: [PyKDE] Eric3 user interface

2006-03-29 Thread Jürgen Urner
Detlev Offenbach wrote: x. Its a bit irritating in splitter layout having these docking windows popping one open and one close when I trigger a script. Nice to have the exception at hand, but a pain for the eyes. I would prefere the left and right panes just keeping the size I put th

Re: [PyKDE] Eric3 user interface

2006-03-29 Thread Detlev Offenbach
Am Mittwoch, 29. März 2006 00:05 schrieb Jürgen Urner: > Currently struggeling a bit with eric ide. > > I've noticed some rough edges wich might be not too hard to clear out > if not done already. > > The version I use is 3.7.0, so some of them may be alreaddy pronounced. > > x. Debug --> Run Scrip

Re: [PyKDE] Sip 4.4, PyQt 3.16 - sipSetBool not implemented?

2006-03-29 Thread Nigel Stewart
Is it my imagination, or is there no implementation of sipSetBool is Sip 4.4 or sip-snapshot-20060325? Oops, my mistake, it had moved to bool.cpp and our recycled Makefiles hadn't accounted for that. Apologies. Nigel ___ PyKDE mailing listPyK

Re: [PyKDE] SIP: unicode to wchar_t* in C modules

2006-03-29 Thread Phil Thompson
On Wednesday 29 March 2006 4:16 pm, Matteo Beniamino wrote: > Hi, > > I'm having some trouble mapping a unicode Python variable to a C > wchar_t* . I reused a MappedType directive that works flawlessy for a > C++ module. %MappedTypes are for mapping classes and structs, not for basic types. If it

[PyKDE] SIP: unicode to wchar_t* in C modules

2006-03-29 Thread Matteo Beniamino
Hi, I'm having some trouble mapping a unicode Python variable to a C wchar_t* . I reused a MappedType directive that works flawlessy for a C++ module. First problem: SIP generates .c files containing some C++ directives (i.e.: delete and reinterpret_cast<>). I patched gencode.c[1] to handle C mod

Re: [PyKDE] How To Publish a pyqt application

2006-03-29 Thread V. Armando Sole
Hi Phil, At 13:49 29/03/2006 +, Phil Thompson wrote: On Wednesday 29 March 2006 2:20 pm, V. Armando Sole wrote: > If you use a commercial version of Qt, you will have to use the VendorID > package (available from Riverbank) and build a signed version of cx_freeze. > If you use PyQt4 you will

Re: [PyKDE] How To Publish a pyqt application

2006-03-29 Thread Phil Thompson
On Wednesday 29 March 2006 2:20 pm, V. Armando Sole wrote: > If you use a commercial version of Qt, you will have to use the VendorID > package (available from Riverbank) and build a signed version of cx_freeze. > If you use PyQt4 you will not have that problem. If you need to use VendorID with Py

Re: [PyKDE] How To Publish a pyqt application

2006-03-29 Thread V. Armando Sole
At 11:11 29/03/2006 +0200, [EMAIL PROTECTED] wrote: The equivalent in my case would be: cx_freeze -O --install-dir=whatever --include-modules=sip MyApp.py and I need to add the tk, tcl, qt and readline libraries. Hello yesterday i have tried cx-freeze . and it works well (thank you) my comma

Re: [PyKDE] PyQt4: setPaletteBackgroundColor

2006-03-29 Thread David Boddie
On Wed Mar 29 02:19:36, Patrick Stinson wrote: > this is interestin because the palette still doesn't propogate to > the widgets' children. > > """ > A common base class for all pk widgets. > """ > > from PyQt4.QtGui import QFrame, QPalette > > > class PKWidget(QFrame): > """

Re: [PyKDE] PyQt3: bitBlt for QImage?

2006-03-29 Thread Phil Thompson
On Wednesday 29 March 2006 10:55 am, Giovanni Bajo wrote: > Phil, > > the documentation of PyQt3 describes a bitBlt() function overload which > works on QImages. Grepping the .sip files revealed that PyQt3 implements > only the QPaintDevice version of bitBlt(). Any reason for this? No reason - it

[PyKDE] PyQt3: bitBlt for QImage?

2006-03-29 Thread Giovanni Bajo
Phil, the documentation of PyQt3 describes a bitBlt() function overload which works on QImages. Grepping the .sip files revealed that PyQt3 implements only the QPaintDevice version of bitBlt(). Any reason for this? Thanks -- Giovanni Bajo ___ PyKDE ma

Re: [PyKDE] Bug in Sip 4.4 and snapshot-2006-03-25 sipgen/gencode.c

2006-03-29 Thread Phil Thompson
On Wednesday 29 March 2006 12:26 am, Nigel Stewart wrote: > Lines 8231-8235 > > > prcode(fp,",sipMappedType_%T,%s);\n" > > , ad, (isTransferredBack(ad) ? "Py_None" : "NULL")); > > > > prcode(fp,");\n" > > ); > > It appears that the clo

Re: [PyKDE] Sip 4.4, PyQt 3.16 - sipSetBool not implemented?

2006-03-29 Thread Phil Thompson
On Wednesday 29 March 2006 2:20 am, Nigel Stewart wrote: > Hi all, > > Is it my imagination, or is there no implementation of sipSetBool > is Sip 4.4 or sip-snapshot-20060325? > > Is this Sip's way of punishing us for statically linking our > sip-generated bindings into the program? :-) No problem