-
Notifications
You must be signed in to change notification settings - Fork 1
/
adaptink.hpp
56 lines (34 loc) · 944 Bytes
/
adaptink.hpp
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
#ifndef ADAPTINK_HPP
#define ADAPTINK_HPP
#include <QMainWindow>
#include <canvas.hpp>
const int RESTART_EXIT_STATUS = 17;
namespace Ui {
class Adaptink;
}
class Adaptink : public QMainWindow {
Q_OBJECT
public:
explicit Adaptink(QWidget *parent = nullptr);
Adaptink(const Adaptink&) = delete;
Adaptink(Adaptink&&) = delete;
Adaptink& operator=(const Adaptink&) = delete;
~Adaptink();
private slots:
void on_actionQuit_triggered();
void on_actionNew_triggered();
void on_actionOpen_triggered();
void on_actionExport_triggered();
void on_actionExportAs_triggered();
void on_actionChangeColor_triggered();
void on_actionToolPencil_triggered();
void on_actionToolBrush_triggered();
void on_actionToolLabel_triggered();
void on_actionRubber_triggered();
void on_actionSet_Background_color_triggered();
private:
void exportCanvas();
Ui::Adaptink* m_ui;
QString m_current_file_name;
};
#endif // ADAPTINK_HPP