LicenseAgreementPage Class

class QInstaller::LicenseAgreementPage

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

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

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.

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