From 03ffc2ddeec36f76502b0227ecaa29fb17fca656 Mon Sep 17 00:00:00 2001 From: Tasos Sahanidis Date: Sun, 2 Dec 2018 04:06:08 +0200 Subject: [PATCH] Show warning about scroll on tray being disabled --- src/gui/extrasettingswidget.cpp | 4 ++ src/gui/extrasettingswidget.ui | 120 ++++++++++++++++++-------------- 2 files changed, 72 insertions(+), 52 deletions(-) diff --git a/src/gui/extrasettingswidget.cpp b/src/gui/extrasettingswidget.cpp index 16048b8e..c17111fd 100644 --- a/src/gui/extrasettingswidget.cpp +++ b/src/gui/extrasettingswidget.cpp @@ -71,6 +71,10 @@ ExtraSettingsWidget::ExtraSettingsWidget(QWidget *parent) : // Read start delay ui->startDelayBox->setChecked(settings.value("StartDelay").toBool()); + +#ifndef Q_OS_LINUX + ui->scrollWarningLabel->hide(); +#endif } ExtraSettingsWidget::~ExtraSettingsWidget(){ diff --git a/src/gui/extrasettingswidget.ui b/src/gui/extrasettingswidget.ui index 3a2096be..c9a655b0 100644 --- a/src/gui/extrasettingswidget.ui +++ b/src/gui/extrasettingswidget.ui @@ -14,7 +14,23 @@ Application Settings - + + + + Qt::Vertical + + + QSizePolicy::Fixed + + + + 0 + 28 + + + + + @@ -27,14 +43,14 @@ - + Qt::Horizontal - + When using macros with strings longer than 25 chars, some OS may lose characters (e.g. Mint 17.2). Select to prevent that bug. @@ -44,7 +60,7 @@ - + Qt::Horizontal @@ -57,7 +73,7 @@ - + Qt::Vertical @@ -73,7 +89,7 @@ - + Qt::Vertical @@ -89,7 +105,7 @@ - + Qt::Vertical @@ -105,7 +121,7 @@ - + Qt::Horizontal @@ -121,14 +137,14 @@ - + Qt::Horizontal - + Qt::Vertical @@ -141,7 +157,7 @@ - + @@ -154,7 +170,7 @@ - + @@ -167,7 +183,7 @@ - + Qt::Horizontal @@ -183,14 +199,14 @@ - + Location: - + 5 @@ -243,7 +259,7 @@ - + Qt::Vertical @@ -275,14 +291,14 @@ - + Frame rate (FPS): - + Qt::Vertical @@ -298,7 +314,7 @@ - + Qt::Vertical @@ -314,7 +330,7 @@ - + @@ -371,7 +387,14 @@ - + + + + Qt::Horizontal + + + + May improve appearance on some keyboards. @@ -381,7 +404,7 @@ - + Try this if you're having problems with the scroll wheel. @@ -391,30 +414,7 @@ - - - - Qt::Vertical - - - QSizePolicy::Fixed - - - - 0 - 28 - - - - - - - - Qt::Horizontal - - - - + Qt::Vertical @@ -430,7 +430,7 @@ - + @@ -464,7 +464,7 @@ - + Qt::Horizontal @@ -474,7 +474,7 @@ - + @@ -487,7 +487,7 @@ - + Qt::Vertical @@ -503,7 +503,7 @@ - + Try this if you're having problems with mouse movement. @@ -513,13 +513,29 @@ - + Delay application start + + + + true + + + + 8 + true + + + + Enabling per-mode brightness will disable scrolling on the tray icon to change the brightness level + + +