[PyQt] QTableView selected item signals via QItemSelectionModel
frankel at circlesfx.com
Wed Nov 19 22:09:56 GMT 2008
Yes, thank you!
For the record, this works:
self.theSelectionModel = self.theView.selectionModel()
On Nov 19, 2008, at 1:29 PM, Andreas Pakulat wrote:
> On 19.11.08 12:56:59, Scott Frankel wrote:
>> What's the proper way to identify which row of a QTableView
>> instance a
>> user may have selected?
>> Pouring through the docs, and web searches, I think I've gotten
>> close by
>> listening for signals from a QItemSelectionModel instance. I'm still
>> missing something though, as my implementation isn't firing
>> "selectionChanged()" signals.
> Well, quite simple: The signal has two parameters, so you're connect
> didn't work. You always need to use the complete signature of the
> Chicken Little was right.
> PyQt mailing list PyQt at riverbankcomputing.com
More information about the PyQt