blob: 76c12b77203fcb6b53d976f79d326f4863dd550c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
/*
This file was generated by the Qt Quick 2 Application wizard of Qt Creator.
QtQuick2ControlsApplicationViewer is a convenience class.
QML paths are handled here.
It is recommended not to modify this file, since newer versions of Qt Creator
may offer an updated version of it.
*/
#ifndef QTQUICK2APPLICATIONVIEWER_H
#define QTQUICK2APPLICATIONVIEWER_H
#ifndef QT_NO_WIDGETS
#include <QApplication>
#else
#include <QGuiApplication>
#endif
QT_BEGIN_NAMESPACE
#ifndef QT_NO_WIDGETS
#define Application QApplication
#else
#define Application QGuiApplication
#endif
QT_END_NAMESPACE
class QtQuick2ControlsApplicationViewer
{
public:
explicit QtQuick2ControlsApplicationViewer();
virtual ~QtQuick2ControlsApplicationViewer();
void setMainQmlFile(const QString &file);
void addImportPath(const QString &path);
void show();
private:
class QtQuick2ApplicationViewerPrivate *d;
};
#endif // QTQUICK2APPLICATIONVIEWER_H
|