From 315dfa86501215cfe090ca36a3fc5c495a74e5cb Mon Sep 17 00:00:00 2001 From: OmegaPhil Date: Sat, 14 Feb 2015 16:50:13 +0000 Subject: Allow user to prevent notices from triggering the notifier Fixes https://svn.kvirc.de/kvirc/ticket/1476 git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@6441 17fca916-40b9-46aa-a4ea-0a15b648b75c --- src/modules/options/OptionsWidget_query.cpp | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'src/modules') diff --git a/src/modules/options/OptionsWidget_query.cpp b/src/modules/options/OptionsWidget_query.cpp index d9d113745..ddfdd227b 100644 --- a/src/modules/options/OptionsWidget_query.cpp +++ b/src/modules/options/OptionsWidget_query.cpp @@ -82,17 +82,22 @@ OptionsWidget_query::OptionsWidget_query(QWidget * parent) __tr2qs_ctx("
This option causes a small notifier window to pop up " \ "in the low right corner of the screen when a new message is received " \ "and the KVIrc window is not active.
","options")); - b = addBoolSelector(0,5,1,5, __tr2qs_ctx("Show information about query target at the top of the query","options"),KviOption_boolShowExtendedInfoInQueryLabel); + b = addBoolSelector(0,5,1,5, __tr2qs_ctx("Popup notifier on new notice","options"),KviOption_boolPopupNotifierOnNewNotices); + mergeTip(b, + __tr2qs_ctx("
This option causes a small notifier window to pop up " \ + "in the low right corner of the screen when a new notice is received " \ + "and the KVIrc window is not active.
","options")); + b = addBoolSelector(0,6,1,6, __tr2qs_ctx("Show information about query target at the top of the query","options"),KviOption_boolShowExtendedInfoInQueryLabel); mergeTip(b, __tr2qs_ctx("
This option enables query window information " \ "label. It can show you known information about query target at the top of the window.
" \ "Uncheck if you think,that it wastes your query space" \ "
","options")); - b = addBoolSelector(0,6,1,6,__tr2qs_ctx("Paste last query log","options"),KviOption_boolPasteLastLogOnQueryJoin); + b = addBoolSelector(0,7,1,7,__tr2qs_ctx("Paste last query log","options"),KviOption_boolPasteLastLogOnQueryJoin); KviTalHBox * box = new KviTalHBox(this); - addWidgetToLayout(box,0,7,1,7); + addWidgetToLayout(box,0,8,1,8); KviUIntSelector * u = addUIntSelector(box,__tr2qs_ctx("Paste up to:","options"),KviOption_uintLinesToPasteOnQueryJoin,0,50,10,KVI_OPTION_BOOL(KviOption_boolPasteLastLogOnQueryJoin)); u->setSuffix(__tr2qs_ctx(" lines","options")); @@ -103,7 +108,7 @@ OptionsWidget_query::OptionsWidget_query(QWidget * parent) mergeTip(u,__tr2qs_ctx("
Minimum value: 0 days
Maximum value: 10 days
","options")); connect(b,SIGNAL(toggled(bool)),u,SLOT(setEnabled(bool))); - addRowSpacer(0,8,1,8); + addRowSpacer(0,9,1,9); } OptionsWidget_query::~OptionsWidget_query() -- cgit v1.3.1-10-gc9f91