2016-08-23 00:54:10 +01:00
|
|
|
#ifndef SETTINGSDIALOG_H
|
|
|
|
#define SETTINGSDIALOG_H
|
|
|
|
|
|
|
|
#include <QDialog>
|
|
|
|
#include <QtWidgets/QListWidget>
|
|
|
|
|
|
|
|
#include "AppConfig.h"
|
|
|
|
|
|
|
|
namespace Ui {
|
|
|
|
class SettingsDialog;
|
|
|
|
}
|
|
|
|
|
|
|
|
class SettingsDialog : public QDialog
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
explicit SettingsDialog(QWidget *parent = 0);
|
|
|
|
~SettingsDialog();
|
|
|
|
void LoadPreferences();
|
|
|
|
|
|
|
|
private slots:
|
|
|
|
void on_checkBox_enable_highres_clicked(bool checked);
|
2017-04-22 14:29:22 +01:00
|
|
|
void on_checkBox_force_bilinear_filtering_clicked(bool checked);
|
2016-08-23 00:54:10 +01:00
|
|
|
void on_checkBox_enable_audio_clicked(bool checked);
|
|
|
|
void on_comboBox_presentation_mode_currentIndexChanged(int index);
|
2016-08-10 16:42:37 +01:00
|
|
|
void changePage(QListWidgetItem *current, QListWidgetItem *previous);
|
2017-04-22 14:29:22 +01:00
|
|
|
|
2016-08-23 00:54:10 +01:00
|
|
|
private:
|
|
|
|
Ui::SettingsDialog *ui;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // SETTINGSDIALOG_H
|