2021-11-25 10:20:56 +01:00
|
|
|
#ifndef QT_SETTINGSDISPLAY_HPP
|
|
|
|
|
#define QT_SETTINGSDISPLAY_HPP
|
|
|
|
|
|
|
|
|
|
#include <QWidget>
|
|
|
|
|
|
|
|
|
|
namespace Ui {
|
|
|
|
|
class SettingsDisplay;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
class SettingsDisplay : public QWidget
|
|
|
|
|
{
|
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
explicit SettingsDisplay(QWidget *parent = nullptr);
|
|
|
|
|
~SettingsDisplay();
|
|
|
|
|
|
|
|
|
|
void save();
|
|
|
|
|
|
|
|
|
|
public slots:
|
|
|
|
|
void onCurrentMachineChanged(int machineId);
|
|
|
|
|
|
|
|
|
|
private slots:
|
|
|
|
|
void on_checkBoxVoodoo_stateChanged(int state);
|
2022-07-03 23:01:46 +02:00
|
|
|
void on_checkBoxXga_stateChanged(int state);
|
2021-11-25 10:20:56 +01:00
|
|
|
void on_comboBoxVideo_currentIndexChanged(int index);
|
|
|
|
|
void on_pushButtonConfigureVoodoo_clicked();
|
2022-07-03 23:01:46 +02:00
|
|
|
void on_pushButtonConfigureXga_clicked();
|
2021-11-25 10:20:56 +01:00
|
|
|
void on_pushButtonConfigure_clicked();
|
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
Ui::SettingsDisplay *ui;
|
|
|
|
|
int machineId = 0;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
#endif // QT_SETTINGSDISPLAY_HPP
|