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