Sun, 03 Nov 2019 12:56:42 +0200
added saving of splitter state and recent files
#pragma once #include <QDialog> #include "main.h" #include "librarieseditor.h" #include "libraries.h" class SettingsEditor : public QDialog { Q_OBJECT public: SettingsEditor(QSettings* settings, QWidget* parent = nullptr); ~SettingsEditor(); private slots: void handleAccepted(); private: class Ui_SettingsEditor& ui; QSettings* const settings; LibraryManager libraries; LibrariesEditor librariesEditor; void loadLocales(); void setDefaults(); void setCurrentLanguage(const QString& localeCode); };