-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmainwindow.h
More file actions
executable file
·42 lines (38 loc) · 936 Bytes
/
mainwindow.h
File metadata and controls
executable file
·42 lines (38 loc) · 936 Bytes
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
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
#include <QString>
#include <QVector>
#include "Gui.h"
#include "paintwidget.h"
#include "textwidget.h"
#include "XmlReader.h"
class MainWindow: public QMainWindow
{
Q_OBJECT
public:
MainWindow(const QString &filename);
private slots:
void handler_1();
void handler_2();
void handler_3();
void handler_4();
void handler_5();
void handler_6();
void handler_7();
void handler_8();
void handler_9();
void handler_10();
private:
void createActions(const Gui &gui);
void createMenus(const Gui &gui);
void createToolbar(const Gui &gui);
void cmd_handler(const QString &cmd);
void getConnection();
QVector<QMenu *> menus;
QVector<QAction *> actions;
QToolBar *fileToolBar;
QWidget *center;
XmlReader reader;
};
#endif // MAINWINDOW_H