qmlFrontend/qtquick2applicationviewer/qtquick2applicationviewer.h
author unc0rr
Tue, 16 Sep 2014 12:46:58 +0400
branchqmlfrontend
changeset 10408 5fdc42ef5bcc
parent 10402 3313336c1ee0
permissions -rw-r--r--
Some more of ignoration
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
10402
3313336c1ee0 Let's get it started
unc0rr
parents:
diff changeset
     1
// checksum 0xfde6 version 0x90005
3313336c1ee0 Let's get it started
unc0rr
parents:
diff changeset
     2
/*
3313336c1ee0 Let's get it started
unc0rr
parents:
diff changeset
     3
  This file was generated by the Qt Quick 2 Application wizard of Qt Creator.
3313336c1ee0 Let's get it started
unc0rr
parents:
diff changeset
     4
  QtQuick2ApplicationViewer is a convenience class containing mobile device specific
3313336c1ee0 Let's get it started
unc0rr
parents:
diff changeset
     5
  code such as screen orientation handling. Also QML paths and debugging are
3313336c1ee0 Let's get it started
unc0rr
parents:
diff changeset
     6
  handled here.
3313336c1ee0 Let's get it started
unc0rr
parents:
diff changeset
     7
  It is recommended not to modify this file, since newer versions of Qt Creator
3313336c1ee0 Let's get it started
unc0rr
parents:
diff changeset
     8
  may offer an updated version of it.
3313336c1ee0 Let's get it started
unc0rr
parents:
diff changeset
     9
*/
3313336c1ee0 Let's get it started
unc0rr
parents:
diff changeset
    10
3313336c1ee0 Let's get it started
unc0rr
parents:
diff changeset
    11
#ifndef QTQUICK2APPLICATIONVIEWER_H
3313336c1ee0 Let's get it started
unc0rr
parents:
diff changeset
    12
#define QTQUICK2APPLICATIONVIEWER_H
3313336c1ee0 Let's get it started
unc0rr
parents:
diff changeset
    13
3313336c1ee0 Let's get it started
unc0rr
parents:
diff changeset
    14
#include <QtQuick/QQuickView>
3313336c1ee0 Let's get it started
unc0rr
parents:
diff changeset
    15
3313336c1ee0 Let's get it started
unc0rr
parents:
diff changeset
    16
class QtQuick2ApplicationViewer : public QQuickView
3313336c1ee0 Let's get it started
unc0rr
parents:
diff changeset
    17
{
3313336c1ee0 Let's get it started
unc0rr
parents:
diff changeset
    18
    Q_OBJECT
3313336c1ee0 Let's get it started
unc0rr
parents:
diff changeset
    19
3313336c1ee0 Let's get it started
unc0rr
parents:
diff changeset
    20
public:
3313336c1ee0 Let's get it started
unc0rr
parents:
diff changeset
    21
    explicit QtQuick2ApplicationViewer(QWindow *parent = 0);
3313336c1ee0 Let's get it started
unc0rr
parents:
diff changeset
    22
    virtual ~QtQuick2ApplicationViewer();
3313336c1ee0 Let's get it started
unc0rr
parents:
diff changeset
    23
3313336c1ee0 Let's get it started
unc0rr
parents:
diff changeset
    24
    void setMainQmlFile(const QString &file);
3313336c1ee0 Let's get it started
unc0rr
parents:
diff changeset
    25
    void addImportPath(const QString &path);
3313336c1ee0 Let's get it started
unc0rr
parents:
diff changeset
    26
3313336c1ee0 Let's get it started
unc0rr
parents:
diff changeset
    27
    void showExpanded();
3313336c1ee0 Let's get it started
unc0rr
parents:
diff changeset
    28
3313336c1ee0 Let's get it started
unc0rr
parents:
diff changeset
    29
private:
3313336c1ee0 Let's get it started
unc0rr
parents:
diff changeset
    30
    class QtQuick2ApplicationViewerPrivate *d;
3313336c1ee0 Let's get it started
unc0rr
parents:
diff changeset
    31
};
3313336c1ee0 Let's get it started
unc0rr
parents:
diff changeset
    32
3313336c1ee0 Let's get it started
unc0rr
parents:
diff changeset
    33
#endif // QTQUICK2APPLICATIONVIEWER_H