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