Hi,
how can I catch a selectionChanged signal from a tableView? I tried:
QtCore.QObject.connect( self.tableView,
QtCore.SIGNAL('selectionChanged(const QItemSelection&,
const QItemSelection&)'),
self.selection_changed)
but selection_changed never gets called. I what that selection changed
is always called when the user changes the selection (ExtendedSelection).
QtCore.QObject.connect(self.tableView, QtCore.SIGNAL("activated(const
QModelIndex&)"), self.activated)
works though, but It just fires on double-clicks of a selection and is
just for one item. But I need the ExtendedSelection.
Any hints?
Cheers,
Bastian
_______________________________________________
PyQt mailing list [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt