Sun, 03 Nov 2019 13:18:55 +0200
added matrix conversions and datastream operators
7 | 1 | #pragma once |
2 | #include <QDialog> | |
3 | #include "main.h" | |
4 | #include "librarieseditor.h" | |
5 | #include "libraries.h" | |
6 | ||
7 | class SettingsEditor : public QDialog | |
8 | { | |
9 | Q_OBJECT | |
10 | public: | |
11 | SettingsEditor(QSettings* settings, QWidget* parent = nullptr); | |
12 | ~SettingsEditor(); | |
13 | private slots: | |
14 | void handleAccepted(); | |
15 | private: | |
16 | class Ui_SettingsEditor& ui; | |
17 | QSettings* const settings; | |
18 | LibraryManager libraries; | |
19 | LibrariesEditor librariesEditor; | |
20 | void loadLocales(); | |
21 | void setDefaults(); | |
22 | void setCurrentLanguage(const QString& localeCode); | |
23 | }; |