[PyQt] Issue with pyqtSlot(QModelIndex, QModelIndex)
Sybren A. Stüvel
sybren at stuvel.eu
Tue Jul 27 06:53:15 BST 2010
On Tue, Jul 27, 2010 at 06:12:23AM +0200, Sybren A. Stüvel wrote:
> smodel = self.resultsView.selectionModel()
> smodel.currentChanged.connect(self.on_change)
PS: This does work in concert with the @QtCore.pyqtSignal(...) decorator:
QtCore.QObject.connect(smodel,
QtCore.SIGNAL('currentChanged(QModelIndex,QModelIndex)'),
self.on_changed)
--
Sybren Stüvel
http://stuvel.eu/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20100727/0bf40d97/attachment.pgp>
More information about the PyQt
mailing list