![]() |
Qt 6.x
The Qt SDK
|
#include <QGuiApplication>
#include <QtQml>
#include <QtQuick>
Go to the source code of this file.
Functions | |
static void | withComponent () |
int | main (int argc, char *argv[]) |
[2] | |
int main | ( | int | argc, |
char * | argv[] | ||
) |
[2]
[3]
[2]
[2]
[4]
[2]
This creates and populates a model with values from a string list then displays the contents of the model using a QListView widget. [0]
[properties]
[properties]
[cast]
[cast]
[findChild]
[findChild]
[QQmlComponent-b]
[QQmlComponent-b]
Definition at line 18 of file main.cpp.
References app, QApplication::exec(), QUrl::fromLocalFile(), item, qobject_cast< QQuickItem * >(), rect, QQuickView::rootObject(), QObject::setProperty(), QQuickView::setSource(), QWindow::show(), view, withComponent(), and QQmlProperty::write().
|
static |
[QQmlComponent-a]
[QQmlComponent-a]
Definition at line 7 of file main.cpp.
References component(), engine, and QUrl::fromLocalFile().
Referenced by main().