Details
-
Type:
Suggestion
-
Status: Closed
-
Priority:
P4: Low
-
Resolution: Done
-
Affects Version/s: 4.7.0
-
Fix Version/s: 5.0.0
-
Component/s: QML: Declarative and Javascript Engine
-
Labels:None
-
Commits: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