On Tuesday 06 May 2008, Catriona Johnson wrote: > Hi Phil > I was just playing with the examples in Mark Summerfield's book on > @pyqtSignature and was wondering how signals/slots other than those > for buttons etc might be written. I was having trouble with this > QTableView example.
As I said, I don't understand the question. You don't need to use pyqtSignature() to make a connection to a method. Why do you think you need to use pyqtSignature()? Phil > Thanks > > > Message: 4 > > Date: Thu, 1 May 2008 13:08:49 +0100 > > From: Phil Thompson <[EMAIL PROTECTED]> > > Subject: Re: [PyQt] pyqtSignature question > > To: pyqt@riverbankcomputing.com > > Message-ID: <[EMAIL PROTECTED]> > > Content-Type: text/plain; charset="iso-8859-1" > > > > On Thursday 01 May 2008, Catriona Johnson wrote: > > > Hello > > > I have a signal/slot connection which I want to express with > > > @pyqtSignature syntax but am not sure how to do it. > > > > > > self.connect(self.myView.selectionModel(), > > > SIGNAL("currentRowChanged(QModelIndex,QModelIndex)"), self.changed) > > > > > > Any help appreciated. > > > > I don't understand the question. You don't use the signature to make the > > connection. You use it to associate a C++ signature with a Python method. > > That's not required here. > > > > Phil > > _______________________________________________ > PyQt mailing list PyQt@riverbankcomputing.com > http://www.riverbankcomputing.com/mailman/listinfo/pyqt _______________________________________________ PyQt mailing list PyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt