[PyQt] (no subject)

2009-04-16 Thread Neil Birkbeck
In older versions of sip (4.7.3), I have used __setitem__, __getitem__ to access/set elements from multidimensional quantities of a wrapped c++ object that uses operator()(int,int). For example, the following sip code used to work fine class A { int operator()(int x,int y) const; int __get

Re: [PyQt] Creating PyQt4 bindings with SIP

2009-04-16 Thread Phil Thompson
On Thu, 16 Apr 2009 14:30:43 +0200, "NARCISO, Rui" wrote: > I have donwloaded a Qt4 widget from teh internet and I'm trying to create > the PyQt4 bindings for it. > > I created the SIP file: > %Module pictureflow 0 > > %Import QtCore/QtCoremod.sip > > class PictureFlow : QWidget > { > %TypeHea

Re: [PyQt] [PyQt 4.5] Freezing for emit signal

2009-04-16 Thread Alexandr N Zamaraev
Phil Thompson wrote: How do you know that connect works? I don't think it is being called. You can only define signals in sub-classes of QObject, not in mixins. I translate a great application PyQt 4.4 -> 4.5 and do not always have to monitor the situation, if the signal is initiated in the mixi