forked from DimaTrushin/TypingAnalysis
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathApplicationGUI.cpp
More file actions
25 lines (21 loc) · 832 Bytes
/
Copy pathApplicationGUI.cpp
File metadata and controls
25 lines (21 loc) · 832 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
#include "ApplicationGUI.h"
namespace NSApplication {
CApplicationGUI::CApplicationGUI()
: MainSeanceView_(AppWindow_.getSeanceView()),
TextModeView_(AppWindow_.getTextModeInitData()),
MainTextPrinter_(AppWindow_.getMainTextEdit()),
SpeedPlotter_(AppWindow_.getSpeedPlotterParent()),
StatisticsView_(AppWindow_.getStatisticsTable()),
KeySchemePlotter_(AppWindow_.getKeySchemeParent()),
FileMenu_(AppWindow_.getFileMenu()),
ModifiersMenu_(AppWindow_.getModifiersMenuInit()),
LanguageMenu_(AppWindow_.getLanguageMenu()),
SettingsMenu_(AppWindow_.getSettingsMenu()) {
// TO DO
// should probably move this to CApplicationImpl or CApplication
AppWindow_.show();
}
NSQt::CMainWindow* CApplicationGUI::mainWindow() {
return &AppWindow_;
}
} // namespace NSApplication