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
624 B

14 years ago
#pragma once
#include "installerpage.h"
#include "tools.h"
#include <QProcess>
14 years ago
class QTextEdit;
class QProgressBar;
class QLabel;
14 years ago
class PageInstall : public InstallerPage
{
Q_OBJECT
public:
explicit PageInstall();
~PageInstall();
14 years ago
void retranslateUi();
protected:
void setupUi();
14 years ago
public slots:
void show();
private slots:
void onError(QProcess::ProcessError error);
void showStdOut();
void onFinish(int exitCode, QProcess::ExitStatus exitStatus = QProcess::NormalExit);
14 years ago
private:
QTextEdit* m_Output;
// QLabel* m_LabelEta;
14 years ago
QProgressBar* m_Progress;
QProcess* m_clProc;
bool m_doTerminate;
14 years ago
};