LicenseAgreementPage Class | Qt Installer Framework Manual

- Qt Installer Framework Manual
- LicenseAgreementPage

# LicenseAgreementPage Class

class QInstaller::LicenseAgreementPage

The LicenseAgreementPage presents a license agreement to the end users for acceptance. More...

Header: | #include <LicenseAgreementPage>
Inherits: | QInstaller::PackageManagerPage

- List of all members, including inherited members

## Public Functions

| LicenseAgreementPage(QInstaller::PackageManagerCore *core)

## Reimplemented Public Functions

virtual void | entering() override
virtual bool | isComplete() const override

## Detailed Description

The license check page is displayed if you specify a license file in the package information file and copy the file to the meta directory. End users must accept the terms of the license agreement for the installation to continue.

## Member Function Documentation

### `[explicit]` LicenseAgreementPage::LicenseAgreementPage(QInstaller::PackageManagerCore *core)

Constructs a license check page with core as parent.

### `[override virtual]` void LicenseAgreementPage::entering()

Reimplements: PackageManagerPage::entering().

Initializes the page's fields based on values from fields on previous pages.

### `[override virtual]` bool LicenseAgreementPage::isComplete() const

Reimplements: PackageManagerPage::isComplete() const.

Returns `true` if the accept license radio button is checked; otherwise, returns `false`.