Play-/Source/ui_qt/settingsdialog.h

57 lines
1.2 KiB
C
Raw Permalink Normal View History

2016-08-23 00:54:10 +01:00
#ifndef SETTINGSDIALOG_H
#define SETTINGSDIALOG_H
#include <QDialog>
#include <QtWidgets/QListWidget>
#include "AppConfig.h"
2018-04-30 21:01:23 +01:00
namespace Ui
{
class SettingsDialog;
2016-08-23 00:54:10 +01:00
}
class SettingsDialog : public QDialog
{
2018-04-30 21:01:23 +01:00
Q_OBJECT
2016-08-23 00:54:10 +01:00
public:
2020-02-11 07:53:35 +00:00
enum GS_HANDLERS
{
OPENGL,
#ifdef HAS_GSH_VULKAN
VULKAN,
#endif
MAX_HANDLER
};
2018-04-30 21:01:23 +01:00
explicit SettingsDialog(QWidget* parent = 0);
~SettingsDialog();
void LoadPreferences();
2016-08-23 00:54:10 +01:00
private slots:
2021-03-09 11:45:13 -05:00
void changePage(QListWidgetItem* current, QListWidgetItem* previous);
//General Page
void on_comboBox_system_language_currentIndexChanged(int index);
2021-02-24 11:55:09 -05:00
void on_checkBox_limitFrameRate_clicked(bool checked);
2021-03-09 11:45:13 -05:00
//Video Page
2020-12-17 17:46:02 -05:00
void on_checkBox_widescreenOutput_clicked(bool checked);
2018-04-30 21:01:23 +01:00
void on_checkBox_force_bilinear_filtering_clicked(bool checked);
2020-02-10 22:11:18 +00:00
void on_comboBox_gs_selection_currentIndexChanged(int index);
void on_comboBox_vulkan_device_currentIndexChanged(int index);
void on_button_vulkanDeviceInfo_clicked();
2018-04-30 21:01:23 +01:00
void on_comboBox_presentation_mode_currentIndexChanged(int index);
void on_comboBox_res_multiplyer_currentIndexChanged(int index);
2021-03-09 11:45:13 -05:00
//Audio Page
void on_checkBox_enable_audio_clicked(bool checked);
void on_spinBox_spuBlockCount_valueChanged(int value);
2016-08-23 00:54:10 +01:00
private:
2018-04-30 21:01:23 +01:00
Ui::SettingsDialog* ui;
2016-08-23 00:54:10 +01:00
};
#endif // SETTINGSDIALOG_H