diff --git a/localization/rssguard_en.ts b/localization/rssguard_en.ts index 2a078efef..4ded2526f 100644 --- a/localization/rssguard_en.ts +++ b/localization/rssguard_en.ts @@ -6733,6 +6733,26 @@ Also, there are some built-in sounds. Just start typing ":" and they w Enable notifications + + + Notifications type + + + + + Native notifications (tray icon must be enabled) + + + + + Custom notifications + + + + + Position + + Notifications diff --git a/src/librssguard/gui/settings/settingsnotifications.cpp b/src/librssguard/gui/settings/settingsnotifications.cpp index 8c462a689..e18ebe0ef 100644 --- a/src/librssguard/gui/settings/settingsnotifications.cpp +++ b/src/librssguard/gui/settings/settingsnotifications.cpp @@ -13,8 +13,7 @@ SettingsNotifications::SettingsNotifications(Settings* settings, QWidget* parent m_ui.setupUi(this); m_ui.m_lblInfo - ->setHelpText(tr("You must have \"tray icon\" activated to have balloon notifications working.\n\n" - "Also, there are some built-in sounds. Just start typing \":\" and they will show up."), + ->setHelpText(tr("There are some built-in notification sounds. Just start typing \":\" and they will show up."), true); connect(m_ui.m_checkEnableNotifications, &QCheckBox::toggled, this, &SettingsNotifications::dirtifySettings); diff --git a/src/librssguard/gui/settings/settingsnotifications.ui b/src/librssguard/gui/settings/settingsnotifications.ui index d2225494e..a67f9ac10 100644 --- a/src/librssguard/gui/settings/settingsnotifications.ui +++ b/src/librssguard/gui/settings/settingsnotifications.ui @@ -18,10 +18,7 @@ - - - - + false @@ -34,6 +31,54 @@ + + + + + + + Notifications type + + + + + + Native notifications (tray icon must be enabled) + + + + + + + Custom notifications + + + + + + + + 30 + + + + + Position + + + m_cbCustomNotificationsPosition + + + + + + + + + + + + @@ -71,5 +116,37 @@ + + m_checkEnableNotifications + toggled(bool) + m_gbNotificationsType + setEnabled(bool) + + + 183 + 24 + + + 183 + 107 + + + + + m_rbCustomNotifications + toggled(bool) + m_wdgCustomNotifications + setEnabled(bool) + + + 183 + 102 + + + 183 + 141 + + +