#include <qtquick2applicationviewer.h>
Definition at line 16 of file qtquick2applicationviewer.h.
QtQuick2ApplicationViewer::QtQuick2ApplicationViewer |
( |
QWindow * |
parent = 0 ) | |
|
|
explicit |
Definition at line 46 of file qtquick2applicationviewer.cpp.
50 connect(engine(), SIGNAL(quit()), SLOT(close()));
51 setResizeMode(QQuickView::SizeRootObjectToView);
QtQuick2ApplicationViewer::~QtQuick2ApplicationViewer |
( |
) | |
|
|
virtual |
void QtQuick2ApplicationViewer::addImportPath |
( |
const QString & |
path) | |
|
void QtQuick2ApplicationViewer::setMainQmlFile |
( |
const QString & |
file) | |
|
Definition at line 59 of file qtquick2applicationviewer.cpp.
61 d->mainQmlFile = QtQuick2ApplicationViewerPrivate::adjustPath(file);
63 setSource(QUrl(QLatin1String(
"assets:/")+d->mainQmlFile));
65 setSource(QUrl::fromLocalFile(d->mainQmlFile));
void QtQuick2ApplicationViewer::showExpanded |
( |
) | |
|
The documentation for this class was generated from the following files: