-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathApplicationGUI.h
More file actions
59 lines (47 loc) · 1.54 KB
/
Copy pathApplicationGUI.h
File metadata and controls
59 lines (47 loc) · 1.54 KB
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
#ifndef NSAPPLICATION_CAPPLICATIONGUI_H
#define NSAPPLICATION_CAPPLICATIONGUI_H
#include "Interface/KeySchemePlotter.h"
#include "Interface/LanguageMenu.h"
#include "Interface/Plotter.h"
#include "Interface/SeanceView.h"
#include "Interface/StatisticsView.h"
#include "Interface/TextModeView.h"
#include "Interface/TextPrinter.h"
#include "Qt/MainWindow.h"
#include <memory>
#ifdef KEYBOARD_HANDLER_DEBUG
#include "AppDebug/KeyboardHandlerDebugOut.h"
#endif
namespace NSApplication {
class CApplicationGUI {
using CSeanceView = NSInterface::CSeanceView;
using CTextModeView = NSInterface::CTextModeView;
using CTextPrinter = NSInterface::CTextPrinter;
using CPlotter = NSInterface::CSpeedPlotter;
using CStatisticsView = NSInterface::CStatisticsView;
using CKeySchemePlotter = NSInterface::CKeySchemePlotter;
using CFileMenu = NSInterface::CFileMenu;
using CModifiersMenu = NSInterface::CModifiersMenu;
using CLanguageMenu = NSInterface::CLanguageMenu;
public:
CApplicationGUI();
protected:
NSQt::CMainWindow* mainWindow();
private:
NSQt::CMainWindow AppWindow_;
protected:
CSeanceView MainSeanceView_;
CTextModeView TextModeView_;
CTextPrinter MainTextPrinter_;
CPlotter SpeedPlotter_;
CStatisticsView StatisticsView_;
CKeySchemePlotter KeySchemePlotter_;
CFileMenu FileMenu_;
CModifiersMenu ModifiersMenu_;
CLanguageMenu LanguageMenu_;
#ifdef KEYBOARD_HANDLER_DEBUG
NSAppDebug::CKeyboardHandlerDebugOut KeyboardHandlerOut_ = mainWindow();
#endif
};
} // namespace NSApplication
#endif // NSAPPLICATION_CAPPLICATIONGUI_H