deep-wine-runner/VM-source/mainwindow.h

73 lines
1.3 KiB
C
Raw Normal View History

2023-04-05 16:09:58 +08:00
/*
2023-04-24 21:49:18 +08:00
* gfdgd xi
2023-04-05 16:09:58 +08:00
* GPLV3
*/
2022-07-12 20:37:59 +08:00
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
namespace Ui {
class MainWindow;
}
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
explicit MainWindow(QWidget *parent = nullptr);
~MainWindow();
private slots:
2023-02-25 08:28:50 +08:00
void ShowCPUMessage();
2022-07-12 20:37:59 +08:00
void on_browser_clicked();
2023-02-19 15:43:24 +08:00
QString GetRunCommand(QString command);
2022-07-12 20:37:59 +08:00
void on_install_clicked();
2023-02-25 08:28:50 +08:00
2023-04-08 11:57:36 +08:00
void on_getvbox_clicked();
void on_getQemu_clicked();
2023-04-15 19:14:30 +08:00
void on_vmChooser_currentIndexChanged(int index);
void on_qemuSetting_clicked();
2023-04-28 21:43:14 +08:00
void on_addQemuDisk_triggered();
void on_delQemuDisk_triggered();
void on_addQemuDiskButton_clicked();
void on_saveQemuDiskButton_clicked();
void on_delQemuDiskButton_clicked();
2023-11-05 14:36:43 +08:00
void on_kvmTest_clicked();
void on_actionVMLog_triggered();
void on_actionVMRunlLog_triggered();
void on_actionVMTest_triggered();
void on_actionVMInstallLog_triggered();
void on_action_StopVirtualBox_triggered();
void on_action_StopQemu_triggered();
2024-04-27 15:42:25 +08:00
void on_actionQemuDiskAddSpace_triggered();
void on_getDCLC_triggered();
2022-07-12 20:37:59 +08:00
private:
bool stopShowTime = 0;
2022-07-12 20:37:59 +08:00
Ui::MainWindow *ui;
2023-02-25 08:28:50 +08:00
long m_cpuAll;
long m_cpuFree;
2022-07-12 20:37:59 +08:00
};
#endif // MAINWINDOW_H