summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qmlvisual/shared/qmlvisualaids/mainwindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/declarative/qmlvisual/shared/qmlvisualaids/mainwindow.h')
-rw-r--r--tests/auto/declarative/qmlvisual/shared/qmlvisualaids/mainwindow.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/tests/auto/declarative/qmlvisual/shared/qmlvisualaids/mainwindow.h b/tests/auto/declarative/qmlvisual/shared/qmlvisualaids/mainwindow.h
new file mode 100644
index 0000000..0209064
--- /dev/null
+++ b/tests/auto/declarative/qmlvisual/shared/qmlvisualaids/mainwindow.h
@@ -0,0 +1,31 @@
+#ifndef MAINWINDOW_H
+#define MAINWINDOW_H
+
+#include <QMainWindow>
+#include <QtDeclarative>
+#include <QtGui>
+#include <QtCore>
+#include "testmodel.h"
+
+class MainWindow : public QMainWindow
+{
+ Q_OBJECT
+public:
+ explicit MainWindow(QWidget *parent = 0);
+ void createMenus();
+
+signals:
+
+public slots:
+ void runTests();
+ void runAllTests();
+ void showFixScreen(const QString& path);
+
+private:
+ QDeclarativeView* view;
+ TestModel *curTest;
+ QStringList tests;
+ int testIdx;
+};
+
+#endif // MAINWINDOW_H