mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-29 21:50:26 +00:00
2ac279d129
Remove the preference settings dealing with thumbnails (currently under General preferences and Profile preferences) and put them in a newly-created Media preference tab. Signed-off-by: willemferguson <willemferguson@zoology.up.ac.za> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
31 lines
672 B
C++
31 lines
672 B
C++
// SPDX-License-Identifier: GPL-2.0
|
|
#ifndef PREFERENCES_DEFAULTS_H
|
|
#define PREFERENCES_DEFAULTS_H
|
|
|
|
#include "abstractpreferenceswidget.h"
|
|
#include "core/pref.h"
|
|
|
|
namespace Ui {
|
|
class PreferencesDefaults;
|
|
}
|
|
|
|
class PreferencesDefaults : public AbstractPreferencesWidget {
|
|
Q_OBJECT
|
|
public:
|
|
PreferencesDefaults();
|
|
~PreferencesDefaults();
|
|
void refreshSettings() override;
|
|
void syncSettings() override;
|
|
public slots:
|
|
void on_chooseFile_clicked();
|
|
void on_btnUseDefaultFile_toggled(bool toggled);
|
|
void on_localDefaultFile_toggled(bool toggled);
|
|
void on_resetSettings_clicked();
|
|
void on_resetRememberedDCs_clicked();
|
|
|
|
private:
|
|
Ui::PreferencesDefaults *ui;
|
|
};
|
|
|
|
|
|
#endif
|