Sort buffers
[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>565</width>
9     <height>468</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>
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>
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>
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/>
161         </property>
162         <property name="currentIndex" >
163          <number>0</number>
164         </property>
165         <widget class="QWidget" name="serversTab" >
166          <property name="enabled" >
167           <bool>true</bool>
168          </property>
169          <attribute name="title" >
170           <string>Servers</string>
171          </attribute>
172          <attribute name="toolTip" >
173           <string>Manage servers for this network</string>
174          </attribute>
175          <layout class="QVBoxLayout" >
176           <item>
177            <layout class="QHBoxLayout" >
178             <item>
179              <widget class="QListWidget" name="serverList" >
180               <property name="sizePolicy" >
181                <sizepolicy vsizetype="Expanding" hsizetype="Expanding" >
182                 <horstretch>1</horstretch>
183                 <verstretch>0</verstretch>
184                </sizepolicy>
185               </property>
186              </widget>
187             </item>
188             <item>
189              <layout class="QVBoxLayout" >
190               <item>
191                <widget class="QPushButton" name="editServer" >
192                 <property name="sizePolicy" >
193                  <sizepolicy vsizetype="Fixed" hsizetype="Preferred" >
194                   <horstretch>0</horstretch>
195                   <verstretch>0</verstretch>
196                  </sizepolicy>
197                 </property>
198                 <property name="text" >
199                  <string>&amp;Edit...</string>
200                 </property>
201                 <property name="icon" >
202                  <iconset>
203                   <normaloff/>
204                  </iconset>
205                 </property>
206                </widget>
207               </item>
208               <item>
209                <widget class="QPushButton" name="addServer" >
210                 <property name="sizePolicy" >
211                  <sizepolicy vsizetype="Fixed" hsizetype="Preferred" >
212                   <horstretch>0</horstretch>
213                   <verstretch>0</verstretch>
214                  </sizepolicy>
215                 </property>
216                 <property name="text" >
217                  <string>&amp;Add...</string>
218                 </property>
219                 <property name="icon" >
220                  <iconset>
221                   <normaloff>:/16x16/actions/oxygen/16x16/actions/list-add.png</normaloff>:/16x16/actions/oxygen/16x16/actions/list-add.png</iconset>
222                 </property>
223                </widget>
224               </item>
225               <item>
226                <widget class="QPushButton" name="deleteServer" >
227                 <property name="sizePolicy" >
228                  <sizepolicy vsizetype="Fixed" hsizetype="Preferred" >
229                   <horstretch>0</horstretch>
230                   <verstretch>0</verstretch>
231                  </sizepolicy>
232                 </property>
233                 <property name="text" >
234                  <string>De&amp;lete</string>
235                 </property>
236                 <property name="icon" >
237                  <iconset>
238                   <normaloff>:/16x16/actions/oxygen/16x16/actions/edit-delete.png</normaloff>:/16x16/actions/oxygen/16x16/actions/edit-delete.png</iconset>
239                 </property>
240                </widget>
241               </item>
242               <item>
243                <layout class="QHBoxLayout" >
244                 <item>
245                  <spacer>
246                   <property name="orientation" >
247                    <enum>Qt::Horizontal</enum>
248                   </property>
249                   <property name="sizeHint" stdset="0" >
250                    <size>
251                     <width>0</width>
252                     <height>20</height>
253                    </size>
254                   </property>
255                  </spacer>
256                 </item>
257                 <item>
258                  <widget class="QToolButton" name="upServer" >
259                   <property name="toolTip" >
260                    <string>Move upwards in list</string>
261                   </property>
262                   <property name="text" >
263                    <string>...</string>
264                   </property>
265                   <property name="icon" >
266                    <iconset>
267                     <normaloff>:/16x16/actions/oxygen/16x16/actions/go-up.png</normaloff>:/16x16/actions/oxygen/16x16/actions/go-up.png</iconset>
268                   </property>
269                  </widget>
270                 </item>
271                 <item>
272                  <widget class="QToolButton" name="downServer" >
273                   <property name="toolTip" >
274                    <string>Move downwards in list</string>
275                   </property>
276                   <property name="text" >
277                    <string>...</string>
278                   </property>
279                   <property name="icon" >
280                    <iconset>
281                     <normaloff>:/16x16/actions/oxygen/16x16/actions/go-down.png</normaloff>:/16x16/actions/oxygen/16x16/actions/go-down.png</iconset>
282                   </property>
283                  </widget>
284                 </item>
285                 <item>
286                  <spacer>
287                   <property name="orientation" >
288                    <enum>Qt::Horizontal</enum>
289                   </property>
290                   <property name="sizeHint" stdset="0" >
291                    <size>
292                     <width>0</width>
293                     <height>20</height>
294                    </size>
295                   </property>
296                  </spacer>
297                 </item>
298                </layout>
299               </item>
300               <item>
301                <spacer>
302                 <property name="orientation" >
303                  <enum>Qt::Vertical</enum>
304                 </property>
305                 <property name="sizeHint" stdset="0" >
306                  <size>
307                   <width>20</width>
308                   <height>40</height>
309                  </size>
310                 </property>
311                </spacer>
312               </item>
313              </layout>
314             </item>
315            </layout>
316           </item>
317           <item>
318            <widget class="QCheckBox" name="randomServer" >
319             <property name="enabled" >
320              <bool>true</bool>
321             </property>
322             <property name="text" >
323              <string>Choose random server for connecting</string>
324             </property>
325            </widget>
326           </item>
327          </layout>
328         </widget>
329         <widget class="QWidget" name="performTab" >
330          <attribute name="title" >
331           <string>Perform</string>
332          </attribute>
333          <attribute name="toolTip" >
334           <string>Configure automatic identification or misc. commands to be executed after connecting to a server</string>
335          </attribute>
336          <layout class="QVBoxLayout" name="verticalLayout" >
337           <item>
338            <widget class="QLabel" name="label" >
339             <property name="text" >
340              <string>Commands to execute on connect:</string>
341             </property>
342            </widget>
343           </item>
344           <item>
345            <widget class="QTextEdit" name="performEdit" >
346             <property name="enabled" >
347              <bool>true</bool>
348             </property>
349             <property name="toolTip" >
350              <string>Specify a list of IRC commands to be executed upon connect.
351 Note that Quassel IRC automatically rejoins channels, so /join will rarely be needed here!</string>
352             </property>
353             <property name="lineWrapMode" >
354              <enum>QTextEdit::NoWrap</enum>
355             </property>
356            </widget>
357           </item>
358           <item>
359            <widget class="QGroupBox" name="autoIdentify" >
360             <property name="enabled" >
361              <bool>true</bool>
362             </property>
363             <property name="title" >
364              <string>Auto Identify</string>
365             </property>
366             <property name="checkable" >
367              <bool>true</bool>
368             </property>
369             <property name="checked" >
370              <bool>true</bool>
371             </property>
372             <layout class="QGridLayout" name="gridLayout" >
373              <item row="0" column="1" >
374               <widget class="QLineEdit" name="autoIdentifyService" >
375                <property name="enabled" >
376                 <bool>true</bool>
377                </property>
378                <property name="text" >
379                 <string>NickServ</string>
380                </property>
381               </widget>
382              </item>
383              <item row="1" column="1" >
384               <widget class="QLineEdit" name="autoIdentifyPassword" >
385                <property name="enabled" >
386                 <bool>true</bool>
387                </property>
388                <property name="echoMode" >
389                 <enum>QLineEdit::Password</enum>
390                </property>
391               </widget>
392              </item>
393              <item row="0" column="0" >
394               <widget class="QLabel" name="label_2" >
395                <property name="text" >
396                 <string>Service:</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             </layout>
411            </widget>
412           </item>
413          </layout>
414         </widget>
415         <widget class="QWidget" name="advancedTab" >
416          <attribute name="title" >
417           <string>Advanced</string>
418          </attribute>
419          <attribute name="toolTip" >
420           <string>Configure advanced settings such as message encodings and automatic reconnect</string>
421          </attribute>
422          <layout class="QVBoxLayout" >
423           <item>
424            <widget class="QGroupBox" name="groupBox_3" >
425             <property name="enabled" >
426              <bool>true</bool>
427             </property>
428             <property name="toolTip" >
429              <string>Control encodings for in- and outgoing messages</string>
430             </property>
431             <property name="title" >
432              <string>Encodings</string>
433             </property>
434             <layout class="QVBoxLayout" >
435              <item>
436               <layout class="QGridLayout" >
437                <item row="0" column="0" >
438                 <widget class="QLabel" name="label_4" >
439                  <property name="toolTip" >
440                   <string>Specify which encoding your messages will be sent in.
441 UTF-8 should be a sane choice for most networks.</string>
442                  </property>
443                  <property name="text" >
444                   <string>Send messages in:</string>
445                  </property>
446                 </widget>
447                </item>
448                <item row="0" column="1" >
449                 <widget class="QComboBox" name="sendEncoding" >
450                  <property name="enabled" >
451                   <bool>false</bool>
452                  </property>
453                  <property name="sizePolicy" >
454                   <sizepolicy vsizetype="Fixed" hsizetype="Expanding" >
455                    <horstretch>0</horstretch>
456                    <verstretch>0</verstretch>
457                   </sizepolicy>
458                  </property>
459                  <property name="toolTip" >
460                   <string>Specify which encoding your messages will be sent in.
461 UTF-8 should be a sane choice for most networks.</string>
462                  </property>
463                  <property name="insertPolicy" >
464                   <enum>QComboBox::InsertAlphabetically</enum>
465                  </property>
466                 </widget>
467                </item>
468                <item row="1" column="0" >
469                 <widget class="QLabel" name="label_5" >
470                  <property name="toolTip" >
471                   <string>Incoming messages encoded in Utf8 will always be treated as such.
472 This setting defines the encoding for messages that are not Utf8.</string>
473                  </property>
474                  <property name="text" >
475                   <string>Receive fallback:</string>
476                  </property>
477                 </widget>
478                </item>
479                <item row="1" column="1" >
480                 <widget class="QComboBox" name="recvEncoding" >
481                  <property name="enabled" >
482                   <bool>false</bool>
483                  </property>
484                  <property name="sizePolicy" >
485                   <sizepolicy vsizetype="Fixed" hsizetype="Expanding" >
486                    <horstretch>0</horstretch>
487                    <verstretch>0</verstretch>
488                   </sizepolicy>
489                  </property>
490                  <property name="toolTip" >
491                   <string>Incoming messages encoded in Utf8 will always be treated as such.
492 This setting defines the encoding for messages that are not Utf8.</string>
493                  </property>
494                  <property name="insertPolicy" >
495                   <enum>QComboBox::InsertAlphabetically</enum>
496                  </property>
497                 </widget>
498                </item>
499                <item row="2" column="0" >
500                 <widget class="QLabel" name="label_9" >
501                  <property name="toolTip" >
502                   <string>This specifies how control messages, nicks and servernames are encoded.
503 Unless you *really* know what you do, leave this as ISO-8859-1!</string>
504                  </property>
505                  <property name="text" >
506                   <string>Server encoding:</string>
507                  </property>
508                 </widget>
509                </item>
510                <item row="2" column="1" >
511                 <widget class="QComboBox" name="serverEncoding" >
512                  <property name="enabled" >
513                   <bool>false</bool>
514                  </property>
515                  <property name="toolTip" >
516                   <string>This specifies how control messages, nicks and servernames are encoded.
517 Unless you *really* know what you do, leave this as ISO-8859-1!</string>
518                  </property>
519                 </widget>
520                </item>
521               </layout>
522              </item>
523              <item>
524               <widget class="QCheckBox" name="useDefaultEncodings" >
525                <property name="enabled" >
526                 <bool>true</bool>
527                </property>
528                <property name="toolTip" >
529                 <string>Use default settings for encodings (recommended)</string>
530                </property>
531                <property name="text" >
532                 <string>Use defaults</string>
533                </property>
534                <property name="checked" >
535                 <bool>true</bool>
536                </property>
537               </widget>
538              </item>
539             </layout>
540            </widget>
541           </item>
542           <item>
543            <widget class="QGroupBox" name="autoReconnect" >
544             <property name="enabled" >
545              <bool>true</bool>
546             </property>
547             <property name="toolTip" >
548              <string>Control automatic reconnect to the network</string>
549             </property>
550             <property name="title" >
551              <string>Automatic Reconnect</string>
552             </property>
553             <property name="checkable" >
554              <bool>true</bool>
555             </property>
556             <layout class="QVBoxLayout" >
557              <item>
558               <layout class="QGridLayout" >
559                <item row="0" column="0" >
560                 <widget class="QLabel" name="label_7" >
561                  <property name="text" >
562                   <string>Interval:</string>
563                  </property>
564                 </widget>
565                </item>
566                <item row="0" column="1" >
567                 <widget class="QSpinBox" name="reconnectInterval" >
568                  <property name="suffix" >
569                   <string> s</string>
570                  </property>
571                  <property name="minimum" >
572                   <number>10</number>
573                  </property>
574                  <property name="maximum" >
575                   <number>3600</number>
576                  </property>
577                  <property name="value" >
578                   <number>30</number>
579                  </property>
580                 </widget>
581                </item>
582                <item row="1" column="0" >
583                 <widget class="QLabel" name="label_8" >
584                  <property name="text" >
585                   <string>Retries:</string>
586                  </property>
587                 </widget>
588                </item>
589                <item row="1" column="1" >
590                 <widget class="QSpinBox" name="reconnectRetries" >
591                  <property name="minimum" >
592                   <number>1</number>
593                  </property>
594                  <property name="maximum" >
595                   <number>999</number>
596                  </property>
597                  <property name="value" >
598                   <number>10</number>
599                  </property>
600                 </widget>
601                </item>
602                <item row="1" column="2" >
603                 <widget class="QCheckBox" name="unlimitedRetries" >
604                  <property name="text" >
605                   <string>Unlimited</string>
606                  </property>
607                 </widget>
608                </item>
609               </layout>
610              </item>
611              <item>
612               <widget class="QCheckBox" name="rejoinOnReconnect" >
613                <property name="enabled" >
614                 <bool>false</bool>
615                </property>
616                <property name="text" >
617                 <string>Rejoin all channels on reconnect</string>
618                </property>
619                <property name="checked" >
620                 <bool>true</bool>
621                </property>
622               </widget>
623              </item>
624             </layout>
625            </widget>
626           </item>
627          </layout>
628         </widget>
629        </widget>
630       </item>
631      </layout>
632     </widget>
633    </item>
634   </layout>
635  </widget>
636  <resources/>
637  <connections>
638   <connection>
639    <sender>unlimitedRetries</sender>
640    <signal>toggled(bool)</signal>
641    <receiver>reconnectRetries</receiver>
642    <slot>setDisabled(bool)</slot>
643    <hints>
644     <hint type="sourcelabel" >
645      <x>512</x>
646      <y>373</y>
647     </hint>
648     <hint type="destinationlabel" >
649      <x>420</x>
650      <y>377</y>
651     </hint>
652    </hints>
653   </connection>
654   <connection>
655    <sender>useDefaultEncodings</sender>
656    <signal>toggled(bool)</signal>
657    <receiver>sendEncoding</receiver>
658    <slot>setDisabled(bool)</slot>
659    <hints>
660     <hint type="sourcelabel" >
661      <x>659</x>
662      <y>262</y>
663     </hint>
664     <hint type="destinationlabel" >
665      <x>471</x>
666      <y>176</y>
667     </hint>
668    </hints>
669   </connection>
670   <connection>
671    <sender>useDefaultEncodings</sender>
672    <signal>toggled(bool)</signal>
673    <receiver>recvEncoding</receiver>
674    <slot>setDisabled(bool)</slot>
675    <hints>
676     <hint type="sourcelabel" >
677      <x>659</x>
678      <y>262</y>
679     </hint>
680     <hint type="destinationlabel" >
681      <x>471</x>
682      <y>209</y>
683     </hint>
684    </hints>
685   </connection>
686   <connection>
687    <sender>useDefaultEncodings</sender>
688    <signal>toggled(bool)</signal>
689    <receiver>serverEncoding</receiver>
690    <slot>setDisabled(bool)</slot>
691    <hints>
692     <hint type="sourcelabel" >
693      <x>396</x>
694      <y>251</y>
695     </hint>
696     <hint type="destinationlabel" >
697      <x>456</x>
698      <y>230</y>
699     </hint>
700    </hints>
701   </connection>
702  </connections>
703 </ui>