You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
624 B
41 lines
624 B
#pragma once
|
|
|
|
#include "installerpage.h"
|
|
#include "tools.h"
|
|
|
|
#include <QProcess>
|
|
|
|
class QTextEdit;
|
|
class QProgressBar;
|
|
class QLabel;
|
|
|
|
class PageInstall : public InstallerPage
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
explicit PageInstall();
|
|
~PageInstall();
|
|
|
|
void retranslateUi();
|
|
|
|
protected:
|
|
void setupUi();
|
|
|
|
public slots:
|
|
void show();
|
|
|
|
private slots:
|
|
void onError(QProcess::ProcessError error);
|
|
void showStdOut();
|
|
void onFinish(int exitCode, QProcess::ExitStatus exitStatus = QProcess::NormalExit);
|
|
|
|
private:
|
|
QTextEdit* m_Output;
|
|
// QLabel* m_LabelEta;
|
|
QProgressBar* m_Progress;
|
|
|
|
QProcess* m_clProc;
|
|
bool m_doTerminate;
|
|
};
|
|
|