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