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

Models and Views: Object ListModel Example

Shows how to use a QList<QObject*> as a model in QML.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

Models and Views: Object ListModel Example

 
Sélectionnez
QT += qml quick

SOURCES += main.cpp \
           dataobject.cpp
HEADERS += dataobject.h
RESOURCES += objectlistmodel.qrc

target.path = $$[QT_INSTALL_EXAMPLES]/quick/models/objectlistmodel
INSTALLS += target

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