30364a2bdc41eae70bb29e686402381df3d26dcb
[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="text" >
109              <string>Use secure connection (SSL)</string>
110             </property>
111             <property name="icon" >
112              <iconset resource="../../icons/icons.qrc" >:/16x16/actions/oxygen/16x16/actions/document-encrypt.png</iconset>
113             </property>
114             <property name="checked" >
115              <bool>false</bool>
116             </property>
117            </widget>
118           </item>
119          </layout>
120         </item>
121         <item>
122          <widget class="QGroupBox" name="useProxy" >
123           <property name="title" >
124            <string>Use a proxy:</string>
125           </property>
126           <property name="checkable" >
127            <bool>true</bool>
128           </property>
129           <property name="checked" >
130            <bool>false</bool>
131           </property>
132           <layout class="QGridLayout" >
133            <item row="0" column="0" colspan="2" >
134             <widget class="QLabel" name="label_5" >
135              <property name="text" >
136               <string>Proxy Type:</string>
137              </property>
138             </widget>
139            </item>
140            <item row="0" column="2" >
141             <widget class="QComboBox" name="proxyType" >
142              <item>
143               <property name="text" >
144                <string>Socks 5</string>
145               </property>
146              </item>
147              <item>
148               <property name="text" >
149                <string>HTTP</string>
150               </property>
151              </item>
152             </widget>
153            </item>
154            <item row="1" column="0" colspan="2" >
155             <widget class="QLabel" name="label_6" >
156              <property name="text" >
157               <string>Proxy Host:</string>
158              </property>
159             </widget>
160            </item>
161            <item row="1" column="2" >
162             <widget class="QLabel" name="label_7" >
163              <property name="text" >
164               <string>Proxy Port:</string>
165              </property>
166             </widget>
167            </item>
168            <item row="2" column="0" colspan="2" >
169             <widget class="QLineEdit" name="proxyHost" >
170              <property name="text" >
171               <string>localhost</string>
172              </property>
173             </widget>
174            </item>
175            <item row="2" column="2" >
176             <widget class="QSpinBox" name="proxyPort" >
177              <property name="maximum" >
178               <number>10000</number>
179              </property>
180              <property name="value" >
181               <number>8080</number>
182              </property>
183             </widget>
184            </item>
185            <item row="3" column="0" >
186             <widget class="QLabel" name="label_8" >
187              <property name="text" >
188               <string>Proxy Username:</string>
189              </property>
190             </widget>
191            </item>
192            <item row="3" column="1" colspan="2" >
193             <widget class="QLineEdit" name="proxyUser" />
194            </item>
195            <item row="4" column="0" >
196             <widget class="QLabel" name="label_9" >
197              <property name="text" >
198               <string>Proxy Password:</string>
199              </property>
200             </widget>
201            </item>
202            <item row="4" column="1" colspan="2" >
203             <widget class="QLineEdit" name="proxyPassword" />
204            </item>
205           </layout>
206          </widget>
207         </item>
208        </layout>
209       </widget>
210      </item>
211      <item>
212       <spacer>
213        <property name="orientation" >
214         <enum>Qt::Vertical</enum>
215        </property>
216        <property name="sizeHint" >
217         <size>
218          <width>20</width>
219          <height>40</height>
220         </size>
221        </property>
222       </spacer>
223      </item>
224      <item>
225       <widget class="QDialogButtonBox" name="buttonBox" >
226        <property name="orientation" >
227         <enum>Qt::Horizontal</enum>
228        </property>
229        <property name="standardButtons" >
230         <set>QDialogButtonBox::Cancel|QDialogButtonBox::NoButton|QDialogButtonBox::Ok</set>
231        </property>
232       </widget>
233      </item>
234     </layout>
235    </item>
236   </layout>
237  </widget>
238  <resources>
239   <include location="../../icons/icons.qrc" />
240  </resources>
241  <connections>
242   <connection>
243    <sender>buttonBox</sender>
244    <signal>accepted()</signal>
245    <receiver>CoreAccountEditDlg</receiver>
246    <slot>accept()</slot>
247    <hints>
248     <hint type="sourcelabel" >
249      <x>275</x>
250      <y>521</y>
251     </hint>
252     <hint type="destinationlabel" >
253      <x>157</x>
254      <y>207</y>
255     </hint>
256    </hints>
257   </connection>
258   <connection>
259    <sender>buttonBox</sender>
260    <signal>rejected()</signal>
261    <receiver>CoreAccountEditDlg</receiver>
262    <slot>reject()</slot>
263    <hints>
264     <hint type="sourcelabel" >
265      <x>343</x>
266      <y>521</y>
267     </hint>
268     <hint type="destinationlabel" >
269      <x>286</x>
270      <y>207</y>
271     </hint>
272    </hints>
273   </connection>
274   <connection>
275    <sender>useInternal</sender>
276    <signal>toggled(bool)</signal>
277    <receiver>host</receiver>
278    <slot>setDisabled(bool)</slot>
279    <hints>
280     <hint type="sourcelabel" >
281      <x>63</x>
282      <y>100</y>
283     </hint>
284     <hint type="destinationlabel" >
285      <x>92</x>
286      <y>143</y>
287     </hint>
288    </hints>
289   </connection>
290   <connection>
291    <sender>useInternal</sender>
292    <signal>toggled(bool)</signal>
293    <receiver>port</receiver>
294    <slot>setDisabled(bool)</slot>
295    <hints>
296     <hint type="sourcelabel" >
297      <x>63</x>
298      <y>100</y>
299     </hint>
300     <hint type="destinationlabel" >
301      <x>400</x>
302      <y>144</y>
303     </hint>
304    </hints>
305   </connection>
306   <connection>
307    <sender>useRemote</sender>
308    <signal>clicked(bool)</signal>
309    <receiver>host</receiver>
310    <slot>setFocus()</slot>
311    <hints>
312     <hint type="sourcelabel" >
313      <x>59</x>
314      <y>126</y>
315     </hint>
316     <hint type="destinationlabel" >
317      <x>184</x>
318      <y>146</y>
319     </hint>
320    </hints>
321   </connection>
322  </connections>
323 </ui>