Models and Views: String ListModel Example▲
Sélectionnez
QT +=
qml quick
SOURCES +=
main.cpp
RESOURCES +=
stringlistmodel.qrc
target.path =
$$[QT_INSTALL_EXAMPLES]/
quick/
models/
stringlistmodel
INSTALLS +=
target
Shows how to use a QStringList as a model in QML.
Article lu fois.
The Qt Company Ltd.
Publié le 27 décembre 2024 - Mis à jour le 27 décembre 2024
QT +=
qml quick
SOURCES +=
main.cpp
RESOURCES +=
stringlistmodel.qrc
target.path =
$$[QT_INSTALL_EXAMPLES]/
quick/
models/
stringlistmodel
INSTALLS +=
target