Make the newly arrived topicbutton display background colors and font styles.
[quassel.git] / src / qtui / settingspages / identitiessettingspage.ui
1 <ui version="4.0" >
2  <class>IdentitiesSettingsPage</class>
3  <widget class="QWidget" name="IdentitiesSettingsPage" >
4   <property name="geometry" >
5    <rect>
6     <x>0</x>
7     <y>0</y>
8     <width>495</width>
9     <height>417</height>
10    </rect>
11   </property>
12   <property name="windowTitle" >
13    <string/>
14   </property>
15   <layout class="QVBoxLayout" >
16    <item>
17     <layout class="QVBoxLayout" >
18      <item>
19       <layout class="QHBoxLayout" >
20        <item>
21         <widget class="QComboBox" name="identityList" >
22          <property name="insertPolicy" >
23           <enum>QComboBox::InsertAtBottom</enum>
24          </property>
25          <property name="duplicatesEnabled" >
26           <bool>true</bool>
27          </property>
28         </widget>
29        </item>
30        <item>
31         <widget class="QToolButton" name="renameIdentity" >
32          <property name="toolTip" >
33           <string>Rename Identity</string>
34          </property>
35          <property name="text" >
36           <string>...</string>
37          </property>
38          <property name="icon" >
39           <iconset resource="../../icons/icons.qrc" >:/22x22/actions/oxygen/22x22/actions/edit-rename.png</iconset>
40          </property>
41          <property name="iconSize" >
42           <size>
43            <width>22</width>
44            <height>22</height>
45           </size>
46          </property>
47         </widget>
48        </item>
49        <item>
50         <widget class="QToolButton" name="addIdentity" >
51          <property name="toolTip" >
52           <string>Add Identity</string>
53          </property>
54          <property name="text" >
55           <string>Add...</string>
56          </property>
57          <property name="icon" >
58           <iconset resource="../../icons/icons.qrc" >:/22x22/actions/oxygen/22x22/actions/list-add-user.png</iconset>
59          </property>
60          <property name="iconSize" >
61           <size>
62            <width>22</width>
63            <height>22</height>
64           </size>
65          </property>
66          <property name="toolButtonStyle" >
67           <enum>Qt::ToolButtonIconOnly</enum>
68          </property>
69         </widget>
70        </item>
71        <item>
72         <widget class="QToolButton" name="deleteIdentity" >
73          <property name="toolTip" >
74           <string>Remove Identity</string>
75          </property>
76          <property name="text" >
77           <string>...</string>
78          </property>
79          <property name="icon" >
80           <iconset resource="../../icons/icons.qrc" >:/22x22/actions/oxygen/22x22/actions/list-remove-user.png</iconset>
81          </property>
82          <property name="iconSize" >
83           <size>
84            <width>22</width>
85            <height>22</height>
86           </size>
87          </property>
88         </widget>
89        </item>
90       </layout>
91      </item>
92      <item>
93       <widget class="QTabWidget" name="tabWidget" >
94        <property name="currentIndex" >
95         <number>0</number>
96        </property>
97        <widget class="QWidget" name="generalTab" >
98         <attribute name="title" >
99          <string>General</string>
100         </attribute>
101         <layout class="QVBoxLayout" >
102          <item>
103           <layout class="QHBoxLayout" >
104            <item>
105             <widget class="QLabel" name="label" >
106              <property name="text" >
107               <string>Real Name:</string>
108              </property>
109             </widget>
110            </item>
111            <item>
112             <widget class="QLineEdit" name="realName" >
113              <property name="whatsThis" >
114               <string>The "Real Name" is shown in /whois.</string>
115              </property>
116             </widget>
117            </item>
118           </layout>
119          </item>
120          <item>
121           <widget class="QGroupBox" name="groupBox" >
122            <property name="title" >
123             <string>Nicknames</string>
124            </property>
125            <layout class="QHBoxLayout" >
126             <item>
127              <widget class="QListWidget" name="nicknameList" >
128               <property name="sizePolicy" >
129                <sizepolicy vsizetype="Expanding" hsizetype="Expanding" >
130                 <horstretch>1</horstretch>
131                 <verstretch>0</verstretch>
132                </sizepolicy>
133               </property>
134               <property name="showDropIndicator" stdset="0" >
135                <bool>true</bool>
136               </property>
137               <property name="dragEnabled" >
138                <bool>false</bool>
139               </property>
140               <property name="dragDropMode" >
141                <enum>QAbstractItemView::NoDragDrop</enum>
142               </property>
143               <property name="selectionBehavior" >
144                <enum>QAbstractItemView::SelectRows</enum>
145               </property>
146              </widget>
147             </item>
148             <item>
149              <layout class="QVBoxLayout" >
150               <item>
151                <widget class="QPushButton" name="addNick" >
152                 <property name="sizePolicy" >
153                  <sizepolicy vsizetype="Fixed" hsizetype="Preferred" >
154                   <horstretch>0</horstretch>
155                   <verstretch>0</verstretch>
156                  </sizepolicy>
157                 </property>
158                 <property name="toolTip" >
159                  <string>Add Nickname</string>
160                 </property>
161                 <property name="text" >
162                  <string>&amp;Add...</string>
163                 </property>
164                 <property name="icon" >
165                  <iconset resource="../../icons/icons.qrc" >:/16x16/actions/oxygen/16x16/actions/list-add.png</iconset>
166                 </property>
167                 <property name="iconSize" >
168                  <size>
169                   <width>16</width>
170                   <height>16</height>
171                  </size>
172                 </property>
173                </widget>
174               </item>
175               <item>
176                <widget class="QPushButton" name="deleteNick" >
177                 <property name="sizePolicy" >
178                  <sizepolicy vsizetype="Fixed" hsizetype="Preferred" >
179                   <horstretch>0</horstretch>
180                   <verstretch>0</verstretch>
181                  </sizepolicy>
182                 </property>
183                 <property name="toolTip" >
184                  <string>Remove Nickname</string>
185                 </property>
186                 <property name="text" >
187                  <string>Remove</string>
188                 </property>
189                 <property name="icon" >
190                  <iconset resource="../../icons/icons.qrc" >:/16x16/actions/oxygen/16x16/actions/edit-delete.png</iconset>
191                 </property>
192                </widget>
193               </item>
194               <item>
195                <widget class="QPushButton" name="renameNick" >
196                 <property name="sizePolicy" >
197                  <sizepolicy vsizetype="Fixed" hsizetype="Preferred" >
198                   <horstretch>0</horstretch>
199                   <verstretch>0</verstretch>
200                  </sizepolicy>
201                 </property>
202                 <property name="toolTip" >
203                  <string>Rename Identity</string>
204                 </property>
205                 <property name="text" >
206                  <string>Re&amp;name...</string>
207                 </property>
208                 <property name="icon" >
209                  <iconset resource="../../icons/icons.qrc" >:/16x16/actions/oxygen/16x16/actions/edit-rename.png</iconset>
210                 </property>
211                </widget>
212               </item>
213               <item>
214                <layout class="QHBoxLayout" >
215                 <property name="spacing" >
216                  <number>6</number>
217                 </property>
218                 <property name="leftMargin" >
219                  <number>0</number>
220                 </property>
221                 <property name="topMargin" >
222                  <number>0</number>
223                 </property>
224                 <property name="rightMargin" >
225                  <number>0</number>
226                 </property>
227                 <property name="bottomMargin" >
228                  <number>0</number>
229                 </property>
230                 <item>
231                  <spacer>
232                   <property name="orientation" >
233                    <enum>Qt::Horizontal</enum>
234                   </property>
235                   <property name="sizeHint" >
236                    <size>
237                     <width>0</width>
238                     <height>20</height>
239                    </size>
240                   </property>
241                  </spacer>
242                 </item>
243                 <item>
244                  <widget class="QToolButton" name="nickUp" >
245                   <property name="toolTip" >
246                    <string>Move upwards in list</string>
247                   </property>
248                   <property name="text" >
249                    <string>...</string>
250                   </property>
251                   <property name="icon" >
252                    <iconset resource="../../icons/icons.qrc" >:/16x16/actions/oxygen/16x16/actions/go-up.png</iconset>
253                   </property>
254                  </widget>
255                 </item>
256                 <item>
257                  <widget class="QToolButton" name="nickDown" >
258                   <property name="toolTip" >
259                    <string>Move downwards in list</string>
260                   </property>
261                   <property name="text" >
262                    <string>...</string>
263                   </property>
264                   <property name="icon" >
265                    <iconset resource="../../icons/icons.qrc" >:/16x16/actions/oxygen/16x16/actions/go-down.png</iconset>
266                   </property>
267                  </widget>
268                 </item>
269                 <item>
270                  <spacer>
271                   <property name="orientation" >
272                    <enum>Qt::Horizontal</enum>
273                   </property>
274                   <property name="sizeHint" >
275                    <size>
276                     <width>0</width>
277                     <height>20</height>
278                    </size>
279                   </property>
280                  </spacer>
281                 </item>
282                </layout>
283               </item>
284               <item>
285                <spacer>
286                 <property name="orientation" >
287                  <enum>Qt::Vertical</enum>
288                 </property>
289                 <property name="sizeHint" >
290                  <size>
291                   <width>124</width>
292                   <height>76</height>
293                  </size>
294                 </property>
295                </spacer>
296               </item>
297              </layout>
298             </item>
299            </layout>
300           </widget>
301          </item>
302         </layout>
303        </widget>
304        <widget class="QWidget" name="awayTab" >
305         <attribute name="title" >
306          <string>A&amp;way</string>
307         </attribute>
308         <layout class="QVBoxLayout" >
309          <item>
310           <layout class="QGridLayout" >
311            <property name="leftMargin" >
312             <number>0</number>
313            </property>
314            <property name="topMargin" >
315             <number>0</number>
316            </property>
317            <property name="rightMargin" >
318             <number>0</number>
319            </property>
320            <property name="bottomMargin" >
321             <number>0</number>
322            </property>
323            <property name="horizontalSpacing" >
324             <number>6</number>
325            </property>
326            <property name="verticalSpacing" >
327             <number>6</number>
328            </property>
329            <item row="0" column="1" >
330             <widget class="QLineEdit" name="awayNick" >
331              <property name="enabled" >
332               <bool>false</bool>
333              </property>
334             </widget>
335            </item>
336            <item row="1" column="0" >
337             <widget class="QCheckBox" name="awayReasonEnabled" >
338              <property name="text" >
339               <string>Away Reason</string>
340              </property>
341             </widget>
342            </item>
343            <item row="1" column="1" >
344             <widget class="QLineEdit" name="awayReason" >
345              <property name="enabled" >
346               <bool>false</bool>
347              </property>
348             </widget>
349            </item>
350            <item row="2" column="0" >
351             <widget class="QCheckBox" name="returnMessageEnabled" >
352              <property name="text" >
353               <string>Return Message</string>
354              </property>
355             </widget>
356            </item>
357            <item row="2" column="1" >
358             <widget class="QLineEdit" name="returnMessage" >
359              <property name="enabled" >
360               <bool>false</bool>
361              </property>
362             </widget>
363            </item>
364            <item row="0" column="0" >
365             <widget class="QCheckBox" name="awayNickEnabled" >
366              <property name="text" >
367               <string>Away Nick</string>
368              </property>
369             </widget>
370            </item>
371           </layout>
372          </item>
373          <item>
374           <widget class="QGroupBox" name="autoAwayEnabled" >
375            <property name="title" >
376             <string>Auto Away</string>
377            </property>
378            <property name="checkable" >
379             <bool>true</bool>
380            </property>
381            <property name="checked" >
382             <bool>false</bool>
383            </property>
384            <layout class="QVBoxLayout" >
385             <property name="spacing" >
386              <number>6</number>
387             </property>
388             <property name="leftMargin" >
389              <number>8</number>
390             </property>
391             <property name="topMargin" >
392              <number>8</number>
393             </property>
394             <property name="rightMargin" >
395              <number>8</number>
396             </property>
397             <property name="bottomMargin" >
398              <number>8</number>
399             </property>
400             <item>
401              <layout class="QHBoxLayout" >
402               <property name="spacing" >
403                <number>6</number>
404               </property>
405               <property name="leftMargin" >
406                <number>0</number>
407               </property>
408               <property name="topMargin" >
409                <number>0</number>
410               </property>
411               <property name="rightMargin" >
412                <number>0</number>
413               </property>
414               <property name="bottomMargin" >
415                <number>0</number>
416               </property>
417               <item>
418                <widget class="QLabel" name="autoAwayLabel_1" >
419                 <property name="text" >
420                  <string>Auto away after</string>
421                 </property>
422                </widget>
423               </item>
424               <item>
425                <widget class="QSpinBox" name="autoAwayTime" />
426               </item>
427               <item>
428                <widget class="QLabel" name="autoAwayLabel_2" >
429                 <property name="text" >
430                  <string>minutes</string>
431                 </property>
432                </widget>
433               </item>
434               <item>
435                <spacer>
436                 <property name="orientation" >
437                  <enum>Qt::Horizontal</enum>
438                 </property>
439                 <property name="sizeHint" >
440                  <size>
441                   <width>40</width>
442                   <height>20</height>
443                  </size>
444                 </property>
445                </spacer>
446               </item>
447              </layout>
448             </item>
449             <item>
450              <layout class="QGridLayout" >
451               <property name="leftMargin" >
452                <number>0</number>
453               </property>
454               <property name="topMargin" >
455                <number>0</number>
456               </property>
457               <property name="rightMargin" >
458                <number>0</number>
459               </property>
460               <property name="bottomMargin" >
461                <number>0</number>
462               </property>
463               <property name="horizontalSpacing" >
464                <number>6</number>
465               </property>
466               <property name="verticalSpacing" >
467                <number>6</number>
468               </property>
469               <item row="1" column="0" >
470                <widget class="QCheckBox" name="autoReturnMessageEnabled" >
471                 <property name="text" >
472                  <string>Return Message</string>
473                 </property>
474                </widget>
475               </item>
476               <item row="0" column="0" >
477                <widget class="QCheckBox" name="autoAwayReasonEnabled" >
478                 <property name="text" >
479                  <string>Away Reason</string>
480                 </property>
481                </widget>
482               </item>
483               <item row="1" column="1" >
484                <widget class="QLineEdit" name="autoReturnMessage" />
485               </item>
486               <item row="0" column="1" >
487                <widget class="QLineEdit" name="autoAwayReason" />
488               </item>
489              </layout>
490             </item>
491            </layout>
492           </widget>
493          </item>
494          <item>
495           <spacer>
496            <property name="orientation" >
497             <enum>Qt::Vertical</enum>
498            </property>
499            <property name="sizeHint" >
500             <size>
501              <width>20</width>
502              <height>40</height>
503             </size>
504            </property>
505           </spacer>
506          </item>
507         </layout>
508        </widget>
509        <widget class="QWidget" name="advancedTab" >
510         <attribute name="title" >
511          <string>Advanced</string>
512         </attribute>
513         <layout class="QVBoxLayout" >
514          <item>
515           <layout class="QHBoxLayout" >
516            <item>
517             <widget class="QLabel" name="label_2" >
518              <property name="text" >
519               <string>Ident:</string>
520              </property>
521             </widget>
522            </item>
523            <item>
524             <widget class="QLineEdit" name="ident" >
525              <property name="whatsThis" >
526               <string>The "ident" is part of your hostmask and, together with your host, uniquely identifies you within the IRC network.</string>
527              </property>
528             </widget>
529            </item>
530           </layout>
531          </item>
532          <item>
533           <widget class="QGroupBox" name="groupBox_3" >
534            <property name="title" >
535             <string>Messages</string>
536            </property>
537            <layout class="QVBoxLayout" >
538             <item>
539              <layout class="QGridLayout" >
540               <property name="leftMargin" >
541                <number>0</number>
542               </property>
543               <property name="topMargin" >
544                <number>0</number>
545               </property>
546               <property name="rightMargin" >
547                <number>0</number>
548               </property>
549               <property name="bottomMargin" >
550                <number>0</number>
551               </property>
552               <property name="horizontalSpacing" >
553                <number>6</number>
554               </property>
555               <property name="verticalSpacing" >
556                <number>6</number>
557               </property>
558               <item row="1" column="0" >
559                <widget class="QLabel" name="label_3" >
560                 <property name="text" >
561                  <string>Part Reason:</string>
562                 </property>
563                </widget>
564               </item>
565               <item row="1" column="1" >
566                <widget class="QLineEdit" name="partReason" />
567               </item>
568               <item row="0" column="1" >
569                <widget class="QLineEdit" name="kickReason" />
570               </item>
571               <item row="2" column="0" >
572                <widget class="QLabel" name="label_5" >
573                 <property name="text" >
574                  <string>Quit Reason:</string>
575                 </property>
576                </widget>
577               </item>
578               <item row="2" column="1" >
579                <widget class="QLineEdit" name="quitReason" />
580               </item>
581               <item row="0" column="0" >
582                <widget class="QLabel" name="label_4" >
583                 <property name="text" >
584                  <string>Kick Reason:</string>
585                 </property>
586                </widget>
587               </item>
588              </layout>
589             </item>
590            </layout>
591           </widget>
592          </item>
593          <item>
594           <spacer>
595            <property name="orientation" >
596             <enum>Qt::Vertical</enum>
597            </property>
598            <property name="sizeHint" >
599             <size>
600              <width>20</width>
601              <height>40</height>
602             </size>
603            </property>
604           </spacer>
605          </item>
606         </layout>
607        </widget>
608       </widget>
609      </item>
610     </layout>
611    </item>
612   </layout>
613  </widget>
614  <resources>
615   <include location="../../icons/icons.qrc" />
616  </resources>
617  <connections>
618   <connection>
619    <sender>awayNickEnabled</sender>
620    <signal>toggled(bool)</signal>
621    <receiver>awayNick</receiver>
622    <slot>setEnabled(bool)</slot>
623    <hints>
624     <hint type="sourcelabel" >
625      <x>47</x>
626      <y>85</y>
627     </hint>
628     <hint type="destinationlabel" >
629      <x>185</x>
630      <y>90</y>
631     </hint>
632    </hints>
633   </connection>
634   <connection>
635    <sender>awayReasonEnabled</sender>
636    <signal>toggled(bool)</signal>
637    <receiver>awayReason</receiver>
638    <slot>setEnabled(bool)</slot>
639    <hints>
640     <hint type="sourcelabel" >
641      <x>57</x>
642      <y>120</y>
643     </hint>
644     <hint type="destinationlabel" >
645      <x>177</x>
646      <y>123</y>
647     </hint>
648    </hints>
649   </connection>
650   <connection>
651    <sender>returnMessageEnabled</sender>
652    <signal>toggled(bool)</signal>
653    <receiver>returnMessage</receiver>
654    <slot>setEnabled(bool)</slot>
655    <hints>
656     <hint type="sourcelabel" >
657      <x>85</x>
658      <y>154</y>
659     </hint>
660     <hint type="destinationlabel" >
661      <x>240</x>
662      <y>160</y>
663     </hint>
664    </hints>
665   </connection>
666   <connection>
667    <sender>autoAwayReasonEnabled</sender>
668    <signal>toggled(bool)</signal>
669    <receiver>autoAwayReason</receiver>
670    <slot>setEnabled(bool)</slot>
671    <hints>
672     <hint type="sourcelabel" >
673      <x>107</x>
674      <y>262</y>
675     </hint>
676     <hint type="destinationlabel" >
677      <x>186</x>
678      <y>264</y>
679     </hint>
680    </hints>
681   </connection>
682   <connection>
683    <sender>autoReturnMessageEnabled</sender>
684    <signal>toggled(bool)</signal>
685    <receiver>autoReturnMessage</receiver>
686    <slot>setEnabled(bool)</slot>
687    <hints>
688     <hint type="sourcelabel" >
689      <x>122</x>
690      <y>292</y>
691     </hint>
692     <hint type="destinationlabel" >
693      <x>204</x>
694      <y>299</y>
695     </hint>
696    </hints>
697   </connection>
698  </connections>
699 </ui>