2017-04-27 18:26:05 +00:00
|
|
|
// SPDX-License-Identifier: GPL-2.0
|
2015-09-25 19:15:37 +00:00
|
|
|
#ifndef PREFERENCES_DEFAULTS_H
|
|
|
|
#define PREFERENCES_DEFAULTS_H
|
|
|
|
|
|
|
|
#include "abstractpreferenceswidget.h"
|
2016-04-05 05:02:03 +00:00
|
|
|
#include "core/pref.h"
|
2015-09-25 19:15:37 +00:00
|
|
|
|
|
|
|
namespace Ui {
|
|
|
|
class PreferencesDefaults;
|
|
|
|
}
|
|
|
|
|
|
|
|
class PreferencesDefaults : public AbstractPreferencesWidget {
|
|
|
|
Q_OBJECT
|
|
|
|
public:
|
|
|
|
PreferencesDefaults();
|
2018-07-31 05:41:19 +00:00
|
|
|
~PreferencesDefaults();
|
2018-09-29 20:13:44 +00:00
|
|
|
void refreshSettings() override;
|
|
|
|
void syncSettings() override;
|
2015-09-25 19:15:37 +00:00
|
|
|
public slots:
|
|
|
|
void on_chooseFile_clicked();
|
|
|
|
void on_btnUseDefaultFile_toggled(bool toggled);
|
|
|
|
void on_localDefaultFile_toggled(bool toggled);
|
2018-09-22 17:24:38 +00:00
|
|
|
void on_resetSettings_clicked();
|
|
|
|
void on_resetRememberedDCs_clicked();
|
2015-09-25 19:15:37 +00:00
|
|
|
|
|
|
|
private:
|
|
|
|
Ui::PreferencesDefaults *ui;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
2016-04-05 05:02:03 +00:00
|
|
|
#endif
|