PerformInstallationForm Class | Qt Installer Framework Documentation 4.10.0

- Qt Installer Framework Documentation
- PerformInstallationForm
- Qt Installer Framework 4.10.0

# PerformInstallationForm Class

(QInstaller::PerformInstallationForm)

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

Header: | #include <PerformInstallationForm>

- List of all members, including inherited members

## Public Functions

void | clearDetailsBrowser()
void | onAdditionalProgressStatusChanged(const int &status)
void | setImageFromFileName(const int &fileName, const int &url)
void | toggleDetails()
void | updateProgress()

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

### void PerformInstallationForm::clearDetailsBrowser()

Clears the contents of the details browser.

### void PerformInstallationForm::onAdditionalProgressStatusChanged(const int &status)

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

### void PerformInstallationForm::setImageFromFileName(const int &fileName, const int &url)

Sets currently shown form image specified by fileName. When clicking the image, url is opened in a browser. If the url is a reference to a file, it will be opened with a suitable application instead of a Web browser. url can be empty.

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

### void PerformInstallationForm::updateProgress()

Updates the progress of the installation on the progress bar.