PerformInstallationForm Class

(QInstaller::PerformInstallationForm)

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

Header: #include <PerformInstallationForm>
Inherits: QObject

Public Functions

PerformInstallationForm(QObject *parent)
void enableDetails()
bool isShowingDetails() const
void scrollDetailsToTheEnd()
void setDetailsButtonEnabled(bool enable)
void setDetailsWidgetVisible(bool visible)
void setupUi(QWidget *widget)
void startUpdateProgress()
void stopUpdateProgress()
  • 32 public functions inherited from QObject

Public Slots

void appendProgressDetails(const QString &details)
void clearDetailsBrowser()
void onDownloadStatusChanged(const QString &status)
void toggleDetails()
void updateProgress()
  • 1 public slot inherited from QObject

Signals

Additional Inherited Members

  • 1 property inherited from QObject
  • 1 public variable inherited from QObject
  • 10 static public members inherited from QObject
  • 9 protected functions inherited from QObject
  • 2 protected variables inherited from QObject

Detailed Description

The PerformInstallationForm class shows progress information about the installation state.

A progress bar indicates the progress of the installation, update, or uninstallation.

The page contains a button for showing or hiding detailed information about the progress in an details browser. The text on the button changes depending on whether the details browser is currently shown or hidden.

Member Function Documentation

PerformInstallationForm::PerformInstallationForm(QObject *parent)

Constructs the perform installation UI with parent as parent.

[slot] void PerformInstallationForm::appendProgressDetails(const QString &details)

Displays details about progress of the installation in the details browser.

[slot] void PerformInstallationForm::clearDetailsBrowser()

Clears the contents of the details browser.

void PerformInstallationForm::enableDetails()

Enables the details button with the text Show Details and hides the details browser.

bool PerformInstallationForm::isShowingDetails() const

Returns true if the details browser is visible.

[slot] void PerformInstallationForm::onDownloadStatusChanged(const QString &status)

Changes the label text according to the changes in the download status specified by status.

void PerformInstallationForm::scrollDetailsToTheEnd()

Scrolls to the bottom of the details browser.

void PerformInstallationForm::setDetailsButtonEnabled(bool enable)

Enables the details button if enable is true.

void PerformInstallationForm::setDetailsWidgetVisible(bool visible)

Shows the details button if visible is true.

void PerformInstallationForm::setupUi(QWidget *widget)

Sets up the perform installation UI specified by widget.

[signal] void PerformInstallationForm::showDetailsChanged()

This signal is emitted when the end users select the details button to show or hide progress details.

void PerformInstallationForm::startUpdateProgress()

Starts the update progress timer.

void PerformInstallationForm::stopUpdateProgress()

Stops the update progress timer.

[slot] void PerformInstallationForm::toggleDetails()

Sets the text of the details button to Hide Details or Show Details depending on whether the details are currently shown or hidden. Emits the showDetailsChanged() signal.

[slot] void PerformInstallationForm::updateProgress()

Updates the progress of the installation on the progress bar.

© 2018 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. The Qt Company, Qt and their respective logos are trademarks of The Qt Company Ltd in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.