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-08-01 09:01:26 +00:00
|
|
|
void refreshSettings();
|
|
|
|
void syncSettings();
|
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-07-10 13:04:35 +00:00
|
|
|
void on_ffmpegFile_clicked();
|
|
|
|
void on_extractVideoThumbnails_toggled(bool toggled);
|
2015-09-25 19:15:37 +00:00
|
|
|
|
|
|
|
private:
|
|
|
|
Ui::PreferencesDefaults *ui;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
2016-04-05 05:02:03 +00:00
|
|
|
#endif
|