pyqt  

Re: [PyQt] pyqtSignature question

Phil Thompson
Thu, 01 May 2008 05:20:19 -0700

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