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.
calculate-utils-2.2-install.../src/pageinstall.h

41 lines
659 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(InstallerSettings* settings);
void retranslateUi();
protected:
void setupUi();
public slots:
void show();
private slots:
void onError(QProcess::ProcessError error);
void showStdOut();
void showStdErr();
void onFinish(int exitCode, QProcess::ExitStatus exitStatus = QProcess::NormalExit);
private:
QTextEdit* m_Output;
QLabel* m_LabelEta;
QProgressBar* m_Progress;
InstallerSettings* m_Settings;
QProcess* m_clProc;
};