e3db6c16a9ea744684fbe56e03c6efb7e42af11f
[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>514</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>301</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>301</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             <layout class="QFormLayout" name="formLayout" >
380              <item row="0" column="0" >
381               <widget class="QLabel" name="label_2" >
382                <property name="text" >
383                 <string>Service:</string>
384                </property>
385               </widget>
386              </item>
387              <item row="0" column="1" >
388               <widget class="QLineEdit" name="autoIdentifyService" >
389                <property name="enabled" >
390                 <bool>true</bool>
391                </property>
392                <property name="text" >
393                 <string>NickServ</string>
394                </property>
395               </widget>
396              </item>
397              <item row="1" column="0" >
398               <widget class="QLabel" name="label_3" >
399                <property name="enabled" >
400                 <bool>true</bool>
401                </property>
402                <property name="text" >
403                 <string>Password:</string>
404                </property>
405               </widget>
406              </item>
407              <item row="1" column="1" >
408               <widget class="QLineEdit" name="autoIdentifyPassword" >
409                <property name="enabled" >
410                 <bool>true</bool>
411                </property>
412                <property name="echoMode" >
413                 <enum>QLineEdit::Password</enum>
414                </property>
415               </widget>
416              </item>
417             </layout>
418             <zorder></zorder>
419             <zorder>autoIdentifyService</zorder>
420             <zorder>autoIdentifyPassword</zorder>
421             <zorder>label_2</zorder>
422             <zorder>label_3</zorder>
423            </widget>
424           </item>
425          </layout>
426         </widget>
427         <widget class="QWidget" name="tab" >
428          <property name="geometry" >
429           <rect>
430            <x>0</x>
431            <y>0</y>
432            <width>301</width>
433            <height>326</height>
434           </rect>
435          </property>
436          <attribute name="title" >
437           <string>Advanced</string>
438          </attribute>
439          <layout class="QVBoxLayout" >
440           <item>
441            <widget class="QGroupBox" name="groupBox_3" >
442             <property name="enabled" >
443              <bool>true</bool>
444             </property>
445             <property name="title" >
446              <string>Encodings</string>
447             </property>
448             <layout class="QVBoxLayout" >
449              <item>
450               <layout class="QGridLayout" >
451                <item row="0" column="0" >
452                 <widget class="QLabel" name="label_4" >
453                  <property name="text" >
454                   <string>Send messages in:</string>
455                  </property>
456                 </widget>
457                </item>
458                <item row="0" column="1" >
459                 <widget class="QComboBox" name="sendEncoding" >
460                  <property name="enabled" >
461                   <bool>false</bool>
462                  </property>
463                  <property name="sizePolicy" >
464                   <sizepolicy vsizetype="Fixed" hsizetype="Expanding" >
465                    <horstretch>0</horstretch>
466                    <verstretch>0</verstretch>
467                   </sizepolicy>
468                  </property>
469                  <property name="insertPolicy" >
470                   <enum>QComboBox::InsertAlphabetically</enum>
471                  </property>
472                 </widget>
473                </item>
474                <item row="1" column="0" >
475                 <widget class="QLabel" name="label_5" >
476                  <property name="toolTip" >
477                   <string>Incoming messages encoded in Utf8 will always be treated as such. This setting defines the encoding for messages that are not Utf8.</string>
478                  </property>
479                  <property name="text" >
480                   <string>Receive fallback:</string>
481                  </property>
482                 </widget>
483                </item>
484                <item row="1" column="1" >
485                 <widget class="QComboBox" name="recvEncoding" >
486                  <property name="enabled" >
487                   <bool>false</bool>
488                  </property>
489                  <property name="sizePolicy" >
490                   <sizepolicy vsizetype="Fixed" hsizetype="Expanding" >
491                    <horstretch>0</horstretch>
492                    <verstretch>0</verstretch>
493                   </sizepolicy>
494                  </property>
495                  <property name="insertPolicy" >
496                   <enum>QComboBox::InsertAlphabetically</enum>
497                  </property>
498                 </widget>
499                </item>
500                <item row="2" column="0" >
501                 <widget class="QLabel" name="label_9" >
502                  <property name="toolTip" >
503                   <string>This specifies how control messages, nicks and servernames are encoded.
504 Unless you *really* know what you do, leave this as ISO-8859-1!</string>
505                  </property>
506                  <property name="text" >
507                   <string>Server encoding:</string>
508                  </property>
509                 </widget>
510                </item>
511                <item row="2" column="1" >
512                 <widget class="QComboBox" name="serverEncoding" >
513                  <property name="enabled" >
514                   <bool>false</bool>
515                  </property>
516                 </widget>
517                </item>
518               </layout>
519              </item>
520              <item>
521               <widget class="QCheckBox" name="useDefaultEncodings" >
522                <property name="enabled" >
523                 <bool>true</bool>
524                </property>
525                <property name="text" >
526                 <string>Use defaults</string>
527                </property>
528                <property name="checked" >
529                 <bool>true</bool>
530                </property>
531               </widget>
532              </item>
533             </layout>
534            </widget>
535           </item>
536           <item>
537            <widget class="QGroupBox" name="autoReconnect" >
538             <property name="enabled" >
539              <bool>true</bool>
540             </property>
541             <property name="title" >
542              <string>Automatic Reconnect</string>
543             </property>
544             <property name="checkable" >
545              <bool>true</bool>
546             </property>
547             <layout class="QVBoxLayout" >
548              <item>
549               <layout class="QGridLayout" >
550                <item row="0" column="0" >
551                 <widget class="QLabel" name="label_7" >
552                  <property name="text" >
553                   <string>Interval:</string>
554                  </property>
555                 </widget>
556                </item>
557                <item row="0" column="1" >
558                 <widget class="QSpinBox" name="reconnectInterval" >
559                  <property name="suffix" >
560                   <string> s</string>
561                  </property>
562                  <property name="minimum" >
563                   <number>10</number>
564                  </property>
565                  <property name="maximum" >
566                   <number>3600</number>
567                  </property>
568                  <property name="value" >
569                   <number>30</number>
570                  </property>
571                 </widget>
572                </item>
573                <item row="1" column="0" >
574                 <widget class="QLabel" name="label_8" >
575                  <property name="text" >
576                   <string>Retries:</string>
577                  </property>
578                 </widget>
579                </item>
580                <item row="1" column="1" >
581                 <widget class="QSpinBox" name="reconnectRetries" >
582                  <property name="minimum" >
583                   <number>1</number>
584                  </property>
585                  <property name="maximum" >
586                   <number>999</number>
587                  </property>
588                  <property name="value" >
589                   <number>10</number>
590                  </property>
591                 </widget>
592                </item>
593                <item row="1" column="2" >
594                 <widget class="QCheckBox" name="unlimitedRetries" >
595                  <property name="text" >
596                   <string>Unlimited</string>
597                  </property>
598                 </widget>
599                </item>
600               </layout>
601              </item>
602              <item>
603               <widget class="QCheckBox" name="rejoinOnReconnect" >
604                <property name="enabled" >
605                 <bool>false</bool>
606                </property>
607                <property name="text" >
608                 <string>Rejoin all channels on reconnect</string>
609                </property>
610                <property name="checked" >
611                 <bool>true</bool>
612                </property>
613               </widget>
614              </item>
615             </layout>
616            </widget>
617           </item>
618          </layout>
619         </widget>
620        </widget>
621       </item>
622      </layout>
623     </widget>
624    </item>
625   </layout>
626  </widget>
627  <resources>
628   <include location="../../icons/icons.qrc" />
629  </resources>
630  <connections>
631   <connection>
632    <sender>unlimitedRetries</sender>
633    <signal>toggled(bool)</signal>
634    <receiver>reconnectRetries</receiver>
635    <slot>setDisabled(bool)</slot>
636    <hints>
637     <hint type="sourcelabel" >
638      <x>512</x>
639      <y>373</y>
640     </hint>
641     <hint type="destinationlabel" >
642      <x>420</x>
643      <y>377</y>
644     </hint>
645    </hints>
646   </connection>
647   <connection>
648    <sender>useDefaultEncodings</sender>
649    <signal>toggled(bool)</signal>
650    <receiver>sendEncoding</receiver>
651    <slot>setDisabled(bool)</slot>
652    <hints>
653     <hint type="sourcelabel" >
654      <x>659</x>
655      <y>262</y>
656     </hint>
657     <hint type="destinationlabel" >
658      <x>471</x>
659      <y>176</y>
660     </hint>
661    </hints>
662   </connection>
663   <connection>
664    <sender>useDefaultEncodings</sender>
665    <signal>toggled(bool)</signal>
666    <receiver>recvEncoding</receiver>
667    <slot>setDisabled(bool)</slot>
668    <hints>
669     <hint type="sourcelabel" >
670      <x>659</x>
671      <y>262</y>
672     </hint>
673     <hint type="destinationlabel" >
674      <x>471</x>
675      <y>209</y>
676     </hint>
677    </hints>
678   </connection>
679   <connection>
680    <sender>useDefaultEncodings</sender>
681    <signal>toggled(bool)</signal>
682    <receiver>serverEncoding</receiver>
683    <slot>setDisabled(bool)</slot>
684    <hints>
685     <hint type="sourcelabel" >
686      <x>396</x>
687      <y>251</y>
688     </hint>
689     <hint type="destinationlabel" >
690      <x>456</x>
691      <y>230</y>
692     </hint>
693    </hints>
694   </connection>
695  </connections>
696 </ui>