add warning
This commit is contained in:
parent
2e8108aaf5
commit
7fc5d1b582
2 changed files with 12 additions and 4 deletions
|
@ -19,6 +19,11 @@ SettingsNotifications::SettingsNotifications(Settings* settings, QWidget* parent
|
||||||
->setHelpText(tr("There are some built-in notification 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);
|
true);
|
||||||
|
|
||||||
|
m_ui.m_lblNativeNotif->setHelpText(tr("Note that native notifications might have some OS-dependent limitations. For "
|
||||||
|
"example Windows OS is known to limit the amount of notification originating "
|
||||||
|
"from each app during short span of time."),
|
||||||
|
true);
|
||||||
|
|
||||||
connect(m_ui.m_checkEnableNotifications, &QCheckBox::toggled, this, &SettingsNotifications::dirtifySettings);
|
connect(m_ui.m_checkEnableNotifications, &QCheckBox::toggled, this, &SettingsNotifications::dirtifySettings);
|
||||||
connect(m_ui.m_editor, &NotificationsEditor::someNotificationChanged, this, &SettingsNotifications::dirtifySettings);
|
connect(m_ui.m_editor, &NotificationsEditor::someNotificationChanged, this, &SettingsNotifications::dirtifySettings);
|
||||||
|
|
||||||
|
|
|
@ -31,9 +31,6 @@
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="3" column="0" colspan="2">
|
|
||||||
<widget class="HelpSpoiler" name="m_lblInfo" native="true"/>
|
|
||||||
</item>
|
|
||||||
<item row="2" column="0" colspan="2">
|
<item row="2" column="0" colspan="2">
|
||||||
<widget class="QGroupBox" name="m_gbNotificationsType">
|
<widget class="QGroupBox" name="m_gbNotificationsType">
|
||||||
<property name="title">
|
<property name="title">
|
||||||
|
@ -57,7 +54,7 @@
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="2" column="0" colspan="2">
|
<item row="3" column="0" colspan="2">
|
||||||
<widget class="QWidget" name="m_wdgCustomNotifications" native="true">
|
<widget class="QWidget" name="m_wdgCustomNotifications" native="true">
|
||||||
<layout class="QFormLayout" name="formLayout_3">
|
<layout class="QFormLayout" name="formLayout_3">
|
||||||
<property name="leftMargin">
|
<property name="leftMargin">
|
||||||
|
@ -166,9 +163,15 @@
|
||||||
</layout>
|
</layout>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
<item row="2" column="0" colspan="2">
|
||||||
|
<widget class="HelpSpoiler" name="m_lblNativeNotif" native="true"/>
|
||||||
|
</item>
|
||||||
</layout>
|
</layout>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
<item row="3" column="0" colspan="2">
|
||||||
|
<widget class="HelpSpoiler" name="m_lblInfo" native="true"/>
|
||||||
|
</item>
|
||||||
</layout>
|
</layout>
|
||||||
</widget>
|
</widget>
|
||||||
<customwidgets>
|
<customwidgets>
|
||||||
|
|
Loading…
Add table
Reference in a new issue