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/

Attachment: signature.asc
Description: Digital signature

_______________________________________________
PyQt mailing list    [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to