X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fqtui%2Fsettingspages%2Fcorehighlightsettingspage.cpp;h=78805cf3c6a47ac3c263e0f41ec451f973ac6dbd;hb=e1dc333ae055788dd1a2da86ca72aa126c157697;hp=68d60176c8f766b0d37d0fac733b09f8b32304f4;hpb=63fc3ba0333a0555f6f04d49a45aa321b07d10ac;p=quassel.git diff --git a/src/qtui/settingspages/corehighlightsettingspage.cpp b/src/qtui/settingspages/corehighlightsettingspage.cpp index 68d60176..78805cf3 100644 --- a/src/qtui/settingspages/corehighlightsettingspage.cpp +++ b/src/qtui/settingspages/corehighlightsettingspage.cpp @@ -105,29 +105,57 @@ void CoreHighlightSettingsPage::setupRuleTable(QTableWidget *table) const table->verticalHeader()->hide(); table->setShowGrid(false); + table->horizontalHeaderItem(CoreHighlightSettingsPage::EnableColumn)->setToolTip( + tr("Enable/disable this rule")); + table->horizontalHeaderItem(CoreHighlightSettingsPage::EnableColumn)->setWhatsThis( + table->horizontalHeaderItem(CoreHighlightSettingsPage::EnableColumn)->toolTip()); + + table->horizontalHeaderItem(CoreHighlightSettingsPage::NameColumn)->setToolTip( + tr("Phrase to match")); + table->horizontalHeaderItem(CoreHighlightSettingsPage::NameColumn)->setWhatsThis( + table->horizontalHeaderItem(CoreHighlightSettingsPage::NameColumn)->toolTip()); + 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, Sender, and " + "Channel should be interpreted as regular expressions or just as " + "keywords.")); table->horizontalHeaderItem(CoreHighlightSettingsPage::RegExColumn)->setWhatsThis( 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, Sender, and " + "Channel should be interpreted case sensitive.")); table->horizontalHeaderItem(CoreHighlightSettingsPage::CsColumn)->setWhatsThis( table->horizontalHeaderItem(CoreHighlightSettingsPage::CsColumn)->toolTip()); + table->horizontalHeaderItem(CoreHighlightSettingsPage::SenderColumn)->setToolTip( + tr("
Sender: Semicolon separated list of nick!ident@host names, " + "leave blank to match any nickname.
" + "Example:
"
+ "Alice!*; Bob!*@example.com; Carol*!*; !Caroline!*
"
+ "would match on Alice, Bob with hostmask example.com, and "
+ "any nickname starting with Carol except for Caroline
"
+ "
If only inverted names are specified, it will match anything except for " + "what's specified (implicit wildcard).
" + "Example:
"
+ "!Announce*!*; !Wheatley!aperture@*
"
+ "would match anything except for Wheatley with ident aperture or "
+ "any nickname starting with Announce
Channel: Semicolon separated list of channel names.
" + tr("Channel: Semicolon separated list of channel names, leave blank to " + "match any name.
" "Example:
"
"#quassel*; #foobar; !#quasseldroid
"
- "would match on #foobar and on any channel starting with #quassel except "
- "for #quasseldroid
"
+ "would match on #foobar and 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 "
+ "would match anything except for #foobar or any channel starting with "
"#quassel
Sender: Semicolon separated list of nick!ident@host names, " + "leave blank to match any nickname.
" + "Example:
"
+ "Alice!*; Bob!*@example.com; Carol*!*; !Caroline!*
"
+ "would match on Alice, Bob with hostmask example.com, and "
+ "any nickname starting with Carol except for Caroline
"
+ "
If only inverted names are specified, it will match anything except for " + "what's specified (implicit wildcard).
" + "Example:
"
+ "!Announce*!*; !Wheatley!aperture@*
"
+ "would match anything except for Wheatley with ident aperture or "
+ "any nickname starting with Announce
Channel: Semicolon separated list of channel names.
" + tr("Channel: Semicolon separated list of channel names, leave blank to " + "match any name.
" "Example:
"
"#quassel*; #foobar; !#quasseldroid
"
- "would match on #foobar and on any channel starting with #quassel except "
- "for #quasseldroid
"
+ "would match on #foobar and 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 "
+ "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 "
+ "would match on #foobar and 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).
"