[PyQt] pyqtSignature question
Phil Thompson
phil at riverbankcomputing.com
Thu May 1 13:08:49 BST 2008
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
More information about the PyQt
mailing list