Tue, 28 Jun 2022 14:10:27 +0300
Disable language changing for now (translations won't go into 1.0)
#pragma once #include <QMdiSubWindow> #include "src/basics.h" #include "src/libraries.h" #include "src/uiutilities.h" #include "src/settingseditor/librarieseditor.h" class SettingsEditor : public QMdiSubWindow { Q_OBJECT public: SettingsEditor(const uiutilities::KeySequenceMap& defaultKeyboardShortcuts = {}, QWidget* parent = nullptr); ~SettingsEditor(); Q_SLOT void saveSettings(); Q_SLOT void loadSettings(); Q_SIGNALS: void settingsChanged(); private: class Ui_SettingsEditor& ui; LibrariesModel libraries; LibrariesEditor librariesEditor; const uiutilities::KeySequenceMap defaultKeyboardShortcuts; void loadLocales(); void setCurrentLanguage(const QString& localeCode); };