ce1eb46bcf677e1ffd8ed2b927a8466f0d9bf819
[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>
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>
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>
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>
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>
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>
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>
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>
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           </widget>
493          </item>
494          <item>
495           <spacer>
496            <property name="orientation" >
497             <enum>Qt::Vertical</enum>
498            </property>
499            <property name="sizeHint" stdset="0" >
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="margin" >
541                <number>0</number>
542               </property>
543               <property name="spacing" >
544                <number>6</number>
545               </property>
546               <item row="1" column="0" >
547                <widget class="QLabel" name="label_3" >
548                 <property name="text" >
549                  <string>Part Reason:</string>
550                 </property>
551                </widget>
552               </item>
553               <item row="1" column="1" >
554                <widget class="QLineEdit" name="partReason" />
555               </item>
556               <item row="0" column="1" >
557                <widget class="QLineEdit" name="kickReason" />
558               </item>
559               <item row="2" column="0" >
560                <widget class="QLabel" name="label_5" >
561                 <property name="text" >
562                  <string>Quit Reason:</string>
563                 </property>
564                </widget>
565               </item>
566               <item row="2" column="1" >
567                <widget class="QLineEdit" name="quitReason" />
568               </item>
569               <item row="0" column="0" >
570                <widget class="QLabel" name="label_4" >
571                 <property name="text" >
572                  <string>Kick Reason:</string>
573                 </property>
574                </widget>
575               </item>
576              </layout>
577             </item>
578            </layout>
579           </widget>
580          </item>
581          <item>
582           <spacer>
583            <property name="orientation" >
584             <enum>Qt::Vertical</enum>
585            </property>
586            <property name="sizeHint" stdset="0" >
587             <size>
588              <width>20</width>
589              <height>40</height>
590             </size>
591            </property>
592           </spacer>
593          </item>
594         </layout>
595        </widget>
596       </widget>
597      </item>
598     </layout>
599    </item>
600   </layout>
601  </widget>
602  <tabstops>
603   <tabstop>identityList</tabstop>
604   <tabstop>renameIdentity</tabstop>
605   <tabstop>addIdentity</tabstop>
606   <tabstop>deleteIdentity</tabstop>
607   <tabstop>tabWidget</tabstop>
608   <tabstop>realName</tabstop>
609   <tabstop>nicknameList</tabstop>
610   <tabstop>addNick</tabstop>
611   <tabstop>deleteNick</tabstop>
612   <tabstop>renameNick</tabstop>
613   <tabstop>nickUp</tabstop>
614   <tabstop>nickDown</tabstop>
615   <tabstop>awayNick</tabstop>
616   <tabstop>awayReasonEnabled</tabstop>
617   <tabstop>awayReason</tabstop>
618   <tabstop>awayNickEnabled</tabstop>
619   <tabstop>autoAwayEnabled</tabstop>
620   <tabstop>autoAwayTime</tabstop>
621   <tabstop>autoAwayReasonEnabled</tabstop>
622   <tabstop>autoAwayReason</tabstop>
623   <tabstop>ident</tabstop>
624   <tabstop>kickReason</tabstop>
625   <tabstop>partReason</tabstop>
626   <tabstop>quitReason</tabstop>
627  </tabstops>
628  <resources/>
629  <connections>
630   <connection>
631    <sender>awayNickEnabled</sender>
632    <signal>toggled(bool)</signal>
633    <receiver>awayNick</receiver>
634    <slot>setEnabled(bool)</slot>
635    <hints>
636     <hint type="sourcelabel" >
637      <x>71</x>
638      <y>128</y>
639     </hint>
640     <hint type="destinationlabel" >
641      <x>314</x>
642      <y>129</y>
643     </hint>
644    </hints>
645   </connection>
646   <connection>
647    <sender>awayReasonEnabled</sender>
648    <signal>toggled(bool)</signal>
649    <receiver>awayReason</receiver>
650    <slot>setEnabled(bool)</slot>
651    <hints>
652     <hint type="sourcelabel" >
653      <x>81</x>
654      <y>156</y>
655     </hint>
656     <hint type="destinationlabel" >
657      <x>306</x>
658      <y>157</y>
659     </hint>
660    </hints>
661   </connection>
662   <connection>
663    <sender>autoAwayReasonEnabled</sender>
664    <signal>toggled(bool)</signal>
665    <receiver>autoAwayReason</receiver>
666    <slot>setEnabled(bool)</slot>
667    <hints>
668     <hint type="sourcelabel" >
669      <x>126</x>
670      <y>327</y>
671     </hint>
672     <hint type="destinationlabel" >
673      <x>315</x>
674      <y>328</y>
675     </hint>
676    </hints>
677   </connection>
678   <connection>
679    <sender>detachAwayReasonEnabled</sender>
680    <signal>toggled(bool)</signal>
681    <receiver>detachAwayReason</receiver>
682    <slot>setEnabled(bool)</slot>
683    <hints>
684     <hint type="sourcelabel" >
685      <x>33</x>
686      <y>214</y>
687     </hint>
688     <hint type="destinationlabel" >
689      <x>204</x>
690      <y>218</y>
691     </hint>
692    </hints>
693   </connection>
694  </connections>
695 </ui>