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