rename translation files to <2 letter ISO code>.po
[quassel.git] / src / qtui / settingspages / ignorelisteditdlg.ui
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3  <author>Sebastian Goth &lt;seezer@roath.org&gt;</author>
4  <class>IgnoreListEditDlg</class>
5  <widget class="QDialog" name="IgnoreListEditDlg">
6   <property name="geometry">
7    <rect>
8     <x>0</x>
9     <y>0</y>
10     <width>389</width>
11     <height>368</height>
12    </rect>
13   </property>
14   <property name="windowTitle">
15    <string>Configure Ignore Rule</string>
16   </property>
17   <property name="windowIcon">
18    <iconset>
19     <normaloff>:/icons/oxygen/16x16/actions/configure.png</normaloff>:/icons/oxygen/16x16/actions/configure.png</iconset>
20   </property>
21   <layout class="QVBoxLayout" name="verticalLayout_5">
22    <item>
23     <layout class="QHBoxLayout" name="horizontalLayout_4">
24      <item>
25       <widget class="QGroupBox" name="strictnessGroupBox">
26        <property name="toolTip">
27         <string>&lt;p&gt;&lt;b&gt;Strictness:&lt;/b&gt;&lt;/p&gt;
28 &lt;p&gt;&lt;u&gt;Dynamic:&lt;/u&gt;&lt;/p&gt;
29 &lt;p&gt;Messages are filtered &quot;on the fly&quot;.
30 Whenever you disable/delete the ignore rule, the messages are shown again.&lt;/p&gt;
31 &lt;p&gt;&lt;u&gt;Permanent:&lt;/u&gt;&lt;/p&gt;
32 &lt;p&gt;Messages are filtered before they get stored in the database.&lt;/p&gt;</string>
33        </property>
34        <property name="title">
35         <string>Strictness</string>
36        </property>
37        <layout class="QVBoxLayout" name="verticalLayout_2">
38         <item>
39          <widget class="QRadioButton" name="dynamicStrictnessButton">
40           <property name="text">
41            <string>Dynamic</string>
42           </property>
43          </widget>
44         </item>
45         <item>
46          <widget class="QRadioButton" name="permanentStrictnessButton">
47           <property name="text">
48            <string>Permanent</string>
49           </property>
50          </widget>
51         </item>
52        </layout>
53       </widget>
54      </item>
55      <item>
56       <widget class="QGroupBox" name="typeGroupBox">
57        <property name="toolTip">
58         <string>&lt;p&gt;&lt;b&gt;Rule Type:&lt;/b&gt;&lt;/p&gt;
59 &lt;p&gt;&lt;u&gt;Sender:&lt;/u&gt;&lt;/p&gt;
60 &lt;p&gt;The rule is matched against the sender string
61 &lt;i&gt;nick!ident@host.name&lt;i&gt;&lt;/p&gt;
62 &lt;p&gt;&lt;u&gt;Message:&lt;/u&gt;&lt;/p&gt;
63 &lt;p&gt;The rule is matched against the actual message content&lt;/p&gt;</string>
64        </property>
65        <property name="title">
66         <string>Rule Type</string>
67        </property>
68        <layout class="QVBoxLayout" name="verticalLayout_4">
69         <item>
70          <widget class="QRadioButton" name="senderTypeButton">
71           <property name="text">
72            <string>Sender</string>
73           </property>
74          </widget>
75         </item>
76         <item>
77          <widget class="QRadioButton" name="messageTypeButton">
78           <property name="text">
79            <string>Message</string>
80           </property>
81          </widget>
82         </item>
83        </layout>
84       </widget>
85      </item>
86     </layout>
87    </item>
88    <item>
89     <widget class="QGroupBox" name="ignoreRuleGroupBox">
90      <property name="toolTip">
91       <string>&lt;p&gt;&lt;b&gt;Ignore rule:&lt;/b&gt;&lt;/p&gt;
92 &lt;p&gt;Depending on the type of the rule, the text is matched against either:&lt;/p&gt;
93 &lt;p&gt;&lt;u&gt;- the message content:&lt;/u&gt;&lt;/p&gt;
94 &lt;p&gt;&lt;i&gt;Example:&lt;/i&gt;
95 &lt;br /&gt;
96 &lt;i&gt;*foobar*&lt;/i&gt; matches any text containing the word &lt;i&gt;foobar&lt;/i&gt;&lt;/p&gt;
97 &lt;p&gt;&lt;u&gt;- the sender string&lt;/u&gt;  &lt;i&gt;(nick!ident@host.name)&lt;/i&gt;&lt;/p&gt;
98 &lt;p&gt;&lt;i&gt;Examples:&lt;/i&gt;
99 &lt;br /&gt;
100 - &lt;i&gt;*@foobar.com&lt;/i&gt; matches any sender from host &lt;i&gt;foobar.com&lt;/i&gt;
101 &lt;br /&gt;
102 - &lt;i&gt;stupid!.+&lt;/i&gt; (RegEx) matches any sender with nickname &lt;i&gt;stupid&lt;/i&gt; from any host&lt;/p&gt;</string>
103      </property>
104      <property name="title">
105       <string>Ignore Rule</string>
106      </property>
107      <layout class="QVBoxLayout" name="verticalLayout">
108       <item>
109        <widget class="QLineEdit" name="ignoreRuleLineEdit"/>
110       </item>
111       <item>
112        <layout class="QHBoxLayout" name="horizontalLayout_5">
113         <item>
114          <widget class="QCheckBox" name="isRegExCheckBox">
115           <property name="toolTip">
116            <string>&lt;p&gt;&lt;b&gt;Use regular expressions:&lt;/b&gt;&lt;/p&gt;
117 &lt;p&gt;If enabled, rules follow regular expression syntax.&lt;/p&gt;
118 &lt;p&gt;Otherwise rules allow wildcard matching with the following special characters:&lt;/p&gt;
119 &lt;p&gt; *: representing &quot;any amount of any character&quot;
120 &lt;br /&gt;
121 ?: representing &quot;exactly one character&quot;&lt;/p&gt;</string>
122           </property>
123           <property name="text">
124            <string>Regular expression</string>
125           </property>
126          </widget>
127         </item>
128        </layout>
129       </item>
130      </layout>
131     </widget>
132    </item>
133    <item>
134     <widget class="QGroupBox" name="scopeGroupBox">
135      <property name="toolTip">
136       <string>&lt;p&gt;&lt;b&gt;Scope:&lt;/b&gt;&lt;/p&gt;
137 &lt;p&gt;&lt;u&gt;Global:&lt;/u&gt;&lt;/p&gt;
138 &lt;p&gt;The rule is active for any channel on any network&lt;/p&gt;
139 &lt;p&gt;&lt;u&gt;Network:&lt;/u&gt;&lt;/p&gt;
140 &lt;p&gt;The list below is interpreted as a list of networks for which the rule should match&lt;/p&gt;
141 &lt;p&gt;&lt;u&gt;Channel:&lt;/u&gt;&lt;/p&gt;
142 &lt;p&gt;The list below is interpreted as a list of channels for which the rule should match&lt;/p&gt;</string>
143      </property>
144      <property name="title">
145       <string>Scope</string>
146      </property>
147      <layout class="QHBoxLayout" name="horizontalLayout">
148       <item>
149        <layout class="QVBoxLayout" name="verticalLayout_3">
150         <item>
151          <widget class="QRadioButton" name="globalScopeButton">
152           <property name="text">
153            <string>Global</string>
154           </property>
155          </widget>
156         </item>
157         <item>
158          <widget class="QRadioButton" name="networkScopeButton">
159           <property name="text">
160            <string>Network</string>
161           </property>
162          </widget>
163         </item>
164         <item>
165          <widget class="QRadioButton" name="channelScopeButton">
166           <property name="text">
167            <string>Channel</string>
168           </property>
169          </widget>
170         </item>
171        </layout>
172       </item>
173       <item>
174        <widget class="QPlainTextEdit" name="scopeRuleTextEdit">
175         <property name="toolTip">
176          <string>&lt;p&gt;&lt;b&gt;Scope rule:&lt;/b&gt;&lt;/p&gt;
177 &lt;p&gt;A scope rule is a semicolon separated list of either &lt;i&gt;network&lt;/i&gt; or &lt;i&gt;channel&lt;/i&gt; names.&lt;/p&gt;
178 &lt;p&gt;&lt;i&gt;Example:&lt;/i&gt;
179 &lt;br /&gt;
180 &lt;i&gt;#quassel*; #foobar&lt;/i&gt;
181 &lt;br /&gt;
182 would match on #foobar and on any channel starting with &lt;i&gt;#quassel&lt;/i&gt;&lt;/p&gt;</string>
183         </property>
184        </widget>
185       </item>
186      </layout>
187     </widget>
188    </item>
189    <item>
190     <layout class="QHBoxLayout" name="horizontalLayout_6">
191      <item>
192       <spacer name="horizontalSpacer">
193        <property name="orientation">
194         <enum>Qt::Horizontal</enum>
195        </property>
196        <property name="sizeHint" stdset="0">
197         <size>
198          <width>40</width>
199          <height>20</height>
200         </size>
201        </property>
202       </spacer>
203      </item>
204      <item>
205       <widget class="QCheckBox" name="isActiveCheckBox">
206        <property name="toolTip">
207         <string>&lt;p&gt;&lt;b&gt;Enable / Disable:&lt;/b&gt;&lt;/p&gt;
208 &lt;p&gt;Only enabled rules are filtered.
209 &lt;br /&gt;
210 For dynamic rules, disabling actually shows the filtered messages again.&lt;/p&gt;</string>
211        </property>
212        <property name="text">
213         <string>Rule is enabled</string>
214        </property>
215       </widget>
216      </item>
217      <item>
218       <widget class="QDialogButtonBox" name="buttonBox">
219        <property name="orientation">
220         <enum>Qt::Horizontal</enum>
221        </property>
222        <property name="standardButtons">
223         <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
224        </property>
225       </widget>
226      </item>
227     </layout>
228    </item>
229   </layout>
230  </widget>
231  <tabstops>
232   <tabstop>dynamicStrictnessButton</tabstop>
233   <tabstop>permanentStrictnessButton</tabstop>
234   <tabstop>senderTypeButton</tabstop>
235   <tabstop>messageTypeButton</tabstop>
236   <tabstop>ignoreRuleLineEdit</tabstop>
237   <tabstop>isRegExCheckBox</tabstop>
238   <tabstop>scopeRuleTextEdit</tabstop>
239   <tabstop>globalScopeButton</tabstop>
240   <tabstop>networkScopeButton</tabstop>
241   <tabstop>channelScopeButton</tabstop>
242   <tabstop>isActiveCheckBox</tabstop>
243   <tabstop>buttonBox</tabstop>
244  </tabstops>
245  <resources>
246   <include location="../../../icons/oxygen.qrc"/>
247  </resources>
248  <connections>
249   <connection>
250    <sender>buttonBox</sender>
251    <signal>accepted()</signal>
252    <receiver>IgnoreListEditDlg</receiver>
253    <slot>accept()</slot>
254    <hints>
255     <hint type="sourcelabel">
256      <x>248</x>
257      <y>254</y>
258     </hint>
259     <hint type="destinationlabel">
260      <x>157</x>
261      <y>274</y>
262     </hint>
263    </hints>
264   </connection>
265   <connection>
266    <sender>buttonBox</sender>
267    <signal>rejected()</signal>
268    <receiver>IgnoreListEditDlg</receiver>
269    <slot>reject()</slot>
270    <hints>
271     <hint type="sourcelabel">
272      <x>316</x>
273      <y>260</y>
274     </hint>
275     <hint type="destinationlabel">
276      <x>286</x>
277      <y>274</y>
278     </hint>
279    </hints>
280   </connection>
281  </connections>
282 </ui>