[Interest] QTreeView / QTableView row change

Joseph W. Joshua joshua at megvel.me.ke
Fri Nov 8 11:32:34 CET 2013


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
> QAbstractItemView::selectionModel())
>
> Cheers,
>
> Clément
>
Thank you, I will try your suggestion.

Yes,

For example, when the user uses the keyboard to move through the items, 
I would like to respond to such events.




More information about the Interest mailing list