Details
-
Suggestion
-
Resolution: Done
-
P4: Low
-
4.7.0
-
None
-
cf52c268b036d808901313acc554587465bdd746
Description
Currently, QStandardItemModel is not useful as a model for QML views, because "setRoleNames" is protected.
I made a wiki article on how to work around this limitation, but such a limitation should not be there in the first place:
http://wiki.forum.nokia.com/index.php/Using_QStandardItemModel_in_QML
Attachments
For Gerrit Dashboard: QTBUG-15067 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
9887,3 | Make QAbstractItemModel::setRolesNames() public | master | qt/qtbase | Status: ABANDONED | 0 | 0 |
14538,3 | Add public role names setter to QStandardItemModel | master | qt/qtbase | Status: MERGED | +2 | 0 |