From 6b85b21a333a0b18edf17b2ac945cf6849d28675 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Sun, 23 Feb 2020 21:29:27 -0600 Subject: Qt UI: Add missing What's This and help files --- ui/qt5/horizonwizard.cc | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'ui/qt5/horizonwizard.cc') diff --git a/ui/qt5/horizonwizard.cc b/ui/qt5/horizonwizard.cc index 818ed53..161accf 100644 --- a/ui/qt5/horizonwizard.cc +++ b/ui/qt5/horizonwizard.cc @@ -302,6 +302,12 @@ HorizonWizard::HorizonWizard(QWidget *parent) : QWizard(parent) { setButtonText(FinishButton, tr("&Save (F10)")); #endif /* HAS_INSTALL_ENV */ + button(HelpButton)->setWhatsThis(tr("Activates the Help screen.")); + button(CancelButton)->setWhatsThis(tr("Prompts to close System Installation.")); + button(BackButton)->setWhatsThis(tr("Goes back to the previous page of System Installation.")); + button(NextButton)->setWhatsThis(tr("Goes forward to the next page of System Installation.")); + button(FinishButton)->setWhatsThis(tr("Completes the information gathering phase of System Installation.")); + f1 = new QShortcut(Qt::Key_F1, this); connect(f1, &QShortcut::activated, button(HelpButton), &QAbstractButton::click); @@ -310,22 +316,22 @@ HorizonWizard::HorizonWizard(QWidget *parent) : QWizard(parent) { f3 = new QShortcut(Qt::Key_F3, this); connect(f3, &QShortcut::activated, button(CancelButton), &QAbstractButton::click); - f3->setWhatsThis(tr("Prompts to exit the installation.")); + f3->setWhatsThis(tr("Prompts to close System Installation.")); f6 = new QShortcut(Qt::Key_F6, this); connect(f6, &QShortcut::activated, button(BackButton), &QAbstractButton::click); - f6->setWhatsThis(tr("Goes back to the previous page.")); + f6->setWhatsThis(tr("Goes back to the previous page of System Installation.")); f8 = new QShortcut(Qt::Key_F8, this); connect(f8, &QShortcut::activated, button(NextButton), &QAbstractButton::click); - f8->setWhatsThis(tr("Goes forward to the next page.")); + f8->setWhatsThis(tr("Goes forward to the next page of System Installation.")); f10 = new QShortcut(Qt::Key_F10, this); connect(f10, &QShortcut::activated, button(FinishButton), &QAbstractButton::click); - f10->setWhatsThis(tr("Finishes the wizard.")); + f10->setWhatsThis(tr("Completes the information gathering phase of System Installation.")); #ifdef HAS_INSTALL_ENV interfaces = probe_ifaces(); -- cgit v1.2.3-60-g2f50