diff options
author | Katja Marttila <katja.marttila@qt.io> | 2024-01-22 14:23:44 +0200 |
---|---|---|
committer | Katja Marttila <katja.marttila@qt.io> | 2024-02-22 14:34:31 +0200 |
commit | 46fbd3781595d9fa4818992c10b9511247cca95f (patch) | |
tree | 82c513f91a1487b354e5b7c211ca4f59feb49bb7 /src/libs/installer/packagemanagergui.h | |
parent | ff5df69f6e7797001f715d9ab57426a101aae121 (diff) |
Add possibility to change button text
Sometimes the button texts in installer are not something that is
suitable. Added possibility to change button texts from script to a
specific installer page.
Task-number: QTIFW-711
Change-Id: I2883cda6d770843c3617fda4e6b07d102a357730
Reviewed-by: Arttu Tarkiainen <arttu.tarkiainen@qt.io>
Diffstat (limited to 'src/libs/installer/packagemanagergui.h')
-rw-r--r-- | src/libs/installer/packagemanagergui.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libs/installer/packagemanagergui.h b/src/libs/installer/packagemanagergui.h index 655dd9875..d1492f75d 100644 --- a/src/libs/installer/packagemanagergui.h +++ b/src/libs/installer/packagemanagergui.h @@ -1,6 +1,6 @@ /************************************************************************** ** -** Copyright (C) 2023 The Qt Company Ltd. +** Copyright (C) 2024 The Qt Company Ltd. ** Contact: https://www.qt.io/licensing/ ** ** This file is part of the Qt Installer Framework. @@ -82,6 +82,7 @@ public: void clickButton(int wizardButton, int delayInMs = 0); void clickButton(const QString &objectName, int delayInMs = 0) const; bool isButtonEnabled(int wizardButton); + void setWizardPageButtonText(int pageId, int buttonId, const QString &buttonText); void showSettingsButton(bool show); void requestSettingsButtonByInstaller(bool request); |