2023-04-15 19:14:30 +08:00
|
|
|
#ifndef QEMUSETTING_H
|
|
|
|
#define QEMUSETTING_H
|
|
|
|
|
2023-04-16 22:06:38 +08:00
|
|
|
#include <QWidget>
|
|
|
|
#include <QCheckBox>
|
|
|
|
#include <QSpinBox>
|
2023-04-15 19:14:30 +08:00
|
|
|
|
|
|
|
namespace Ui {
|
|
|
|
class QemuSetting;
|
|
|
|
}
|
|
|
|
|
2023-04-16 22:06:38 +08:00
|
|
|
class QemuSetting : public QWidget
|
2023-04-15 19:14:30 +08:00
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
explicit QemuSetting(QWidget *parent = nullptr);
|
|
|
|
~QemuSetting();
|
|
|
|
|
2023-04-16 22:06:38 +08:00
|
|
|
|
2023-04-15 19:14:30 +08:00
|
|
|
private slots:
|
|
|
|
void on_buttonBox_accepted();
|
|
|
|
|
|
|
|
void on_save_clicked();
|
|
|
|
|
|
|
|
void on_cancel_clicked();
|
|
|
|
|
|
|
|
void on_getrunner_clicked();
|
|
|
|
|
2023-04-19 21:55:21 +08:00
|
|
|
void on_enableVnc_stateChanged(int arg1);
|
|
|
|
|
|
|
|
void on_setDefault_clicked();
|
|
|
|
|
2023-04-15 19:14:30 +08:00
|
|
|
private:
|
2023-04-16 22:06:38 +08:00
|
|
|
void SetDefaultValue();
|
2023-04-15 19:14:30 +08:00
|
|
|
Ui::QemuSetting *ui;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // QEMUSETTING_H
|