ShellCommandPage Class

(Utils::ShellCommandPage)

The ShellCommandPage implements a page showing the progress of a ShellCommand. More...

Header: #include <ShellCommandPage>
Inherits: Utils::WizardPage

Public Types

enum State { Idle, Running, Failed, Succeeded }

Public Functions

ShellCommandPage(QWidget *parent = nullptr)
~ShellCommandPage() override
bool isComplete() const override
bool isRunning() const
void setStartedStatus(const QString &startedStatus)
void start(ShellCommand *command)
void terminate()

Reimplemented Public Functions

virtual bool handleReject() override

Signals

void finished(bool success)

Detailed Description

The ShellCommandPage implements a page showing the progress of a ShellCommand.

Turns complete when the command succeeds.

Member Type Documentation

enum ShellCommandPage::State

Member Function Documentation

ShellCommandPage::ShellCommandPage(QWidget *parent = nullptr)

Default constructs an instance of ShellCommandPage.

ShellCommandPage::~ShellCommandPage()

Destroys the instance of ShellCommandPage.

[signal] void ShellCommandPage::finished(bool success)

[override virtual] bool ShellCommandPage::handleReject()

bool ShellCommandPage::isComplete() const

bool ShellCommandPage::isRunning() const

void ShellCommandPage::setStartedStatus(const QString &startedStatus)

void ShellCommandPage::start(ShellCommand *command)

void ShellCommandPage::terminate()