初步可以运行命令

This commit is contained in:
2024-01-21 22:42:58 +08:00
parent 8eec84a689
commit 8090ac0f8d
6 changed files with 107 additions and 3 deletions

21
installdeb.h Normal file
View File

@@ -0,0 +1,21 @@
#ifndef INSTALLDEB_H
#define INSTALLDEB_H
#include <QObject>
#include <qtermwidget5/qtermwidget.h>
#include <QMainWindow>
class InstallDEB
{
public:
InstallDEB(QTermWidget *terminal, QMainWindow *mainWindow = NULL);
void AddCommand(QString command);
void RunCommand();
QStringList commandList;
private:
QTermWidget *terminal;
QMainWindow *mainWindow = NULL;
bool runStatus;
};
#endif // INSTALLDEB_H