More small changes, working on the dialogs right now.
[quassel.git] / gui / identitiesdlg.ui
1 <ui version="4.0" >
2  <class>IdentitiesDlg</class>
3  <widget class="QDialog" name="IdentitiesDlg" >
4   <property name="geometry" >
5    <rect>
6     <x>0</x>
7     <y>0</y>
8     <width>454</width>
9     <height>442</height>
10    </rect>
11   </property>
12   <property name="sizePolicy" >
13    <sizepolicy>
14     <hsizetype>5</hsizetype>
15     <vsizetype>5</vsizetype>
16     <horstretch>0</horstretch>
17     <verstretch>0</verstretch>
18    </sizepolicy>
19   </property>
20   <property name="windowTitle" >
21    <string>Edit Identity</string>
22   </property>
23   <property name="windowIcon" >
24    <iconset resource="../images/icons.qrc" >:/default/identity.png</iconset>
25   </property>
26   <property name="modal" >
27    <bool>true</bool>
28   </property>
29   <layout class="QVBoxLayout" >
30    <property name="margin" >
31     <number>8</number>
32    </property>
33    <property name="spacing" >
34     <number>6</number>
35    </property>
36    <item>
37     <layout class="QHBoxLayout" >
38      <property name="margin" >
39       <number>0</number>
40      </property>
41      <property name="spacing" >
42       <number>6</number>
43      </property>
44      <item>
45       <widget class="QComboBox" name="identityList" >
46        <property name="sizePolicy" >
47         <sizepolicy>
48          <hsizetype>3</hsizetype>
49          <vsizetype>0</vsizetype>
50          <horstretch>0</horstretch>
51          <verstretch>0</verstretch>
52         </sizepolicy>
53        </property>
54        <property name="insertPolicy" >
55         <enum>QComboBox::NoInsert</enum>
56        </property>
57       </widget>
58      </item>
59      <item>
60       <widget class="QPushButton" name="editIdentitiesButton" >
61        <property name="text" >
62         <string>Edit...</string>
63        </property>
64        <property name="icon" >
65         <iconset resource="../images/icons.qrc" >:/default/edit_user.png</iconset>
66        </property>
67       </widget>
68      </item>
69     </layout>
70    </item>
71    <item>
72     <widget class="QTabWidget" name="tabWidget" >
73      <property name="currentIndex" >
74       <number>0</number>
75      </property>
76      <widget class="QWidget" name="generalTab" >
77       <attribute name="title" >
78        <string>&amp;General</string>
79       </attribute>
80       <layout class="QVBoxLayout" >
81        <property name="margin" >
82         <number>8</number>
83        </property>
84        <property name="spacing" >
85         <number>6</number>
86        </property>
87        <item>
88         <layout class="QGridLayout" >
89          <property name="margin" >
90           <number>0</number>
91          </property>
92          <property name="spacing" >
93           <number>6</number>
94          </property>
95          <item row="0" column="0" >
96           <widget class="QLabel" name="label" >
97            <property name="text" >
98             <string>Real Name</string>
99            </property>
100           </widget>
101          </item>
102          <item row="2" column="1" >
103           <widget class="QLineEdit" name="identEdit" />
104          </item>
105          <item rowspan="2" row="0" column="1" >
106           <widget class="QLineEdit" name="realNameEdit" />
107          </item>
108          <item rowspan="2" row="1" column="0" >
109           <widget class="QLabel" name="label_2" >
110            <property name="text" >
111             <string>Ident</string>
112            </property>
113           </widget>
114          </item>
115         </layout>
116        </item>
117        <item>
118         <widget class="QGroupBox" name="nickGroupBox" >
119          <property name="title" >
120           <string>Nicknames</string>
121          </property>
122          <layout class="QHBoxLayout" >
123           <property name="margin" >
124            <number>8</number>
125           </property>
126           <property name="spacing" >
127            <number>6</number>
128           </property>
129           <item>
130            <widget class="QListWidget" name="nickList" >
131             <property name="sizePolicy" >
132              <sizepolicy>
133               <hsizetype>7</hsizetype>
134               <vsizetype>7</vsizetype>
135               <horstretch>1</horstretch>
136               <verstretch>0</verstretch>
137              </sizepolicy>
138             </property>
139            </widget>
140           </item>
141           <item>
142            <layout class="QVBoxLayout" >
143             <property name="margin" >
144              <number>0</number>
145             </property>
146             <property name="spacing" >
147              <number>6</number>
148             </property>
149             <item>
150              <widget class="QPushButton" name="addNickButton" >
151               <property name="sizePolicy" >
152                <sizepolicy>
153                 <hsizetype>5</hsizetype>
154                 <vsizetype>0</vsizetype>
155                 <horstretch>0</horstretch>
156                 <verstretch>0</verstretch>
157                </sizepolicy>
158               </property>
159               <property name="text" >
160                <string>&amp;Add...</string>
161               </property>
162               <property name="icon" >
163                <iconset resource="../images/icons.qrc" >:/default/edit_add.png</iconset>
164               </property>
165               <property name="iconSize" >
166                <size>
167                 <width>16</width>
168                 <height>16</height>
169                </size>
170               </property>
171              </widget>
172             </item>
173             <item>
174              <widget class="QPushButton" name="editNickButton" >
175               <property name="sizePolicy" >
176                <sizepolicy>
177                 <hsizetype>5</hsizetype>
178                 <vsizetype>0</vsizetype>
179                 <horstretch>0</horstretch>
180                 <verstretch>0</verstretch>
181                </sizepolicy>
182               </property>
183               <property name="text" >
184                <string>&amp;Edit...</string>
185               </property>
186               <property name="icon" >
187                <iconset resource="../images/icons.qrc" >:/default/edit.png</iconset>
188               </property>
189              </widget>
190             </item>
191             <item>
192              <widget class="QPushButton" name="delNickButton" >
193               <property name="sizePolicy" >
194                <sizepolicy>
195                 <hsizetype>5</hsizetype>
196                 <vsizetype>0</vsizetype>
197                 <horstretch>0</horstretch>
198                 <verstretch>0</verstretch>
199                </sizepolicy>
200               </property>
201               <property name="text" >
202                <string>De&amp;lete</string>
203               </property>
204               <property name="icon" >
205                <iconset resource="../images/icons.qrc" >:/default/edit_remove.png</iconset>
206               </property>
207              </widget>
208             </item>
209             <item>
210              <layout class="QHBoxLayout" >
211               <property name="margin" >
212                <number>0</number>
213               </property>
214               <property name="spacing" >
215                <number>6</number>
216               </property>
217               <item>
218                <spacer>
219                 <property name="orientation" >
220                  <enum>Qt::Horizontal</enum>
221                 </property>
222                 <property name="sizeHint" >
223                  <size>
224                   <width>0</width>
225                   <height>20</height>
226                  </size>
227                 </property>
228                </spacer>
229               </item>
230               <item>
231                <widget class="QToolButton" name="upNickButton" >
232                 <property name="text" >
233                  <string>...</string>
234                 </property>
235                 <property name="icon" >
236                  <iconset resource="../images/icons.qrc" >:/default/1uparrow.png</iconset>
237                 </property>
238                </widget>
239               </item>
240               <item>
241                <widget class="QToolButton" name="downNickButton" >
242                 <property name="text" >
243                  <string>...</string>
244                 </property>
245                 <property name="icon" >
246                  <iconset resource="../images/icons.qrc" >:/default/1downarrow.png</iconset>
247                 </property>
248                </widget>
249               </item>
250               <item>
251                <spacer>
252                 <property name="orientation" >
253                  <enum>Qt::Horizontal</enum>
254                 </property>
255                 <property name="sizeHint" >
256                  <size>
257                   <width>0</width>
258                   <height>20</height>
259                  </size>
260                 </property>
261                </spacer>
262               </item>
263              </layout>
264             </item>
265             <item>
266              <spacer>
267               <property name="orientation" >
268                <enum>Qt::Vertical</enum>
269               </property>
270               <property name="sizeHint" >
271                <size>
272                 <width>20</width>
273                 <height>0</height>
274                </size>
275               </property>
276              </spacer>
277             </item>
278            </layout>
279           </item>
280          </layout>
281         </widget>
282        </item>
283       </layout>
284       <widget class="QWidget" native="1" name="widget" >
285        <property name="geometry" >
286         <rect>
287          <x>10</x>
288          <y>0</y>
289          <width>395</width>
290          <height>83</height>
291         </rect>
292        </property>
293       </widget>
294      </widget>
295      <widget class="QWidget" name="awayTab" >
296       <attribute name="title" >
297        <string>&amp;Away</string>
298       </attribute>
299       <layout class="QVBoxLayout" >
300        <property name="margin" >
301         <number>8</number>
302        </property>
303        <property name="spacing" >
304         <number>6</number>
305        </property>
306        <item>
307         <layout class="QGridLayout" >
308          <property name="margin" >
309           <number>0</number>
310          </property>
311          <property name="spacing" >
312           <number>6</number>
313          </property>
314          <item row="0" column="1" >
315           <widget class="QLineEdit" name="awayNickEdit" />
316          </item>
317          <item row="1" column="0" >
318           <widget class="QCheckBox" name="enableAwayReason" >
319            <property name="text" >
320             <string>Away Reason</string>
321            </property>
322           </widget>
323          </item>
324          <item row="1" column="1" >
325           <widget class="QLineEdit" name="awayReasonEdit" />
326          </item>
327          <item row="2" column="0" >
328           <widget class="QCheckBox" name="enableReturnMessage" >
329            <property name="text" >
330             <string>Return Message</string>
331            </property>
332           </widget>
333          </item>
334          <item row="2" column="1" >
335           <widget class="QLineEdit" name="returnMessageEdit" />
336          </item>
337          <item row="0" column="0" >
338           <widget class="QCheckBox" name="enableAwayNick" >
339            <property name="text" >
340             <string>Away Nick</string>
341            </property>
342           </widget>
343          </item>
344         </layout>
345        </item>
346        <item>
347         <widget class="QGroupBox" name="groupBox" >
348          <property name="title" >
349           <string>Auto Away</string>
350          </property>
351          <layout class="QVBoxLayout" >
352           <property name="margin" >
353            <number>8</number>
354           </property>
355           <property name="spacing" >
356            <number>6</number>
357           </property>
358           <item>
359            <widget class="QCheckBox" name="enableAutoAway" >
360             <property name="text" >
361              <string>Enable Auto Away</string>
362             </property>
363            </widget>
364           </item>
365           <item>
366            <layout class="QHBoxLayout" >
367             <property name="margin" >
368              <number>0</number>
369             </property>
370             <property name="spacing" >
371              <number>6</number>
372             </property>
373             <item>
374              <widget class="QLabel" name="autoAwayLabel_1" >
375               <property name="text" >
376                <string>Auto away after</string>
377               </property>
378              </widget>
379             </item>
380             <item>
381              <widget class="QSpinBox" name="autoAwayTime" />
382             </item>
383             <item>
384              <widget class="QLabel" name="autoAwayLabel_2" >
385               <property name="text" >
386                <string>minutes</string>
387               </property>
388              </widget>
389             </item>
390             <item>
391              <spacer>
392               <property name="orientation" >
393                <enum>Qt::Horizontal</enum>
394               </property>
395               <property name="sizeHint" >
396                <size>
397                 <width>40</width>
398                 <height>20</height>
399                </size>
400               </property>
401              </spacer>
402             </item>
403            </layout>
404           </item>
405           <item>
406            <layout class="QGridLayout" >
407             <property name="margin" >
408              <number>0</number>
409             </property>
410             <property name="spacing" >
411              <number>6</number>
412             </property>
413             <item row="1" column="0" >
414              <widget class="QCheckBox" name="enableAutoAwayReturn" >
415               <property name="text" >
416                <string>Return Message</string>
417               </property>
418              </widget>
419             </item>
420             <item row="0" column="0" >
421              <widget class="QCheckBox" name="enableAutoAwayReason" >
422               <property name="text" >
423                <string>Away Reason</string>
424               </property>
425              </widget>
426             </item>
427             <item row="1" column="1" >
428              <widget class="QLineEdit" name="autoAwayReturnEdit" />
429             </item>
430             <item row="0" column="1" >
431              <widget class="QLineEdit" name="autoAwayReasonEdit" />
432             </item>
433            </layout>
434           </item>
435          </layout>
436         </widget>
437        </item>
438        <item>
439         <spacer>
440          <property name="orientation" >
441           <enum>Qt::Vertical</enum>
442          </property>
443          <property name="sizeHint" >
444           <size>
445            <width>20</width>
446            <height>40</height>
447           </size>
448          </property>
449         </spacer>
450        </item>
451       </layout>
452      </widget>
453      <widget class="QWidget" name="messagesTab" >
454       <attribute name="title" >
455        <string>&amp;Messages</string>
456       </attribute>
457       <layout class="QVBoxLayout" >
458        <property name="margin" >
459         <number>8</number>
460        </property>
461        <property name="spacing" >
462         <number>6</number>
463        </property>
464        <item>
465         <layout class="QGridLayout" >
466          <property name="margin" >
467           <number>0</number>
468          </property>
469          <property name="spacing" >
470           <number>6</number>
471          </property>
472          <item row="1" column="0" >
473           <widget class="QLabel" name="label_3" >
474            <property name="text" >
475             <string>Part Reason</string>
476            </property>
477           </widget>
478          </item>
479          <item row="1" column="1" >
480           <widget class="QLineEdit" name="partReasonEdit" />
481          </item>
482          <item row="0" column="1" >
483           <widget class="QLineEdit" name="kickReasonEdit" />
484          </item>
485          <item row="2" column="0" >
486           <widget class="QLabel" name="label_5" >
487            <property name="text" >
488             <string>Quit Reason</string>
489            </property>
490           </widget>
491          </item>
492          <item row="2" column="1" >
493           <widget class="QLineEdit" name="quitReasonEdit" />
494          </item>
495          <item row="0" column="0" >
496           <widget class="QLabel" name="label_4" >
497            <property name="text" >
498             <string>Kick Reason</string>
499            </property>
500           </widget>
501          </item>
502         </layout>
503        </item>
504        <item>
505         <spacer>
506          <property name="orientation" >
507           <enum>Qt::Vertical</enum>
508          </property>
509          <property name="sizeHint" >
510           <size>
511            <width>20</width>
512            <height>141</height>
513           </size>
514          </property>
515         </spacer>
516        </item>
517       </layout>
518      </widget>
519     </widget>
520    </item>
521    <item>
522     <widget class="QDialogButtonBox" name="buttonBox" >
523      <property name="orientation" >
524       <enum>Qt::Horizontal</enum>
525      </property>
526      <property name="standardButtons" >
527       <set>QDialogButtonBox::Cancel|QDialogButtonBox::NoButton|QDialogButtonBox::Ok</set>
528      </property>
529     </widget>
530    </item>
531   </layout>
532  </widget>
533  <resources>
534   <include location="../images/icons.qrc" />
535  </resources>
536  <connections>
537   <connection>
538    <sender>enableAwayNick</sender>
539    <signal>clicked(bool)</signal>
540    <receiver>awayNickEdit</receiver>
541    <slot>setEnabled(bool)</slot>
542    <hints>
543     <hint type="sourcelabel" >
544      <x>71</x>
545      <y>84</y>
546     </hint>
547     <hint type="destinationlabel" >
548      <x>212</x>
549      <y>84</y>
550     </hint>
551    </hints>
552   </connection>
553   <connection>
554    <sender>enableAwayReason</sender>
555    <signal>clicked(bool)</signal>
556    <receiver>awayReasonEdit</receiver>
557    <slot>setEnabled(bool)</slot>
558    <hints>
559     <hint type="sourcelabel" >
560      <x>111</x>
561      <y>117</y>
562     </hint>
563     <hint type="destinationlabel" >
564      <x>153</x>
565      <y>116</y>
566     </hint>
567    </hints>
568   </connection>
569   <connection>
570    <sender>enableReturnMessage</sender>
571    <signal>clicked(bool)</signal>
572    <receiver>returnMessageEdit</receiver>
573    <slot>setEnabled(bool)</slot>
574    <hints>
575     <hint type="sourcelabel" >
576      <x>120</x>
577      <y>145</y>
578     </hint>
579     <hint type="destinationlabel" >
580      <x>166</x>
581      <y>145</y>
582     </hint>
583    </hints>
584   </connection>
585   <connection>
586    <sender>enableAutoAway</sender>
587    <signal>clicked(bool)</signal>
588    <receiver>autoAwayTime</receiver>
589    <slot>setEnabled(bool)</slot>
590    <hints>
591     <hint type="sourcelabel" >
592      <x>79</x>
593      <y>202</y>
594     </hint>
595     <hint type="destinationlabel" >
596      <x>144</x>
597      <y>230</y>
598     </hint>
599    </hints>
600   </connection>
601   <connection>
602    <sender>enableAutoAwayReturn</sender>
603    <signal>clicked(bool)</signal>
604    <receiver>autoAwayReturnEdit</receiver>
605    <slot>setEnabled(bool)</slot>
606    <hints>
607     <hint type="sourcelabel" >
608      <x>121</x>
609      <y>284</y>
610     </hint>
611     <hint type="destinationlabel" >
612      <x>202</x>
613      <y>291</y>
614     </hint>
615    </hints>
616   </connection>
617   <connection>
618    <sender>enableAutoAwayReason</sender>
619    <signal>clicked(bool)</signal>
620    <receiver>autoAwayReasonEdit</receiver>
621    <slot>setEnabled(bool)</slot>
622    <hints>
623     <hint type="sourcelabel" >
624      <x>140</x>
625      <y>261</y>
626     </hint>
627     <hint type="destinationlabel" >
628      <x>169</x>
629      <y>261</y>
630     </hint>
631    </hints>
632   </connection>
633   <connection>
634    <sender>buttonBox</sender>
635    <signal>rejected()</signal>
636    <receiver>IdentitiesDlg</receiver>
637    <slot>reject()</slot>
638    <hints>
639     <hint type="sourcelabel" >
640      <x>226</x>
641      <y>420</y>
642     </hint>
643     <hint type="destinationlabel" >
644      <x>226</x>
645      <y>220</y>
646     </hint>
647    </hints>
648   </connection>
649   <connection>
650    <sender>buttonBox</sender>
651    <signal>accepted()</signal>
652    <receiver>IdentitiesDlg</receiver>
653    <slot>accept()</slot>
654    <hints>
655     <hint type="sourcelabel" >
656      <x>226</x>
657      <y>420</y>
658     </hint>
659     <hint type="destinationlabel" >
660      <x>226</x>
661      <y>220</y>
662     </hint>
663    </hints>
664   </connection>
665  </connections>
666 </ui>