PerformInstallationForm Class

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

Public Slots

void appendProgressDetails(const QString &details)
void clearDetailsBrowser()
void onDownloadStatusChanged(const QString &status)
void setImageFromFileName(const QString &fileName)
void toggleDetails()
void updateProgress()


Detailed Description

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.

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

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

[slot] void PerformInstallationForm::setImageFromFileName(const QString &fileName)

Sets currently shown form image specified by fileName.

[signal] void PerformInstallationForm::showDetailsChanged()

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

[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.

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.

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.

void PerformInstallationForm::startUpdateProgress()

Starts the update progress timer.

void PerformInstallationForm::stopUpdateProgress()

Stops the update progress timer.

© 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.