-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathSettingWindow_Translator.hpp
More file actions
33 lines (25 loc) · 1015 Bytes
/
Copy pathSettingWindow_Translator.hpp
File metadata and controls
33 lines (25 loc) · 1015 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
#ifndef SETTING_WINDOW_TRANSLATOR_HPP
#define SETTING_WINDOW_TRANSLATOR_HPP
#include "../../../../Utils/Include/Namespace_Macro.hpp"
#include "../../../../Lib_Memory/Include/Memory.hpp"
#include "../../../../GUI/Toolkit/Include/SettingWindow_Components.hpp"
#include <QSettings>
#include <QDialog>
using ZClipboard::Lib_Memory::PtrUnique;
using ZClipboard::GUI::Toolkit::SettingWindowComponentsManager;
GUI_WINDOW_TRANSLATOR_NAMESPACE
class SettingWindowTranslator {
private:
using Settings = QSettings;
using Components = SettingWindowComponentsManager;
using Window = QDialog;
private:
PtrUnique<Settings> settings;
private:
void VietNameseTranslator(Window *window, Components *components);
void EnglishTranslator(Window *window, Components *components);
public:
void LoadTranslator(Window *window, Components *components);
};
END_NAMESPACE
#endif // SETTING_WINDOW_TRANSLATOR_HPP