Merge pull request #189 from phuzion/master
[quassel.git] / src / qtui / settingspages / backlogsettingspage.ui
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3  <class>BacklogSettingsPage</class>
4  <widget class="QWidget" name="BacklogSettingsPage">
5   <property name="geometry">
6    <rect>
7     <x>0</x>
8     <y>0</y>
9     <width>446</width>
10     <height>325</height>
11    </rect>
12   </property>
13   <property name="windowTitle">
14    <string>Form</string>
15   </property>
16   <layout class="QVBoxLayout" name="verticalLayout">
17    <item>
18     <layout class="QHBoxLayout" name="horizontalLayout">
19      <item>
20       <widget class="QLabel" name="label_2">
21        <property name="toolTip">
22         <string>Number of messages to be requested from the core when using scrolling up in the buffer view.</string>
23        </property>
24        <property name="text">
25         <string>Dynamic backlog amount:</string>
26        </property>
27       </widget>
28      </item>
29      <item>
30       <widget class="QSpinBox" name="dynamicBacklogAmount">
31        <property name="maximum">
32         <number>99999</number>
33        </property>
34        <property name="singleStep">
35         <number>10</number>
36        </property>
37        <property name="value">
38         <number>200</number>
39        </property>
40        <property name="settingsKey" stdset="0">
41         <string notr="true">DynamicBacklogAmount</string>
42        </property>
43        <property name="defaultValue" stdset="0">
44         <number>200</number>
45        </property>
46       </widget>
47      </item>
48      <item>
49       <spacer name="horizontalSpacer">
50        <property name="orientation">
51         <enum>Qt::Horizontal</enum>
52        </property>
53        <property name="sizeHint" stdset="0">
54         <size>
55          <width>40</width>
56          <height>20</height>
57         </size>
58        </property>
59       </spacer>
60      </item>
61     </layout>
62    </item>
63    <item>
64     <widget class="Line" name="line">
65      <property name="orientation">
66       <enum>Qt::Horizontal</enum>
67      </property>
68     </widget>
69    </item>
70    <item>
71     <layout class="QHBoxLayout" name="horizontalLayout_5">
72      <item>
73       <widget class="QLabel" name="label_3">
74        <property name="text">
75         <string>Backlog request method:</string>
76        </property>
77       </widget>
78      </item>
79      <item>
80       <widget class="QComboBox" name="requesterType">
81        <item>
82         <property name="text">
83          <string>Fixed amount per chat</string>
84         </property>
85        </item>
86        <item>
87         <property name="text">
88          <string>Unread messages per chat</string>
89         </property>
90        </item>
91        <item>
92         <property name="text">
93          <string>Globally unread messages</string>
94         </property>
95        </item>
96       </widget>
97      </item>
98      <item>
99       <spacer name="horizontalSpacer_4">
100        <property name="orientation">
101         <enum>Qt::Horizontal</enum>
102        </property>
103        <property name="sizeHint" stdset="0">
104         <size>
105          <width>40</width>
106          <height>20</height>
107         </size>
108        </property>
109       </spacer>
110      </item>
111     </layout>
112    </item>
113    <item>
114     <widget class="QStackedWidget" name="stackedWidget">
115      <property name="currentIndex">
116       <number>0</number>
117      </property>
118      <widget class="QWidget" name="page">
119       <layout class="QVBoxLayout" name="verticalLayout_2">
120        <item>
121         <widget class="QLabel" name="label_9">
122          <property name="text">
123           <string>The simplest requester. It fetches a fixed amount of lines for each chat window from the backlog.</string>
124          </property>
125          <property name="textFormat">
126           <enum>Qt::PlainText</enum>
127          </property>
128          <property name="wordWrap">
129           <bool>true</bool>
130          </property>
131         </widget>
132        </item>
133        <item>
134         <layout class="QHBoxLayout" name="horizontalLayout_2">
135          <item>
136           <widget class="QLabel" name="label">
137            <property name="toolTip">
138             <string>Amount of messages per buffer that are requested after the core connection has been established.</string>
139            </property>
140            <property name="text">
141             <string>Initial backlog amount:</string>
142            </property>
143           </widget>
144          </item>
145          <item>
146           <widget class="QSpinBox" name="fixedBacklogAmount">
147            <property name="specialValueText">
148             <string/>
149            </property>
150            <property name="minimum">
151             <number>0</number>
152            </property>
153            <property name="maximum">
154             <number>99999</number>
155            </property>
156            <property name="singleStep">
157             <number>10</number>
158            </property>
159            <property name="value">
160             <number>500</number>
161            </property>
162            <property name="settingsKey" stdset="0">
163             <string notr="true">FixedBacklogAmount</string>
164            </property>
165            <property name="defaultValue" stdset="0">
166             <number>500</number>
167            </property>
168           </widget>
169          </item>
170          <item>
171           <spacer name="horizontalSpacer_2">
172            <property name="orientation">
173             <enum>Qt::Horizontal</enum>
174            </property>
175            <property name="sizeHint" stdset="0">
176             <size>
177              <width>263</width>
178              <height>20</height>
179             </size>
180            </property>
181           </spacer>
182          </item>
183         </layout>
184        </item>
185        <item>
186         <spacer name="verticalSpacer_4">
187          <property name="orientation">
188           <enum>Qt::Vertical</enum>
189          </property>
190          <property name="sizeHint" stdset="0">
191           <size>
192            <width>20</width>
193            <height>40</height>
194           </size>
195          </property>
196         </spacer>
197        </item>
198       </layout>
199      </widget>
200      <widget class="QWidget" name="page_2">
201       <layout class="QVBoxLayout" name="verticalLayout_3">
202        <item>
203         <widget class="QLabel" name="label_10">
204          <property name="text">
205           <string>This requester fetches unread messages for each chat window individually. The amount of lines can be limited per chat.
206
207 You can also choose to fetch additional older chatlines to provide a better context.</string>
208          </property>
209          <property name="textFormat">
210           <enum>Qt::PlainText</enum>
211          </property>
212          <property name="wordWrap">
213           <bool>true</bool>
214          </property>
215         </widget>
216        </item>
217        <item>
218         <layout class="QHBoxLayout" name="horizontalLayout_3">
219          <item>
220           <widget class="QLabel" name="label_11">
221            <property name="toolTip">
222             <string>Maximum amount of messages to be fetched per buffer.</string>
223            </property>
224            <property name="text">
225             <string>Limit:</string>
226            </property>
227           </widget>
228          </item>
229          <item>
230           <widget class="QSpinBox" name="perBufferUnreadLimit">
231            <property name="toolTip">
232             <string>Maximum amount of messages to be fetched per buffer.</string>
233            </property>
234            <property name="specialValueText">
235             <string>Unlimited</string>
236            </property>
237            <property name="minimum">
238             <number>-1</number>
239            </property>
240            <property name="maximum">
241             <number>99999</number>
242            </property>
243            <property name="singleStep">
244             <number>10</number>
245            </property>
246            <property name="value">
247             <number>1000</number>
248            </property>
249            <property name="settingsKey" stdset="0">
250             <string notr="true">PerBufferUnreadBacklogLimit</string>
251            </property>
252            <property name="defaultValue" stdset="0">
253             <number>1000</number>
254            </property>
255           </widget>
256          </item>
257          <item>
258           <widget class="QLabel" name="label_12">
259            <property name="toolTip">
260             <string>Amount of messages to be fetched in addition to the unread messages. The Limit does not apply here.</string>
261            </property>
262            <property name="text">
263             <string>Additional Messages:</string>
264            </property>
265           </widget>
266          </item>
267          <item>
268           <widget class="QSpinBox" name="perBufferUnreadAdditional">
269            <property name="toolTip">
270             <string>Amount of messages to be fetched in addition to the unread messages. The Limit does not apply here.</string>
271            </property>
272            <property name="maximum">
273             <number>1000</number>
274            </property>
275            <property name="singleStep">
276             <number>10</number>
277            </property>
278            <property name="value">
279             <number>50</number>
280            </property>
281            <property name="settingsKey" stdset="0">
282             <string notr="true">PerBufferUnreadBacklogAdditional</string>
283            </property>
284            <property name="defaultValue" stdset="0">
285             <number>50</number>
286            </property>
287           </widget>
288          </item>
289          <item>
290           <spacer name="horizontalSpacer_5">
291            <property name="orientation">
292             <enum>Qt::Horizontal</enum>
293            </property>
294            <property name="sizeHint" stdset="0">
295             <size>
296              <width>40</width>
297              <height>20</height>
298             </size>
299            </property>
300           </spacer>
301          </item>
302         </layout>
303        </item>
304        <item>
305         <spacer name="verticalSpacer_3">
306          <property name="orientation">
307           <enum>Qt::Vertical</enum>
308          </property>
309          <property name="sizeHint" stdset="0">
310           <size>
311            <width>20</width>
312            <height>40</height>
313           </size>
314          </property>
315         </spacer>
316        </item>
317       </layout>
318      </widget>
319      <widget class="QWidget" name="Seite">
320       <layout class="QVBoxLayout" name="verticalLayout_4">
321        <item>
322         <widget class="QLabel" name="label_15">
323          <property name="text">
324           <string>This requester fetches all messages newer than the oldest unread message for all chats.
325
326 Note: This requester is not recommended if you use hidden chat windows or have inactive chats (i.e.: no stale queries or channels).
327 It is useful to limit the total amount of the backlog and is probably the fastest.
328
329 You can also chose to fetch additional older chatlines to provide a better context.</string>
330          </property>
331          <property name="textFormat">
332           <enum>Qt::PlainText</enum>
333          </property>
334          <property name="wordWrap">
335           <bool>true</bool>
336          </property>
337         </widget>
338        </item>
339        <item>
340         <layout class="QHBoxLayout" name="horizontalLayout_4">
341          <item>
342           <widget class="QLabel" name="label_13">
343            <property name="toolTip">
344             <string>Maximum amount of messages to be fetched over all buffers.</string>
345            </property>
346            <property name="text">
347             <string>Limit:</string>
348            </property>
349           </widget>
350          </item>
351          <item>
352           <widget class="QSpinBox" name="globalUnreadLimit">
353            <property name="toolTip">
354             <string>Maximum amount of messages to be fetched per buffer.</string>
355            </property>
356            <property name="specialValueText">
357             <string>Unlimited</string>
358            </property>
359            <property name="minimum">
360             <number>-1</number>
361            </property>
362            <property name="maximum">
363             <number>100000</number>
364            </property>
365            <property name="singleStep">
366             <number>10</number>
367            </property>
368            <property name="value">
369             <number>200</number>
370            </property>
371            <property name="settingsKey" stdset="0">
372             <string notr="true">GlobalUnreadBacklogLimit</string>
373            </property>
374            <property name="defaultValue" stdset="0">
375             <number>200</number>
376            </property>
377           </widget>
378          </item>
379          <item>
380           <widget class="QLabel" name="label_14">
381            <property name="toolTip">
382             <string>Amount of messages to be fetched in addition to the unread messages. The Limit does not apply here.</string>
383            </property>
384            <property name="text">
385             <string>Additional Messages:</string>
386            </property>
387           </widget>
388          </item>
389          <item>
390           <widget class="QSpinBox" name="globalUnreadAdditional">
391            <property name="toolTip">
392             <string>Amount of messages to be fetched in addition to the unread messages. The Limit does not apply here.</string>
393            </property>
394            <property name="maximum">
395             <number>1000</number>
396            </property>
397            <property name="singleStep">
398             <number>10</number>
399            </property>
400            <property name="value">
401             <number>50</number>
402            </property>
403            <property name="settingsKey" stdset="0">
404             <string notr="true">GlobalUnreadBacklogAdditional</string>
405            </property>
406            <property name="defaultValue" stdset="0">
407             <number>50</number>
408            </property>
409           </widget>
410          </item>
411          <item>
412           <spacer name="horizontalSpacer_3">
413            <property name="orientation">
414             <enum>Qt::Horizontal</enum>
415            </property>
416            <property name="sizeHint" stdset="0">
417             <size>
418              <width>40</width>
419              <height>20</height>
420             </size>
421            </property>
422           </spacer>
423          </item>
424         </layout>
425        </item>
426        <item>
427         <spacer name="verticalSpacer">
428          <property name="orientation">
429           <enum>Qt::Vertical</enum>
430          </property>
431          <property name="sizeHint" stdset="0">
432           <size>
433            <width>20</width>
434            <height>40</height>
435           </size>
436          </property>
437         </spacer>
438        </item>
439       </layout>
440      </widget>
441     </widget>
442    </item>
443    <item>
444     <spacer name="verticalSpacer_2">
445      <property name="orientation">
446       <enum>Qt::Vertical</enum>
447      </property>
448      <property name="sizeHint" stdset="0">
449       <size>
450        <width>20</width>
451        <height>40</height>
452       </size>
453      </property>
454     </spacer>
455    </item>
456   </layout>
457  </widget>
458  <resources/>
459  <connections>
460   <connection>
461    <sender>requesterType</sender>
462    <signal>currentIndexChanged(int)</signal>
463    <receiver>stackedWidget</receiver>
464    <slot>setCurrentIndex(int)</slot>
465    <hints>
466     <hint type="sourcelabel">
467      <x>316</x>
468      <y>31</y>
469     </hint>
470     <hint type="destinationlabel">
471      <x>147</x>
472      <y>142</y>
473     </hint>
474    </hints>
475   </connection>
476  </connections>
477 </ui>