Sun, 26 Jun 2022 19:44:45 +0300
- Made it build under Qt6
- Fix strangeness involving library path settings
#pragma once #include <QDialog> #include "basics.h" #include "librarieseditor.h" #include "libraries.h" #include "uiutilities.h" class SettingsEditor : public QDialog { Q_OBJECT public: SettingsEditor(const uiutilities::KeySequenceMap& defaultKeyboardShortcuts = {}, QWidget* parent = nullptr); ~SettingsEditor(); private Q_SLOTS: void handleAccepted(); private: class Ui_SettingsEditor& ui; LibrariesModel libraries; LibrariesEditor librariesEditor; const uiutilities::KeySequenceMap defaultKeyboardShortcuts; void loadLocales(); void setDefaults(); void setCurrentLanguage(const QString& localeCode); };