IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)

Models and Views: String ListModel Example

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

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

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

Vous avez aimé ce tutoriel ? Alors partagez-le en cliquant sur les boutons suivants : Viadeo Twitter Facebook Share on Google+