1 <?xml version="1.0" encoding="UTF-8"?>
3 <author>Sebastian Goth <seezer@roath.org></author>
4 <class>IgnoreListEditDlg</class>
5 <widget class="QDialog" name="IgnoreListEditDlg">
6 <property name="geometry">
14 <property name="windowTitle">
15 <string>Configure Ignore Rule</string>
17 <property name="windowIcon">
18 <iconset resource="../../../icons/oxygen.qrc">
19 <normaloff>:/icons/oxygen/16x16/actions/configure.png</normaloff>:/icons/oxygen/16x16/actions/configure.png</iconset>
21 <layout class="QVBoxLayout" name="verticalLayout_5">
23 <layout class="QHBoxLayout" name="horizontalLayout_4">
25 <widget class="QGroupBox" name="strictnessGroupBox">
26 <property name="toolTip">
27 <string><p><b>Strictness:</b></p>
28 <p><u>Dynamic:</u></p>
29 <p>Messages are filtered "on the fly".
30 Whenever you disable/delete the ignore rule, the messages are shown again.</p>
31 <p><u>Permanent:</u></p>
32 <p>Messages are filtered before they get stored in the database.</p></string>
34 <property name="title">
35 <string>Strictness</string>
37 <layout class="QVBoxLayout" name="verticalLayout_2">
39 <widget class="QRadioButton" name="dynamicStrictnessButton">
40 <property name="text">
41 <string>Dynamic</string>
46 <widget class="QRadioButton" name="permanentStrictnessButton">
47 <property name="text">
48 <string>Permanent</string>
56 <widget class="QGroupBox" name="typeGroupBox">
57 <property name="toolTip">
58 <string><p><b>Rule Type:</b></p>
59 <p><u>Sender:</u></p>
60 <p>The rule is matched against the sender string
61 <i>nick!ident@host.name<i></p>
62 <p><u>Message:</u></p>
63 <p>The rule is matched against the actual message content</p></string>
65 <property name="title">
66 <string>Rule Type</string>
68 <layout class="QVBoxLayout" name="verticalLayout_4">
70 <widget class="QRadioButton" name="senderTypeButton">
71 <property name="text">
72 <string>Sender</string>
77 <widget class="QRadioButton" name="messageTypeButton">
78 <property name="text">
79 <string>Message</string>
89 <widget class="QGroupBox" name="ignoreRuleGroupBox">
90 <property name="toolTip">
91 <string><p><b>Ignore rule:</b></p>
92 <p>Depending on the type of the rule, the text is matched against either:</p>
93 <p><u>- the message content:</u></p>
94 <p><i>Example:</i>
96 <i>*foobar*</i> matches any text containing the word <i>foobar</i></p>
97 <p><u>- the sender string</u> <i>(nick!ident@host.name)</i></p>
98 <p><i>Examples:</i>
100 - <i>*@foobar.com</i> matches any sender from host <i>foobar.com</i>
102 - <i>stupid!.+</i> (RegEx) matches any sender with nickname <i>stupid</i> from any host</p></string>
104 <property name="title">
105 <string>Ignore Rule</string>
107 <layout class="QVBoxLayout" name="verticalLayout">
109 <widget class="QLineEdit" name="ignoreRuleLineEdit"/>
112 <layout class="QHBoxLayout" name="horizontalLayout_5">
114 <widget class="QCheckBox" name="isRegExCheckBox">
115 <property name="toolTip">
116 <string><p><b>Use regular expressions:</b></p>
117 <p>If enabled, rules follow regular expression syntax.</p>
118 <p>Otherwise rules allow wildcard matching with the following special characters:</p>
119 <p> *: representing "any amount of any character"
121 ?: representing "exactly one character"</p></string>
123 <property name="text">
124 <string>Regular expression</string>
134 <widget class="QGroupBox" name="scopeGroupBox">
135 <property name="toolTip">
136 <string><p><b>Scope:</b></p>
137 <p><u>Global:</u></p>
138 <p>The rule is active for any channel on any network</p>
139 <p><u>Network:</u></p>
140 <p>The list below is interpreted as a list of networks for which the rule should match</p>
141 <p><u>Channel:</u></p>
142 <p>The list below is interpreted as a list of channels for which the rule should match</p></string>
144 <property name="title">
145 <string>Scope</string>
147 <layout class="QHBoxLayout" name="horizontalLayout">
149 <layout class="QVBoxLayout" name="verticalLayout_3">
151 <widget class="QRadioButton" name="globalScopeButton">
152 <property name="text">
153 <string>Global</string>
158 <widget class="QRadioButton" name="networkScopeButton">
159 <property name="text">
160 <string>Network</string>
165 <widget class="QRadioButton" name="channelScopeButton">
166 <property name="text">
167 <string>Channel</string>
174 <widget class="QPlainTextEdit" name="scopeRuleTextEdit">
175 <property name="toolTip">
176 <string><p><b>Scope rule:</b></p>
177 <p>A scope rule is a semicolon separated list of either <i>network</i> or <i>channel</i> names.</p>
178 <p><i>Example:</i>
180 <i>#quassel*; #foobar</i>
182 would match on #foobar and on any channel starting with <i>#quassel</i></p></string>
190 <layout class="QHBoxLayout" name="horizontalLayout_6">
192 <spacer name="horizontalSpacer">
193 <property name="orientation">
194 <enum>Qt::Horizontal</enum>
196 <property name="sizeHint" stdset="0">
205 <widget class="QCheckBox" name="isActiveCheckBox">
206 <property name="toolTip">
207 <string><p><b>Enable / Disable:</b></p>
208 <p>Only enabled rules are filtered.
210 For dynamic rules, disabling actually shows the filtered messages again.</p></string>
212 <property name="text">
213 <string>Rule is enabled</string>
218 <widget class="QDialogButtonBox" name="buttonBox">
219 <property name="orientation">
220 <enum>Qt::Horizontal</enum>
222 <property name="standardButtons">
223 <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
232 <include location="../../../icons/oxygen.qrc"/>
236 <sender>buttonBox</sender>
237 <signal>accepted()</signal>
238 <receiver>IgnoreListEditDlg</receiver>
239 <slot>accept()</slot>
241 <hint type="sourcelabel">
245 <hint type="destinationlabel">
252 <sender>buttonBox</sender>
253 <signal>rejected()</signal>
254 <receiver>IgnoreListEditDlg</receiver>
255 <slot>reject()</slot>
257 <hint type="sourcelabel">
261 <hint type="destinationlabel">