Re: [PyKDE] pysignals and Py_DECREF

2006-05-25 Thread Patrick Stinson
On 5/25/06, Phil Thompson <[EMAIL PROTECTED]> wrote: On Monday 22 May 2006 3:38 am, Patrick Stinson wrote: > I am trying to disconnect all of the signals that I connected to a > QObject in order to ensure that it is deleted. The following program > prints "Object::disconnect: No such signal QObje

Re: [PyKDE] pysignals and Py_DECREF

2006-05-25 Thread Phil Thompson
On Monday 22 May 2006 3:38 am, Patrick Stinson wrote: > I am trying to disconnect all of the signals that I connected to a > QObject in order to ensure that it is deleted. The following program > prints "Object::disconnect: No such signal QObject::bleh(QObject*)" if > I uncomment the disconnect lin

Re: [PyKDE] pyuic4 generates invalid code for showDropIndicator

2006-05-25 Thread Torsten Marek
Tomi Kyöstilä wrote: > Hi! > > When I set the showDropIndicator property to true for a QTreeView in Qt > Designer, pyuic4 generates the code > self.feedTreeView.setShowDropIndicator(True). There's no such method as > setShowDropIndicator. It should be setDropIndicatorShown(True). The C++ > code th

[PyKDE] pyuic4 generates invalid code for showDropIndicator

2006-05-25 Thread Tomi Kyöstilä
Hi! When I set the showDropIndicator property to true for a QTreeView in Qt Designer, pyuic4 generates the code self.feedTreeView.setShowDropIndicator(True). There's no such method as setShowDropIndicator. It should be setDropIndicatorShown(True). The C++ code that uic generates uses feedTre

Re: [PyKDE] Creating transparent QPixmaps

2006-05-25 Thread David Boddie
On Wed May 24 14:06:12 MEST, Alexander Borghgraef wrote: > I was wondering, how can you create a QPixmap with a transparent > background? In Qt4, you can create a pixmap with the dimensions you need and fill it with a transparent color: pixmap = QPixmap(width, height) pixmap.fill(QColor(0,

[PyKDE] DCOP problem

2006-05-25 Thread Michał Woźniak
Hi there, guys Got a strange issue here: trying to have my Python script open a new KMail's Composer window through DCOP, but I can't seem to be able to call the appropriate function. Now, from shell, everything works great: dcop kontact KMailIface openComposer to cc bcc subject body False open

[PyKDE] Re: Q___Style wrapper

2006-05-25 Thread Mike Rovner
Mike Rovner wrote: Phil Thompson wrote: On Monday 15 May 2006 10:21 pm, Mike Rovner wrote: Phil Thompson wrote: Crash is gone, but surprisingly my style stop working. My style inherits WindowsStyle and it was working before, but now it just shows windows style. :( The fix for the crash won't

Re: [PyKDE] suggestion for configure.py in PyQt-4.0beta1

2006-05-25 Thread Glen W. Mabey
phil at riverbankcomputing.co.uk wrote: > On Wednesday 24 May 2006 7:04 pm, Glen W. Mabey wrote: > > When employing the -d and -v flags, does the following seem reasonable? > > It makes it so that some pretty standard operations have a better chance > > of succeeding, like `import pyqtconfig'. > >

Re: [PyKDE] resize rows in eric3 variable windows

2006-05-25 Thread Andreas Pakulat
On 25.05.06 12:24:09, Andreas Pakulat wrote: > On 25.05.06 07:43:21, Detlev Offenbach wrote: > > Am Mittwoch, 24. Mai 2006 21:08 schrieb Andreas Pakulat: > > > Hi, > > > > > > is there maybe a way to get resizable rows for the variable windows in > > > eric3? I tend to have multiline text pretty of

Re: [PyKDE] resize rows in eric3 variable windows

2006-05-25 Thread Andreas Pakulat
On 25.05.06 07:43:21, Detlev Offenbach wrote: > Am Mittwoch, 24. Mai 2006 21:08 schrieb Andreas Pakulat: > > Hi, > > > > is there maybe a way to get resizable rows for the variable windows in > > eric3? I tend to have multiline text pretty often atm and I can't have a > > quick look because the onl

Re: [PyKDE] QModelIndex and PyQT

2006-05-25 Thread Phil Thompson
On Wednesday 24 May 2006 10:39 pm, Allen Bierbaum wrote: > I apologize if this has been discussed here before, I searched the > mailing list and didn't find anything. > > I am beginning to use PyQT4 and I have run into some major headaches > trying to use QModelIndex. The problem stems from the fa

Re: [PyKDE] QModelIndex and PyQT

2006-05-25 Thread Andreas Pakulat
On 24.05.06 19:38:36, Allen Bierbaum wrote: > On 5/24/06, Andreas Pakulat <[EMAIL PROTECTED]> wrote: > >I don't see why using internalPointer is easier than using internalId. > >IMHO it doesn't matter much wether you do > > > >item = static_cast(index.internalPointer()) > >or > >item = self.obj_dic

Re: [PyKDE] import sip module with C++ namespace

2006-05-25 Thread Phil Thompson
On Thursday 25 May 2006 1:59 am, Zilin Du wrote: > hi, I have an question about import SIP module with C++ namespace: > > for example, I wrote the following sip file: > > %module Word > namespace N1 { >namespace N2 { > class A { > ... > }; >}; > }; > > after built up, if