putting project-files up
[wpcreator] / src / mainwindow.h
diff --git a/src/mainwindow.h b/src/mainwindow.h
new file mode 100644 (file)
index 0000000..0e9e057
--- /dev/null
@@ -0,0 +1,48 @@
+#ifndef MAINWINDOW_H
+#define MAINWINDOW_H
+
+#include <QtGui/QMainWindow>
+#include <QFileDialog>
+#include <QLabel>
+#include <QPixmap>
+#include <QTextStream>
+#include "namedialog.h"
+
+namespace Ui
+{
+    class MainWindowClass;
+}
+
+class MainWindow : public QMainWindow
+{
+    Q_OBJECT
+
+public:
+    MainWindow(QWidget *parent = 0);
+    ~MainWindow();
+
+
+public slots:
+    void openFile();
+    void getImage (QString);
+    void cropImage ();
+    void installImageSet();
+    void installImageSetWithName(QString);
+
+signals:
+    void installationStatusUpdate (int);
+    void installationFinished ();
+
+
+
+private:
+    Ui::MainWindowClass *ui;
+    QPixmap *basicImage;
+    QPixmap *img_1;
+    QPixmap *img_2;
+    QPixmap *img_3;
+    QPixmap *img_4;
+    NameDialog *nameDialog;
+};
+
+#endif // MAINWINDOW_H