mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 13:10:19 +00:00
1d2d046c0f
Simple port of the default preferences to the new preferences structure. Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
30 lines
No EOL
674 B
C++
30 lines
No EOL
674 B
C++
#ifndef PREFERENCES_DEFAULTS_H
|
|
#define PREFERENCES_DEFAULTS_H
|
|
|
|
#include "abstractpreferenceswidget.h"
|
|
#include "subsurface-core/pref.h"
|
|
|
|
namespace Ui {
|
|
class PreferencesDefaults;
|
|
}
|
|
|
|
class PreferencesDefaults : public AbstractPreferencesWidget {
|
|
Q_OBJECT
|
|
public:
|
|
PreferencesDefaults();
|
|
virtual ~PreferencesDefaults();
|
|
virtual void refreshSettings();
|
|
virtual void syncSettings();
|
|
public slots:
|
|
void on_chooseFile_clicked();
|
|
void on_btnUseDefaultFile_toggled(bool toggled);
|
|
void on_noDefaultFile_toggled(bool toggled);
|
|
void on_localDefaultFile_toggled(bool toggled);
|
|
void on_cloudDefaultFile_toggled(bool toggled);
|
|
|
|
private:
|
|
Ui::PreferencesDefaults *ui;
|
|
};
|
|
|
|
|
|
#endif |