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@qt-project.org
Of
Joseph W. Joshua
Sent: Friday, November 8, 2013 2:21 AM
To: interest@qt-project.org
Subject: [Interest] QTreeView / QTableView row change
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
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
On 11/8/2013 1:26 PM, Clément Geiger wrote:
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