Merging r732:745 from trunk into branches/0.3. Forwardporting fancy bufferviews and...
[quassel.git] / src / qtui / settingspages / networkssettingspage.ui
1 <ui version="4.0" >
2  <class>NetworksSettingsPage</class>
3  <widget class="QWidget" name="NetworksSettingsPage" >
4   <property name="geometry" >
5    <rect>
6     <x>0</x>
7     <y>0</y>
8     <width>736</width>
9     <height>452</height>
10    </rect>
11   </property>
12   <property name="windowTitle" >
13    <string>Form</string>
14   </property>
15   <layout class="QHBoxLayout" >
16    <item>
17     <layout class="QVBoxLayout" >
18      <item>
19       <widget class="QListWidget" name="networkList" >
20        <property name="selectionBehavior" >
21         <enum>QAbstractItemView::SelectRows</enum>
22        </property>
23        <property name="sortingEnabled" >
24         <bool>true</bool>
25        </property>
26       </widget>
27      </item>
28      <item>
29       <widget class="QPushButton" name="renameNetwork" >
30        <property name="sizePolicy" >
31         <sizepolicy vsizetype="Fixed" hsizetype="Preferred" >
32          <horstretch>0</horstretch>
33          <verstretch>0</verstretch>
34         </sizepolicy>
35        </property>
36        <property name="text" >
37         <string>Re&amp;name...</string>
38        </property>
39        <property name="icon" >
40         <iconset resource="../../icons/icons.qrc" >
41          <normaloff>:/16x16/actions/oxygen/16x16/actions/edit-rename.png</normaloff>:/16x16/actions/oxygen/16x16/actions/edit-rename.png</iconset>
42        </property>
43       </widget>
44      </item>
45      <item>
46       <widget class="QPushButton" name="addNetwork" >
47        <property name="sizePolicy" >
48         <sizepolicy vsizetype="Fixed" hsizetype="Preferred" >
49          <horstretch>0</horstretch>
50          <verstretch>0</verstretch>
51         </sizepolicy>
52        </property>
53        <property name="text" >
54         <string>&amp;Add...</string>
55        </property>
56        <property name="icon" >
57         <iconset resource="../../icons/icons.qrc" >
58          <normaloff>:/16x16/actions/oxygen/16x16/actions/list-add.png</normaloff>:/16x16/actions/oxygen/16x16/actions/list-add.png</iconset>
59        </property>
60        <property name="iconSize" >
61         <size>
62          <width>16</width>
63          <height>16</height>
64         </size>
65        </property>
66       </widget>
67      </item>
68      <item>
69       <widget class="QPushButton" name="deleteNetwork" >
70        <property name="sizePolicy" >
71         <sizepolicy vsizetype="Fixed" hsizetype="Preferred" >
72          <horstretch>0</horstretch>
73          <verstretch>0</verstretch>
74         </sizepolicy>
75        </property>
76        <property name="text" >
77         <string>De&amp;lete</string>
78        </property>
79        <property name="icon" >
80         <iconset resource="../../icons/icons.qrc" >
81          <normaloff>:/16x16/actions/oxygen/16x16/actions/edit-delete.png</normaloff>:/16x16/actions/oxygen/16x16/actions/edit-delete.png</iconset>
82        </property>
83       </widget>
84      </item>
85      <item>
86       <spacer>
87        <property name="orientation" >
88         <enum>Qt::Vertical</enum>
89        </property>
90        <property name="sizeHint" stdset="0" >
91         <size>
92          <width>131</width>
93          <height>71</height>
94         </size>
95        </property>
96       </spacer>
97      </item>
98      <item>
99       <widget class="QPushButton" name="connectNow" >
100        <property name="enabled" >
101         <bool>false</bool>
102        </property>
103        <property name="sizePolicy" >
104         <sizepolicy vsizetype="Fixed" hsizetype="Preferred" >
105          <horstretch>0</horstretch>
106          <verstretch>0</verstretch>
107         </sizepolicy>
108        </property>
109        <property name="text" >
110         <string>Connect now</string>
111        </property>
112        <property name="icon" >
113         <iconset>
114          <normaloff/>
115         </iconset>
116        </property>
117       </widget>
118      </item>
119     </layout>
120    </item>
121    <item>
122     <widget class="QGroupBox" name="detailsBox" >
123      <property name="sizePolicy" >
124       <sizepolicy vsizetype="Preferred" hsizetype="Expanding" >
125        <horstretch>10</horstretch>
126        <verstretch>0</verstretch>
127       </sizepolicy>
128      </property>
129      <property name="title" >
130       <string>Network Details</string>
131      </property>
132      <layout class="QVBoxLayout" >
133       <item>
134        <layout class="QHBoxLayout" >
135         <item>
136          <widget class="QLabel" name="label_6" >
137           <property name="text" >
138            <string>Identity:</string>
139           </property>
140          </widget>
141         </item>
142         <item>
143          <widget class="QComboBox" name="identityList" >
144           <property name="sizePolicy" >
145            <sizepolicy vsizetype="Fixed" hsizetype="Expanding" >
146             <horstretch>0</horstretch>
147             <verstretch>0</verstretch>
148            </sizepolicy>
149           </property>
150          </widget>
151         </item>
152        </layout>
153       </item>
154       <item>
155        <widget class="QTabWidget" name="tabWidget" >
156         <property name="enabled" >
157          <bool>true</bool>
158         </property>
159         <property name="toolTip" >
160          <string>This specifies how control messages, nicks and servernames are encoded.
161 Unless you *really* know what you do, leave this as ISO-8859-1!</string>
162         </property>
163         <property name="currentIndex" >
164          <number>1</number>
165         </property>
166         <widget class="QWidget" name="serversTab" >
167          <property name="enabled" >
168           <bool>true</bool>
169          </property>
170          <property name="geometry" >
171           <rect>
172            <x>0</x>
173            <y>0</y>
174            <width>398</width>
175            <height>326</height>
176           </rect>
177          </property>
178          <attribute name="title" >
179           <string>Servers</string>
180          </attribute>
181          <layout class="QVBoxLayout" >
182           <item>
183            <layout class="QHBoxLayout" >
184             <item>
185              <widget class="QListWidget" name="serverList" >
186               <property name="sizePolicy" >
187                <sizepolicy vsizetype="Expanding" hsizetype="Expanding" >
188                 <horstretch>1</horstretch>
189                 <verstretch>0</verstretch>
190                </sizepolicy>
191               </property>
192              </widget>
193             </item>
194             <item>
195              <layout class="QVBoxLayout" >
196               <item>
197                <widget class="QPushButton" name="editServer" >
198                 <property name="sizePolicy" >
199                  <sizepolicy vsizetype="Fixed" hsizetype="Preferred" >
200                   <horstretch>0</horstretch>
201                   <verstretch>0</verstretch>
202                  </sizepolicy>
203                 </property>
204                 <property name="text" >
205                  <string>&amp;Edit...</string>
206                 </property>
207                 <property name="icon" >
208                  <iconset>
209                   <normaloff/>
210                  </iconset>
211                 </property>
212                </widget>
213               </item>
214               <item>
215                <widget class="QPushButton" name="addServer" >
216                 <property name="sizePolicy" >
217                  <sizepolicy vsizetype="Fixed" hsizetype="Preferred" >
218                   <horstretch>0</horstretch>
219                   <verstretch>0</verstretch>
220                  </sizepolicy>
221                 </property>
222                 <property name="text" >
223                  <string>&amp;Add...</string>
224                 </property>
225                 <property name="icon" >
226                  <iconset resource="../../icons/icons.qrc" >
227                   <normaloff>:/16x16/actions/oxygen/16x16/actions/list-add.png</normaloff>:/16x16/actions/oxygen/16x16/actions/list-add.png</iconset>
228                 </property>
229                </widget>
230               </item>
231               <item>
232                <widget class="QPushButton" name="deleteServer" >
233                 <property name="sizePolicy" >
234                  <sizepolicy vsizetype="Fixed" hsizetype="Preferred" >
235                   <horstretch>0</horstretch>
236                   <verstretch>0</verstretch>
237                  </sizepolicy>
238                 </property>
239                 <property name="text" >
240                  <string>De&amp;lete</string>
241                 </property>
242                 <property name="icon" >
243                  <iconset resource="../../icons/icons.qrc" >
244                   <normaloff>:/16x16/actions/oxygen/16x16/actions/edit-delete.png</normaloff>:/16x16/actions/oxygen/16x16/actions/edit-delete.png</iconset>
245                 </property>
246                </widget>
247               </item>
248               <item>
249                <layout class="QHBoxLayout" >
250                 <item>
251                  <spacer>
252                   <property name="orientation" >
253                    <enum>Qt::Horizontal</enum>
254                   </property>
255                   <property name="sizeHint" stdset="0" >
256                    <size>
257                     <width>0</width>
258                     <height>20</height>
259                    </size>
260                   </property>
261                  </spacer>
262                 </item>
263                 <item>
264                  <widget class="QToolButton" name="upServer" >
265                   <property name="toolTip" >
266                    <string>Move upwards in list</string>
267                   </property>
268                   <property name="text" >
269                    <string>...</string>
270                   </property>
271                   <property name="icon" >
272                    <iconset resource="../../icons/icons.qrc" >
273                     <normaloff>:/16x16/actions/oxygen/16x16/actions/go-up.png</normaloff>:/16x16/actions/oxygen/16x16/actions/go-up.png</iconset>
274                   </property>
275                  </widget>
276                 </item>
277                 <item>
278                  <widget class="QToolButton" name="downServer" >
279                   <property name="toolTip" >
280                    <string>Move downwards in list</string>
281                   </property>
282                   <property name="text" >
283                    <string>...</string>
284                   </property>
285                   <property name="icon" >
286                    <iconset resource="../../icons/icons.qrc" >
287                     <normaloff>:/16x16/actions/oxygen/16x16/actions/go-down.png</normaloff>:/16x16/actions/oxygen/16x16/actions/go-down.png</iconset>
288                   </property>
289                  </widget>
290                 </item>
291                 <item>
292                  <spacer>
293                   <property name="orientation" >
294                    <enum>Qt::Horizontal</enum>
295                   </property>
296                   <property name="sizeHint" stdset="0" >
297                    <size>
298                     <width>0</width>
299                     <height>20</height>
300                    </size>
301                   </property>
302                  </spacer>
303                 </item>
304                </layout>
305               </item>
306               <item>
307                <spacer>
308                 <property name="orientation" >
309                  <enum>Qt::Vertical</enum>
310                 </property>
311                 <property name="sizeHint" stdset="0" >
312                  <size>
313                   <width>20</width>
314                   <height>40</height>
315                  </size>
316                 </property>
317                </spacer>
318               </item>
319              </layout>
320             </item>
321            </layout>
322           </item>
323           <item>
324            <widget class="QCheckBox" name="randomServer" >
325             <property name="enabled" >
326              <bool>true</bool>
327             </property>
328             <property name="text" >
329              <string>Choose random server for connecting</string>
330             </property>
331            </widget>
332           </item>
333          </layout>
334         </widget>
335         <widget class="QWidget" name="performTab" >
336          <property name="geometry" >
337           <rect>
338            <x>0</x>
339            <y>0</y>
340            <width>398</width>
341            <height>326</height>
342           </rect>
343          </property>
344          <attribute name="title" >
345           <string>Perform</string>
346          </attribute>
347          <layout class="QVBoxLayout" name="verticalLayout" >
348           <item>
349            <widget class="QLabel" name="label" >
350             <property name="text" >
351              <string>Commands to execute on connect:</string>
352             </property>
353            </widget>
354           </item>
355           <item>
356            <widget class="QTextEdit" name="performEdit" >
357             <property name="enabled" >
358              <bool>true</bool>
359             </property>
360             <property name="lineWrapMode" >
361              <enum>QTextEdit::NoWrap</enum>
362             </property>
363            </widget>
364           </item>
365           <item>
366            <widget class="QGroupBox" name="autoIdentify" >
367             <property name="enabled" >
368              <bool>true</bool>
369             </property>
370             <property name="title" >
371              <string>Auto Identify</string>
372             </property>
373             <property name="checkable" >
374              <bool>true</bool>
375             </property>
376             <property name="checked" >
377              <bool>true</bool>
378             </property>
379            </widget>
380           </item>
381           <item>
382            <layout class="QGridLayout" >
383             <item row="0" column="0" >
384              <widget class="QLabel" name="label_2" >
385               <property name="text" >
386                <string>Service:</string>
387               </property>
388              </widget>
389             </item>
390             <item row="0" column="1" >
391              <widget class="QLineEdit" name="autoIdentifyService" >
392               <property name="enabled" >
393                <bool>true</bool>
394               </property>
395               <property name="text" >
396                <string>NickServ</string>
397               </property>
398              </widget>
399             </item>
400             <item row="1" column="0" >
401              <widget class="QLabel" name="label_3" >
402               <property name="enabled" >
403                <bool>true</bool>
404               </property>
405               <property name="text" >
406                <string>Password:</string>
407               </property>
408              </widget>
409             </item>
410             <item row="1" column="1" >
411              <widget class="QLineEdit" name="autoIdentifyPassword" >
412               <property name="enabled" >
413                <bool>true</bool>
414               </property>
415               <property name="echoMode" >
416                <enum>QLineEdit::Password</enum>
417               </property>
418              </widget>
419             </item>
420            </layout>
421           </item>
422          </layout>
423         </widget>
424         <widget class="QWidget" name="tab" >
425          <property name="geometry" >
426           <rect>
427            <x>0</x>
428            <y>0</y>
429            <width>398</width>
430            <height>326</height>
431           </rect>
432          </property>
433          <attribute name="title" >
434           <string>Advanced</string>
435          </attribute>
436          <layout class="QVBoxLayout" >
437           <item>
438            <widget class="QGroupBox" name="groupBox_3" >
439             <property name="enabled" >
440              <bool>true</bool>
441             </property>
442             <property name="title" >
443              <string>Encodings</string>
444             </property>
445             <layout class="QVBoxLayout" >
446              <item>
447               <layout class="QGridLayout" >
448                <item row="0" column="0" >
449                 <widget class="QLabel" name="label_4" >
450                  <property name="text" >
451                   <string>Send messages in:</string>
452                  </property>
453                 </widget>
454                </item>
455                <item row="0" column="1" >
456                 <widget class="QComboBox" name="sendEncoding" >
457                  <property name="enabled" >
458                   <bool>false</bool>
459                  </property>
460                  <property name="sizePolicy" >
461                   <sizepolicy vsizetype="Fixed" hsizetype="Expanding" >
462                    <horstretch>0</horstretch>
463                    <verstretch>0</verstretch>
464                   </sizepolicy>
465                  </property>
466                  <property name="insertPolicy" >
467                   <enum>QComboBox::InsertAlphabetically</enum>
468                  </property>
469                 </widget>
470                </item>
471                <item row="1" column="0" >
472                 <widget class="QLabel" name="label_5" >
473                  <property name="toolTip" >
474                   <string>Incoming messages encoded in Utf8 will always be treated as such. This setting defines the encoding for messages that are not Utf8.</string>
475                  </property>
476                  <property name="text" >
477                   <string>Receive fallback:</string>
478                  </property>
479                 </widget>
480                </item>
481                <item row="1" column="1" >
482                 <widget class="QComboBox" name="recvEncoding" >
483                  <property name="enabled" >
484                   <bool>false</bool>
485                  </property>
486                  <property name="sizePolicy" >
487                   <sizepolicy vsizetype="Fixed" hsizetype="Expanding" >
488                    <horstretch>0</horstretch>
489                    <verstretch>0</verstretch>
490                   </sizepolicy>
491                  </property>
492                  <property name="insertPolicy" >
493                   <enum>QComboBox::InsertAlphabetically</enum>
494                  </property>
495                 </widget>
496                </item>
497                <item row="2" column="0" >
498                 <widget class="QLabel" name="label_9" >
499                  <property name="toolTip" >
500                   <string>This specifies how control messages, nicks and servernames are encoded.
501 Unless you *really* know what you do, leave this as ISO-8859-1!</string>
502                  </property>
503                  <property name="text" >
504                   <string>Server encoding:</string>
505                  </property>
506                 </widget>
507                </item>
508                <item row="2" column="1" >
509                 <widget class="QComboBox" name="serverEncoding" >
510                  <property name="enabled" >
511                   <bool>false</bool>
512                  </property>
513                 </widget>
514                </item>
515               </layout>
516              </item>
517              <item>
518               <widget class="QCheckBox" name="useDefaultEncodings" >
519                <property name="enabled" >
520                 <bool>true</bool>
521                </property>
522                <property name="text" >
523                 <string>Use defaults</string>
524                </property>
525                <property name="checked" >
526                 <bool>true</bool>
527                </property>
528               </widget>
529              </item>
530             </layout>
531            </widget>
532           </item>
533           <item>
534            <widget class="QGroupBox" name="autoReconnect" >
535             <property name="enabled" >
536              <bool>true</bool>
537             </property>
538             <property name="title" >
539              <string>Automatic Reconnect</string>
540             </property>
541             <property name="checkable" >
542              <bool>true</bool>
543             </property>
544             <layout class="QVBoxLayout" >
545              <item>
546               <layout class="QGridLayout" >
547                <item row="0" column="0" >
548                 <widget class="QLabel" name="label_7" >
549                  <property name="text" >
550                   <string>Interval:</string>
551                  </property>
552                 </widget>
553                </item>
554                <item row="0" column="1" >
555                 <widget class="QSpinBox" name="reconnectInterval" >
556                  <property name="suffix" >
557                   <string> s</string>
558                  </property>
559                  <property name="minimum" >
560                   <number>10</number>
561                  </property>
562                  <property name="maximum" >
563                   <number>3600</number>
564                  </property>
565                  <property name="value" >
566                   <number>30</number>
567                  </property>
568                 </widget>
569                </item>
570                <item row="1" column="0" >
571                 <widget class="QLabel" name="label_8" >
572                  <property name="text" >
573                   <string>Retries:</string>
574                  </property>
575                 </widget>
576                </item>
577                <item row="1" column="1" >
578                 <widget class="QSpinBox" name="reconnectRetries" >
579                  <property name="minimum" >
580                   <number>1</number>
581                  </property>
582                  <property name="maximum" >
583                   <number>999</number>
584                  </property>
585                  <property name="value" >
586                   <number>10</number>
587                  </property>
588                 </widget>
589                </item>
590                <item row="1" column="2" >
591                 <widget class="QCheckBox" name="unlimitedRetries" >
592                  <property name="text" >
593                   <string>Unlimited</string>
594                  </property>
595                 </widget>
596                </item>
597               </layout>
598              </item>
599              <item>
600               <widget class="QCheckBox" name="rejoinOnReconnect" >
601                <property name="enabled" >
602                 <bool>false</bool>
603                </property>
604                <property name="text" >
605                 <string>Rejoin all channels on reconnect</string>
606                </property>
607                <property name="checked" >
608                 <bool>true</bool>
609                </property>
610               </widget>
611              </item>
612             </layout>
613            </widget>
614           </item>
615          </layout>
616         </widget>
617        </widget>
618       </item>
619      </layout>
620     </widget>
621    </item>
622   </layout>
623  </widget>
624  <resources>
625   <include location="../../icons/icons.qrc" />
626  </resources>
627  <connections>
628   <connection>
629    <sender>unlimitedRetries</sender>
630    <signal>toggled(bool)</signal>
631    <receiver>reconnectRetries</receiver>
632    <slot>setDisabled(bool)</slot>
633    <hints>
634     <hint type="sourcelabel" >
635      <x>512</x>
636      <y>373</y>
637     </hint>
638     <hint type="destinationlabel" >
639      <x>420</x>
640      <y>377</y>
641     </hint>
642    </hints>
643   </connection>
644   <connection>
645    <sender>useDefaultEncodings</sender>
646    <signal>toggled(bool)</signal>
647    <receiver>sendEncoding</receiver>
648    <slot>setDisabled(bool)</slot>
649    <hints>
650     <hint type="sourcelabel" >
651      <x>659</x>
652      <y>262</y>
653     </hint>
654     <hint type="destinationlabel" >
655      <x>471</x>
656      <y>176</y>
657     </hint>
658    </hints>
659   </connection>
660   <connection>
661    <sender>useDefaultEncodings</sender>
662    <signal>toggled(bool)</signal>
663    <receiver>recvEncoding</receiver>
664    <slot>setDisabled(bool)</slot>
665    <hints>
666     <hint type="sourcelabel" >
667      <x>659</x>
668      <y>262</y>
669     </hint>
670     <hint type="destinationlabel" >
671      <x>471</x>
672      <y>209</y>
673     </hint>
674    </hints>
675   </connection>
676   <connection>
677    <sender>useDefaultEncodings</sender>
678    <signal>toggled(bool)</signal>
679    <receiver>serverEncoding</receiver>
680    <slot>setDisabled(bool)</slot>
681    <hints>
682     <hint type="sourcelabel" >
683      <x>396</x>
684      <y>251</y>
685     </hint>
686     <hint type="destinationlabel" >
687      <x>456</x>
688      <y>230</y>
689     </hint>
690    </hints>
691   </connection>
692  </connections>
693 </ui>