• Qt 5.2
  • Qt Quick
  • Models and Views: String ListModel Example
  • Qt 5.2.1 Reference Documentation

Models and Views: String ListModel Example

Shows how to use a QStringList as a model in QML.

Files:

  • models/stringlistmodel/view.qml
  • models/stringlistmodel/main.cpp
  • models/stringlistmodel/stringlistmodel.pro
  • models/stringlistmodel/stringlistmodel.qrc

© 2013 Digia Plc and/or its subsidiaries. Documentation contributions included herein are the copyrights of their respective owners.
The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation.
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.