X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fsettingspages%2Fcorehighlightsettingspage.cpp;h=55266d0560af7a7960614670428567529794a0d3;hp=444afd1c2c6f29afe016454a4acd3d249fd7a4da;hb=0eb413175783a04999ce04c5db8a9b9132ea0d8c;hpb=777d91165d4548099d63f5ed216a2c457fee4029 diff --git a/src/qtui/settingspages/corehighlightsettingspage.cpp b/src/qtui/settingspages/corehighlightsettingspage.cpp index 444afd1c..55266d05 100644 --- a/src/qtui/settingspages/corehighlightsettingspage.cpp +++ b/src/qtui/settingspages/corehighlightsettingspage.cpp @@ -101,19 +101,31 @@ void CoreHighlightSettingsPage::setupRuleTable(QTableWidget *table) const table->setShowGrid(false); table->horizontalHeaderItem(CoreHighlightSettingsPage::RegExColumn)->setToolTip( - tr("RegEx: This option determines if the highlight rule should be interpreted as a regular expression or just as a keyword.")); + tr("RegEx: This option determines if the highlight rule should be " + "interpreted as a regular expression or just as a keyword.")); table->horizontalHeaderItem(CoreHighlightSettingsPage::RegExColumn)->setWhatsThis( - tr("RegEx: This option determines if the highlight rule should be interpreted as a regular expression or just as a keyword.")); + table->horizontalHeaderItem(CoreHighlightSettingsPage::RegExColumn)->toolTip()); table->horizontalHeaderItem(CoreHighlightSettingsPage::CsColumn)->setToolTip( - tr("CS: This option determines if the highlight rule should be interpreted case sensitive.")); + tr("CS: This option determines if the highlight rule should be interpreted " + "case sensitive.")); table->horizontalHeaderItem(CoreHighlightSettingsPage::CsColumn)->setWhatsThis( - tr("CS: This option determines if the highlight rule should be interpreted case sensitive.")); + table->horizontalHeaderItem(CoreHighlightSettingsPage::CsColumn)->toolTip()); table->horizontalHeaderItem(CoreHighlightSettingsPage::ChanColumn)->setToolTip( - tr("Channel: This regular expression determines for which channels the highlight rule works. Leave blank to match any channel. Put ! in the beginning to negate. Case insensitive.")); + tr("
Channel: Semicolon separated list of channel names.
" + "Example:
"
+ "#quassel*; #foobar; !#quasseldroid
"
+ "would match on #foobar and on any channel starting with #quassel except "
+ "for #quasseldroid
"
+ "
If only inverted names are specified, it will match anything except for " + "what's specified (implicit wildcard).
" + "Example:
"
+ "!#quassel*; !#foobar
"
+ "would match anything except for #foobar or any channel starting with "
+ "#quassel
Channel: Semicolon separated list of channel names.
" + "Example:
"
+ "#quassel*; #foobar; !#quasseldroid
"
+ "would match on #foobar and on any channel starting with #quassel except "
+ "for #quasseldroid
"
+ "
If only inverted names are specified, it will match anything except for " + "what's specified (implicit wildcard).
" + "Example:
"
+ "!#quassel*; !#foobar
"
+ "would match anything except for #foobar or any channel starting with "
+ "#quassel
Channel: Semicolon separated list of channel names.
" + "Example:
"
+ "#quassel*; #foobar; !#quasseldroid
"
+ "would match on #foobar and on any channel starting with #quassel except "
+ "for #quasseldroid
"
+ "
If only inverted names are specified, it will match anything except for " + "what's specified (implicit wildcard).
" + "Example:
"
+ "!#quassel*; !#foobar
"
+ "would match anything except for #foobar or any channel starting with "
+ "#quassel