Re: [Development] Making ItemSelectionModel more useful

2016-02-24 Thread Stephen Kelly
On 20/02/16 13:19, Alberto Mardegan wrote: Hi all! Since Qt 5.5, the QItemSelectionModel class is exposed to QML as ItemSelectionModel (in the QtQml.Models module): http://doc.qt.io/qt-5/qml-qtqml-models-itemselectionmodel.html Apart from having almost no documentation, this component seem

Re: [Development] Making ItemSelectionModel more useful

2016-02-23 Thread Alberto Mardegan
On 23/02/2016 01:31, deDietrich Gabriel wrote: > The story behind having QModelIndex and QItemSelectionModel exposed > to the QML engine was to solve the selection problem in the Qt Quick > Controls 1 TreeView. TableView could use a simple selection model > because of the trivial mapping between ta

Re: [Development] Making ItemSelectionModel more useful

2016-02-22 Thread deDietrich Gabriel
On Feb 20, 2016, at 4:19 AM, Alberto Mardegan wrote: > > Hi all! > Since Qt 5.5, the QItemSelectionModel class is exposed to QML as > ItemSelectionModel (in the QtQml.Models module): > > http://doc.qt.io/qt-5/qml-qtqml-models-itemselectionmodel.html > > Apart from having almost no documentati

[Development] Making ItemSelectionModel more useful

2016-02-20 Thread Alberto Mardegan
Hi all! Since Qt 5.5, the QItemSelectionModel class is exposed to QML as ItemSelectionModel (in the QtQml.Models module): http://doc.qt.io/qt-5/qml-qtqml-models-itemselectionmodel.html Apart from having almost no documentation, this component seems to be rather hard to use in QML: its methods w