Sun, 19 Jan 2020 02:54:48 +0200
commit work on GL rendering
7 | 1 | #pragma once |
2 | #include <QDialog> | |
3 | #include "main.h" | |
4 | #include "librarieseditor.h" | |
5 | #include "libraries.h" | |
16 | 6 | #include "uiutilities.h" |
7 | 7 | |
8 | class SettingsEditor : public QDialog | |
9 | { | |
10 | Q_OBJECT | |
11 | public: | |
16 | 12 | SettingsEditor(QSettings* settings, |
13 | const uiutilities::KeySequenceMap& defaultKeyboardShortcuts = {}, | |
14 | QWidget* parent = nullptr); | |
7 | 15 | ~SettingsEditor(); |
16 | private slots: | |
17 | void handleAccepted(); | |
18 | private: | |
19 | class Ui_SettingsEditor& ui; | |
20 | QSettings* const settings; | |
21 | LibraryManager libraries; | |
22 | LibrariesEditor librariesEditor; | |
16 | 23 | const uiutilities::KeySequenceMap defaultKeyboardShortcuts; |
7 | 24 | void loadLocales(); |
25 | void setDefaults(); | |
26 | void setCurrentLanguage(const QString& localeCode); | |
27 | }; |