blob: bc23b017a426fccceb295f3cb3d920f2ab632e3f (
plain)
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
|
#ifndef MAIN_WINDOW_HPP
#define MAIN_WINDOW_HPP
#include "archive.hpp"
#include "getsuyomi.hpp"
#include <QtWidgets>
namespace getsuyomi {
constexpr const char* AppName = "GetsuYomi";
constexpr const char* AppVersionString = "1.0.0";
class GetsuyomiApp : public QMainWindow {
Q_OBJECT
public:
GetsuyomiApp();
private:
void setup();
void createActions();
void createMenus();
void createToolBar();
Getsuyomi* m_getsuyomi;
QAction* m_openFile;
QAction* m_openDirectory;
QAction* m_quitAction;
QAction* m_nextAction;
QAction* m_backAction;
QMenu* m_menuBar;
QToolBar* m_toolBar;
private slots:
void openFile();
void openDirectory();
void quit();
void next();
void back();
};
} // namespace getsuyomi
#endif
|