summaryrefslogtreecommitdiff
path: root/ui/qt5/pkgsimple.cc
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2020-05-17 04:10:26 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2020-05-17 04:10:26 -0500
commit309351017d15c755940da0bba1b8c3bf6bae40b8 (patch)
tree59003eb75833651d3a29c64be6031e7ffdb973ac /ui/qt5/pkgsimple.cc
parent3a1de05ba868d3a0f6c291ed83997b735575bb94 (diff)
downloadhorizon-309351017d15c755940da0bba1b8c3bf6bae40b8.tar.gz
horizon-309351017d15c755940da0bba1b8c3bf6bae40b8.tar.bz2
horizon-309351017d15c755940da0bba1b8c3bf6bae40b8.tar.xz
horizon-309351017d15c755940da0bba1b8c3bf6bae40b8.zip
Qt UI: Add What's This to all controls missing it
Diffstat (limited to 'ui/qt5/pkgsimple.cc')
-rw-r--r--ui/qt5/pkgsimple.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/ui/qt5/pkgsimple.cc b/ui/qt5/pkgsimple.cc
index ecb192a..b784bc6 100644
--- a/ui/qt5/pkgsimple.cc
+++ b/ui/qt5/pkgsimple.cc
@@ -36,6 +36,7 @@ PkgSimplePage::PkgSimplePage(QWidget *parent) : HorizonWizardPage(parent) {
standardLabel = new QLabel(tr("Includes a full KDE desktop environment, including Web browser, email client, media player, and office suite."));
standardLabel->setBuddy(standardButton);
standardLabel->setWordWrap(true);
+ standardButton->setWhatsThis(standardLabel->text());
mobileButton = new QRadioButton(tr("&Mobile"));
mobileButton->setIcon(QIcon::fromTheme("battery"));
@@ -43,6 +44,7 @@ PkgSimplePage::PkgSimplePage(QWidget *parent) : HorizonWizardPage(parent) {
mobileLabel = new QLabel(tr("Includes the Standard software and additional utilities for notebook and tablet computers."));
mobileLabel->setBuddy(mobileButton);
mobileLabel->setWordWrap(true);
+ mobileButton->setWhatsThis(mobileLabel->text());
compactButton = new QRadioButton(tr("&Compact"));
compactButton->setIcon(QIcon::fromTheme("preferences-ubuntu-panel"));
@@ -50,6 +52,7 @@ PkgSimplePage::PkgSimplePage(QWidget *parent) : HorizonWizardPage(parent) {
compactLabel = new QLabel(tr("Includes a lightweight LXQt desktop environment and a text editor."));
compactLabel->setBuddy(compactButton);
compactLabel->setWordWrap(true);
+ compactButton->setWhatsThis(compactLabel->text());
textButton = new QRadioButton(tr("&Text-Only"));
textButton->setIcon(QIcon::fromTheme("utilities-terminal"));
@@ -57,6 +60,7 @@ PkgSimplePage::PkgSimplePage(QWidget *parent) : HorizonWizardPage(parent) {
textLabel = new QLabel(tr("Includes support for text-mode only. Select this option on servers, or computers with very limited resources."));
textLabel->setBuddy(textButton);
textLabel->setWordWrap(true);
+ textButton->setWhatsThis(textLabel->text());
customButton = new QRadioButton(tr("C&ustom"));
customButton->setIcon(QIcon::fromTheme("preferences-activities"));
@@ -64,6 +68,7 @@ PkgSimplePage::PkgSimplePage(QWidget *parent) : HorizonWizardPage(parent) {
customLabel = new QLabel(tr("Customise the packages installed on your computer."));
customLabel->setBuddy(customButton);
customLabel->setWordWrap(true);
+ customButton->setWhatsThis(customLabel->text());
QButtonGroup *group = new QButtonGroup(this);
group->addButton(standardButton, HorizonWizard::Standard);