Extending Qt Creator Manual | ShellCommandPage

Extending Qt Creator Manual 4.6.0

# ShellCommandPage Class

(Utils::ShellCommandPage)

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

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

- List of all members, including inherited members

## Public Types

enum | State { Idle, Running, Failed, Succeeded }

## Public Functions

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

## Reimplemented Public Functions

virtual bool | handleReject()

- 3 public functions inherited from Utils::WizardPage

## Signals

void | finished(bool success)

- 1 signal inherited from Utils::WizardPage

## 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)

### `[virtual]` bool ShellCommandPage::handleReject()

### `[virtual]` bool ShellCommandPage::isComplete() const

### bool ShellCommandPage::isRunning() const

### void ShellCommandPage::setStartedStatus(const QString &startedStatus)

### void ShellCommandPage::start(ShellCommand *command)

### void ShellCommandPage::terminate()