PerformInstallationPage Class

(QInstaller::PerformInstallationPage)

The PerformInstallationPage class shows progress information about the installation state. More...

Header: #include <PerformInstallationPage>
Inherits: QInstaller::PackageManagerPage

Public Functions

PerformInstallationPage(PackageManagerCore *core)
~PerformInstallationPage()
bool isAutoSwitching() const

Public Slots

void setTitleMessage(const QString &title)

Signals

void setAutomatedPageSwitchEnabled(bool request)

Reimplemented Protected Functions

virtual void entering()
virtual bool isInterruptible() const
virtual void leaving()

Detailed Description

The PerformInstallationPage class shows progress information about the installation state.

This class is a container for the PerformInstallationForm class, which constructs the actual UI for the page.

Member Function Documentation

PerformInstallationPage::PerformInstallationPage(PackageManagerCore *core)

Constructs a perform installation page with core as parent. The page contains a PerformInstallationForm that defines the UI for the page.

PerformInstallationPage::~PerformInstallationPage()

Destructs a perform installation page.

[virtual protected] void PerformInstallationPage::entering()

Reimplemented from PackageManagerPage::entering().

Initializes the page's fields based on values from fields on previous pages. The text to display depends on whether the page is being used in an installer, updater, or uninstaller.

bool PerformInstallationPage::isAutoSwitching() const

Returns true if automatically switching to the page is requested.

[virtual protected] bool PerformInstallationPage::isInterruptible() const

Reimplemented from PackageManagerPage::isInterruptible().

Returns true if the installation can be interrupted.

[virtual protected] void PerformInstallationPage::leaving()

Reimplemented from PackageManagerPage::leaving().

Called when end users leave the page and the PackageManagerGui:currentPageChanged() signal is triggered.

[signal] void PerformInstallationPage::setAutomatedPageSwitchEnabled(bool request)

Enables automatic switching of pages when request is true.

[slot] void PerformInstallationPage::setTitleMessage(const QString &title)

Sets title as the title of the perform installation page.