Selection in QML TreeView using QItemSelectionModel
Hi All,
I am using QML TreeView of Qt 5.6 with QAbstractItemModel to populate the data.
I need to update the selection manually from Qt side, so I am using QItemSelectionModel which takes QAbstractItemModel as it's parent.
I'm selecting the item using select method of the QItemSelectionModel.
However, the shift selection of the model fails.
Kindly advice
Re: Selection in QML TreeView using QItemSelectionModel
I'm looking for selecting items using the "Shift" key, but as i have selected using the QItemselectionmodel, the signal of selectionChanged isn't fired.
Kindly advice what i'm missing