mirror of
https://gitee.com/gfdgd-xi/deep-wine-runner
synced 2025-12-13 18:42:03 +08:00
新增QEMU设置窗口
This commit is contained in:
@@ -20,6 +20,7 @@
|
||||
#include <QJsonArray>
|
||||
#include <QDesktopServices>
|
||||
#include <QMessageBox>
|
||||
#include "qemusetting.h"
|
||||
|
||||
MainWindow::MainWindow(QWidget *parent) :
|
||||
QMainWindow(parent),
|
||||
@@ -188,3 +189,15 @@ void MainWindow::on_getQemu_clicked()
|
||||
{
|
||||
system(("python3 '" + QCoreApplication::applicationDirPath() + "/../RunCommandWithTerminal.py' '" + QCoreApplication::applicationDirPath() + "/../QemuSystemInstall.sh'").toLatin1());
|
||||
}
|
||||
|
||||
void MainWindow::on_vmChooser_currentIndexChanged(int index)
|
||||
{
|
||||
ui->qemuSetting->setDisabled(index);
|
||||
}
|
||||
|
||||
void MainWindow::on_qemuSetting_clicked()
|
||||
{
|
||||
QemuSetting show;
|
||||
show.show();
|
||||
show.exec();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user