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