Sun, 26 Jan 2020 14:29:30 +0200
replaced matrix and vertex classes with glm
#pragma once #include <QDialog> #include "main.h" #include "librarieseditor.h" #include "libraries.h" #include "uiutilities.h" class SettingsEditor : public QDialog { Q_OBJECT public: SettingsEditor(QSettings* settings, const uiutilities::KeySequenceMap& defaultKeyboardShortcuts = {}, QWidget* parent = nullptr); ~SettingsEditor(); private slots: void handleAccepted(); private: class Ui_SettingsEditor& ui; QSettings* const settings; LibraryManager libraries; LibrariesEditor librariesEditor; const uiutilities::KeySequenceMap defaultKeyboardShortcuts; void loadLocales(); void setDefaults(); void setCurrentLanguage(const QString& localeCode); };