2023-04-05 16:09:58 +08:00
|
|
|
/*
|
|
|
|
* gfdgd xi、为什么您不喜欢熊出没和阿布呢
|
|
|
|
* 依照 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();
|
|
|
|
|
2022-07-12 20:37:59 +08:00
|
|
|
private:
|
|
|
|
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
|