Details
-
Task
-
Resolution: Unresolved
-
Not Evaluated
-
None
-
None
Description
Creating an equivalent Java interface/abstract for QAbstractItemModel which can be set as a property to QtQuickView.
Possible Scenarios
// A QtAbstractItemModel has been implemented by user MyConcreteModel model; qtQuickView.setProperty("dataModel", model); // the model will be used as an instance of QAIM in Quick application
// QML: A QAbstractItemModel instance exists in the Quick component ListView { property ListModel dataModel : MyListModel{} } //Java: MyConcreteModel model = (MyConcreteModel)qtQuickView.getProperty("dataModel"); model.insertRow(10, 20, 30);
Attachments
Gerrit Reviews
For Gerrit Dashboard: QTBUG-124803 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
559067,16 | WIP: Android: Add Java QtAbstractItemModel as a QAIM wrapper | dev | qt/qtdeclarative | Status: NEW | -2 | 0 |