[Interest] QTreeView / QTableView row change
Clément Geiger
clement.geiger at gmail.com
Fri Nov 8 11:26:35 CET 2013
Hi,
So you mean, detect when the current row in a view is changed, not when the
row content in the model is changed.
Then you're looking for the currentChanged signal in QItemSelectionModel
(you can get the selection model from the view via
QAbstractItemView::selectionModel())
Cheers,
Clément
2013/11/8 Joseph W. Joshua <joshua at megvel.me.ke>
> Hi All,
>
> Is it possible to detect when a QTreeView / QTableView row is changed?
> An example is when the user changes the current row using keyboard
> navigation.
>
> Josh.
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20131108/cc0f5e34/attachment.html>
More information about the Interest
mailing list