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