-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmainwindow.hh
executable file
·63 lines (48 loc) · 1.03 KB
/
mainwindow.hh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
#ifndef MAINWINDOW
#define MAINWINDOW
#include <QtWidgets>
#include <QWidget>
#include <QImage>
#include <QPixmap>
#include "GE5Widget.hh"
#include "spriteGrid.hh"
#include "spritePaternView.hh"
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
MainWindow();
private slots:
void open();
void saveGen();
void loadGE5toGrid();
void saveGridtoGE5();
void zoom1x();
void zoom2x();
void zoom3x();
void showGrid();
void about();
void testclicked(int x,int y);
private:
void createActions();
void createMenus();
QMenu *fileMenu;
QMenu *viewMenu;
QMenu *helpMenu;
QAction *openAct;
QAction *saveGenAct;
QAction *saveGridGE5Act;
QAction *loadGE5GridAct;
QAction *exitAct;
QActionGroup *zoomActGrp;
QAction *zoom1xAct;
QAction *zoom2xAct;
QAction *zoom3xAct;
QAction *showGridAct;
QAction *aboutAct;
QAction *aboutQtAct;
GE5Widget *ge5;
spriteGrid *spritegrd;
spritePaternView *spritepatvw;
};
#endif // MAINWINDOW