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