0e9e0574f0acdd0b3746de648a0e1010d9785ce0
[wpcreator] / src / mainwindow.h
1 #ifndef MAINWINDOW_H
2 #define MAINWINDOW_H
3
4 #include <QtGui/QMainWindow>
5 #include <QFileDialog>
6 #include <QLabel>
7 #include <QPixmap>
8 #include <QTextStream>
9 #include "namedialog.h"
10
11 namespace Ui
12 {
13     class MainWindowClass;
14 }
15
16 class MainWindow : public QMainWindow
17 {
18     Q_OBJECT
19
20 public:
21     MainWindow(QWidget *parent = 0);
22     ~MainWindow();
23
24
25 public slots:
26     void openFile();
27     void getImage (QString);
28     void cropImage ();
29     void installImageSet();
30     void installImageSetWithName(QString);
31
32 signals:
33     void installationStatusUpdate (int);
34     void installationFinished ();
35
36
37
38 private:
39     Ui::MainWindowClass *ui;
40     QPixmap *basicImage;
41     QPixmap *img_1;
42     QPixmap *img_2;
43     QPixmap *img_3;
44     QPixmap *img_4;
45     NameDialog *nameDialog;
46 };
47
48 #endif // MAINWINDOW_H