Qt: Add option to reset to defaults

This commit is contained in:
Connor McLaughlin
2021-07-09 13:05:52 +10:00
parent cf51557b7f
commit 7caa5c09dd
9 changed files with 80 additions and 11 deletions

View File

@ -67,11 +67,15 @@ public:
void registerWidgetHelp(QObject* object, QString title, QString recommended_value, QString text);
bool eventFilter(QObject* object, QEvent* event) override;
Q_SIGNALS:
void settingsResetToDefaults();
public Q_SLOTS:
void setCategory(Category category);
private Q_SLOTS:
void onCategoryCurrentRowChanged(int row);
void onRestoreDefaultsClicked();
private:
void setCategoryHelpTexts();