qtquick2applicationviewer.h 916 B

12345678910111213141516171819202122232425262728293031323334
  1. // checksum 0xfde6 version 0x80001
  2. /*
  3. This file was generated by the Qt Quick 2 Application wizard of Qt Creator.
  4. QtQuick2ApplicationViewer is a convenience class containing mobile device specific
  5. code such as screen orientation handling. Also QML paths and debugging are
  6. handled here.
  7. It is recommended not to modify this file, since newer versions of Qt Creator
  8. may offer an updated version of it.
  9. */
  10. #ifndef QTQUICK2APPLICATIONVIEWER_H
  11. #define QTQUICK2APPLICATIONVIEWER_H
  12. #include <QtQuick/QQuickView>
  13. class QtQuick2ApplicationViewer : public QQuickView
  14. {
  15. Q_OBJECT
  16. public:
  17. explicit QtQuick2ApplicationViewer(QWindow *parent = 0);
  18. virtual ~QtQuick2ApplicationViewer();
  19. void setMainQmlFile(const QString &file);
  20. void addImportPath(const QString &path);
  21. void showExpanded();
  22. private:
  23. class QtQuick2ApplicationViewerPrivate *d;
  24. };
  25. #endif // QTQUICK2APPLICATIONVIEWER_H