Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
main.cpp File Reference

(0dc4fd240a2897c5c443a0ef6d84c416843e4938)

#include <QGuiApplication>
#include <QtQml>
#include <QtQuick>
+ Include dependency graph for main.cpp:

Go to the source code of this file.

Functions

static void withComponent ()
 
int main (int argc, char *argv[])
 [2]
 

Function Documentation

◆ main()

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]

[QQuickView]

[QQuickView]

[properties]

[properties]

[cast]

[cast]

[findChild]

[findChild]

[QQmlComponent-b]

[QQmlComponent-b]

Definition at line 18 of file main.cpp.

References app, QApplication::exec(), QObject::findChild(), QUrl::fromLocalFile(), item, qobject_cast< QQuickItem * >(), rect, QQuickView::rootObject(), QObject::setProperty(), QQuickView::setSource(), QWindow::show(), view, withComponent(), and QQmlProperty::write().

+ Here is the call graph for this function:

◆ withComponent()

static void withComponent ( )
static

[QQmlComponent-a]

[QQmlComponent-a]

Definition at line 7 of file main.cpp.

References component(), engine, and QUrl::fromLocalFile().

Referenced by main().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: