unconfusinating the core edit dialog
[quassel.git] / src / qtui / ui / coreaccounteditdlg.ui
1 <ui version="4.0" >
2  <class>CoreAccountEditDlg</class>
3  <widget class="QDialog" name="CoreAccountEditDlg" >
4   <property name="geometry" >
5    <rect>
6     <x>0</x>
7     <y>0</y>
8     <width>514</width>
9     <height>534</height>
10    </rect>
11   </property>
12   <property name="windowTitle" >
13    <string>Edit Core Account</string>
14   </property>
15   <layout class="QVBoxLayout" >
16    <item>
17     <layout class="QVBoxLayout" >
18      <item>
19       <widget class="QGroupBox" name="groupBox" >
20        <property name="title" >
21         <string>Account Details</string>
22        </property>
23        <layout class="QVBoxLayout" >
24         <item>
25          <layout class="QHBoxLayout" >
26           <item>
27            <widget class="QLabel" name="label" >
28             <property name="text" >
29              <string>Account Name:</string>
30             </property>
31            </widget>
32           </item>
33           <item>
34            <widget class="QLineEdit" name="accountName" >
35             <property name="text" >
36              <string>Local Core</string>
37             </property>
38            </widget>
39           </item>
40          </layout>
41         </item>
42         <item>
43          <layout class="QGridLayout" >
44           <item row="0" column="0" >
45            <widget class="QRadioButton" name="useInternal" >
46             <property name="enabled" >
47              <bool>false</bool>
48             </property>
49             <property name="text" >
50              <string/>
51             </property>
52            </widget>
53           </item>
54           <item row="0" column="1" colspan="2" >
55            <widget class="QLabel" name="labelUseBuiltinCore" >
56             <property name="enabled" >
57              <bool>false</bool>
58             </property>
59             <property name="text" >
60              <string>Use built-in Quassel Core</string>
61             </property>
62             <property name="buddy" >
63              <cstring>useInternal</cstring>
64             </property>
65            </widget>
66           </item>
67           <item row="1" column="0" >
68            <widget class="QRadioButton" name="useRemote" >
69             <property name="text" >
70              <string/>
71             </property>
72             <property name="checked" >
73              <bool>true</bool>
74             </property>
75            </widget>
76           </item>
77           <item row="1" column="1" >
78            <widget class="QLabel" name="label_2" >
79             <property name="text" >
80              <string>Hostname:</string>
81             </property>
82             <property name="buddy" >
83              <cstring>useRemote</cstring>
84             </property>
85            </widget>
86           </item>
87           <item row="1" column="2" >
88            <widget class="QLabel" name="label_3" >
89             <property name="text" >
90              <string>Port:</string>
91             </property>
92            </widget>
93           </item>
94           <item row="2" column="1" >
95            <widget class="QLineEdit" name="host" >
96             <property name="text" >
97              <string>localhost</string>
98             </property>
99            </widget>
100           </item>
101           <item row="2" column="2" >
102            <widget class="QSpinBox" name="port" >
103             <property name="minimum" >
104              <number>1</number>
105             </property>
106             <property name="maximum" >
107              <number>65535</number>
108             </property>
109             <property name="value" >
110              <number>4242</number>
111             </property>
112            </widget>
113           </item>
114           <item row="3" column="1" colspan="2" >
115            <widget class="QCheckBox" name="useSsl" >
116             <property name="text" >
117              <string>Use secure connection (SSL)</string>
118             </property>
119             <property name="icon" >
120              <iconset resource="../../icons/icons.qrc" >
121               <normaloff>:/16x16/actions/oxygen/16x16/actions/document-encrypt.png</normaloff>:/16x16/actions/oxygen/16x16/actions/document-encrypt.png</iconset>
122             </property>
123             <property name="checked" >
124              <bool>false</bool>
125             </property>
126            </widget>
127           </item>
128          </layout>
129         </item>
130         <item>
131          <widget class="QGroupBox" name="useProxy" >
132           <property name="title" >
133            <string>Use a proxy:</string>
134           </property>
135           <property name="checkable" >
136            <bool>true</bool>
137           </property>
138           <property name="checked" >
139            <bool>false</bool>
140           </property>
141           <layout class="QGridLayout" >
142            <item row="0" column="0" colspan="2" >
143             <widget class="QLabel" name="label_5" >
144              <property name="text" >
145               <string>Proxy Type:</string>
146              </property>
147             </widget>
148            </item>
149            <item row="0" column="2" >
150             <widget class="QComboBox" name="proxyType" >
151              <item>
152               <property name="text" >
153                <string>Socks 5</string>
154               </property>
155              </item>
156              <item>
157               <property name="text" >
158                <string>HTTP</string>
159               </property>
160              </item>
161             </widget>
162            </item>
163            <item row="1" column="0" colspan="2" >
164             <widget class="QLabel" name="label_6" >
165              <property name="text" >
166               <string>Proxy Host:</string>
167              </property>
168             </widget>
169            </item>
170            <item row="1" column="2" >
171             <widget class="QLabel" name="label_7" >
172              <property name="text" >
173               <string>Proxy Port:</string>
174              </property>
175             </widget>
176            </item>
177            <item row="2" column="0" colspan="2" >
178             <widget class="QLineEdit" name="proxyHost" >
179              <property name="text" >
180               <string>localhost</string>
181              </property>
182             </widget>
183            </item>
184            <item row="2" column="2" >
185             <widget class="QSpinBox" name="proxyPort" >
186              <property name="maximum" >
187               <number>10000</number>
188              </property>
189              <property name="value" >
190               <number>8080</number>
191              </property>
192             </widget>
193            </item>
194            <item row="3" column="0" >
195             <widget class="QLabel" name="label_8" >
196              <property name="text" >
197               <string>Proxy Username:</string>
198              </property>
199             </widget>
200            </item>
201            <item row="3" column="1" colspan="2" >
202             <widget class="QLineEdit" name="proxyUser" />
203            </item>
204            <item row="4" column="0" >
205             <widget class="QLabel" name="label_9" >
206              <property name="text" >
207               <string>Proxy Password:</string>
208              </property>
209             </widget>
210            </item>
211            <item row="4" column="1" colspan="2" >
212             <widget class="QLineEdit" name="proxyPassword" />
213            </item>
214           </layout>
215          </widget>
216         </item>
217        </layout>
218       </widget>
219      </item>
220      <item>
221       <spacer>
222        <property name="orientation" >
223         <enum>Qt::Vertical</enum>
224        </property>
225        <property name="sizeHint" stdset="0" >
226         <size>
227          <width>20</width>
228          <height>40</height>
229         </size>
230        </property>
231       </spacer>
232      </item>
233      <item>
234       <widget class="QDialogButtonBox" name="buttonBox" >
235        <property name="orientation" >
236         <enum>Qt::Horizontal</enum>
237        </property>
238        <property name="standardButtons" >
239         <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
240        </property>
241       </widget>
242      </item>
243     </layout>
244    </item>
245   </layout>
246  </widget>
247  <resources>
248   <include location="../../icons/icons.qrc" />
249  </resources>
250  <connections>
251   <connection>
252    <sender>buttonBox</sender>
253    <signal>accepted()</signal>
254    <receiver>CoreAccountEditDlg</receiver>
255    <slot>accept()</slot>
256    <hints>
257     <hint type="sourcelabel" >
258      <x>275</x>
259      <y>521</y>
260     </hint>
261     <hint type="destinationlabel" >
262      <x>157</x>
263      <y>207</y>
264     </hint>
265    </hints>
266   </connection>
267   <connection>
268    <sender>buttonBox</sender>
269    <signal>rejected()</signal>
270    <receiver>CoreAccountEditDlg</receiver>
271    <slot>reject()</slot>
272    <hints>
273     <hint type="sourcelabel" >
274      <x>343</x>
275      <y>521</y>
276     </hint>
277     <hint type="destinationlabel" >
278      <x>286</x>
279      <y>207</y>
280     </hint>
281    </hints>
282   </connection>
283   <connection>
284    <sender>useInternal</sender>
285    <signal>toggled(bool)</signal>
286    <receiver>host</receiver>
287    <slot>setDisabled(bool)</slot>
288    <hints>
289     <hint type="sourcelabel" >
290      <x>63</x>
291      <y>100</y>
292     </hint>
293     <hint type="destinationlabel" >
294      <x>92</x>
295      <y>143</y>
296     </hint>
297    </hints>
298   </connection>
299   <connection>
300    <sender>useInternal</sender>
301    <signal>toggled(bool)</signal>
302    <receiver>port</receiver>
303    <slot>setDisabled(bool)</slot>
304    <hints>
305     <hint type="sourcelabel" >
306      <x>63</x>
307      <y>100</y>
308     </hint>
309     <hint type="destinationlabel" >
310      <x>400</x>
311      <y>144</y>
312     </hint>
313    </hints>
314   </connection>
315   <connection>
316    <sender>useRemote</sender>
317    <signal>clicked(bool)</signal>
318    <receiver>host</receiver>
319    <slot>setFocus()</slot>
320    <hints>
321     <hint type="sourcelabel" >
322      <x>59</x>
323      <y>126</y>
324     </hint>
325     <hint type="destinationlabel" >
326      <x>184</x>
327      <y>146</y>
328     </hint>
329    </hints>
330   </connection>
331  </connections>
332 </ui>