modernize: Pass arguments by value and move in constructors
[quassel.git] / src / qtui / settingspages / coreaccounteditdlg.ui
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3  <class>CoreAccountEditDlg</class>
4  <widget class="QDialog" name="CoreAccountEditDlg">
5   <property name="geometry">
6    <rect>
7     <x>0</x>
8     <y>0</y>
9     <width>398</width>
10     <height>602</height>
11    </rect>
12   </property>
13   <property name="windowTitle">
14    <string>Edit Core Account</string>
15   </property>
16   <layout class="QVBoxLayout" name="verticalLayout">
17    <item>
18     <widget class="QGroupBox" name="groupBox">
19      <property name="title">
20       <string>Account Details</string>
21      </property>
22      <layout class="QGridLayout" name="gridLayout_3">
23       <item row="0" column="0">
24        <widget class="QLabel" name="label">
25         <property name="text">
26          <string>Account Name:</string>
27         </property>
28        </widget>
29       </item>
30       <item row="0" column="1" colspan="3">
31        <widget class="QLineEdit" name="accountName">
32         <property name="text">
33          <string>Local Core</string>
34         </property>
35        </widget>
36       </item>
37       <item row="1" column="0">
38        <widget class="QLabel" name="label_2">
39         <property name="text">
40          <string>Hostname:</string>
41         </property>
42        </widget>
43       </item>
44       <item row="1" column="1" colspan="3">
45        <widget class="QLineEdit" name="hostName">
46         <property name="text">
47          <string>localhost</string>
48         </property>
49        </widget>
50       </item>
51       <item row="2" column="0">
52        <widget class="QLabel" name="label_3">
53         <property name="text">
54          <string>Port:</string>
55         </property>
56        </widget>
57       </item>
58       <item row="2" column="1">
59        <widget class="QSpinBox" name="port">
60         <property name="sizePolicy">
61          <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
62           <horstretch>0</horstretch>
63           <verstretch>0</verstretch>
64          </sizepolicy>
65         </property>
66         <property name="minimum">
67          <number>1</number>
68         </property>
69         <property name="maximum">
70          <number>65535</number>
71         </property>
72         <property name="value">
73          <number>4242</number>
74         </property>
75        </widget>
76       </item>
77       <item row="2" column="2">
78        <spacer name="horizontalSpacer_2">
79         <property name="orientation">
80          <enum>Qt::Horizontal</enum>
81         </property>
82         <property name="sizeHint" stdset="0">
83          <size>
84           <width>63</width>
85           <height>20</height>
86          </size>
87         </property>
88        </spacer>
89       </item>
90       <item row="3" column="0">
91        <widget class="QLabel" name="label_4">
92         <property name="text">
93          <string>User:</string>
94         </property>
95        </widget>
96       </item>
97       <item row="3" column="1" colspan="2">
98        <widget class="QLineEdit" name="user"/>
99       </item>
100       <item row="4" column="0">
101        <widget class="QLabel" name="label_10">
102         <property name="text">
103          <string>Password:</string>
104         </property>
105        </widget>
106       </item>
107       <item row="4" column="1" colspan="2">
108        <widget class="QLineEdit" name="password">
109         <property name="echoMode">
110          <enum>QLineEdit::Password</enum>
111         </property>
112        </widget>
113       </item>
114       <item row="4" column="3">
115        <widget class="QCheckBox" name="rememberPassword">
116         <property name="text">
117          <string>Remember</string>
118         </property>
119        </widget>
120       </item>
121      </layout>
122     </widget>
123    </item>
124    <item>
125     <widget class="QGroupBox" name="groupBox_2">
126      <property name="title">
127       <string>Proxy Settings</string>
128      </property>
129      <layout class="QGridLayout" name="gridLayout">
130       <item row="3" column="0">
131        <widget class="QLabel" name="label_7">
132         <property name="text">
133          <string>Port:</string>
134         </property>
135        </widget>
136       </item>
137       <item row="1" column="2" colspan="2">
138        <widget class="QComboBox" name="proxyType">
139         <property name="enabled">
140          <bool>false</bool>
141         </property>
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="4">
155        <spacer name="horizontalSpacer">
156         <property name="orientation">
157          <enum>Qt::Horizontal</enum>
158         </property>
159         <property name="sizeHint" stdset="0">
160          <size>
161           <width>89</width>
162           <height>20</height>
163          </size>
164         </property>
165        </spacer>
166       </item>
167       <item row="2" column="0">
168        <widget class="QLabel" name="label_6">
169         <property name="text">
170          <string>Hostname:</string>
171         </property>
172        </widget>
173       </item>
174       <item row="2" column="2" colspan="4">
175        <widget class="QLineEdit" name="proxyHostName">
176         <property name="enabled">
177          <bool>false</bool>
178         </property>
179         <property name="text">
180          <string>localhost</string>
181         </property>
182        </widget>
183       </item>
184       <item row="4" column="2" colspan="3">
185        <widget class="QLineEdit" name="proxyUser">
186         <property name="enabled">
187          <bool>false</bool>
188         </property>
189        </widget>
190       </item>
191       <item row="3" column="2">
192        <widget class="QSpinBox" name="proxyPort">
193         <property name="enabled">
194          <bool>false</bool>
195         </property>
196         <property name="sizePolicy">
197          <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
198           <horstretch>0</horstretch>
199           <verstretch>0</verstretch>
200          </sizepolicy>
201         </property>
202         <property name="minimum">
203          <number>1</number>
204         </property>
205         <property name="maximum">
206          <number>65535</number>
207         </property>
208         <property name="value">
209          <number>8080</number>
210         </property>
211        </widget>
212       </item>
213       <item row="3" column="3" colspan="2">
214        <spacer name="horizontalSpacer_3">
215         <property name="orientation">
216          <enum>Qt::Horizontal</enum>
217         </property>
218         <property name="sizeHint" stdset="0">
219          <size>
220           <width>98</width>
221           <height>20</height>
222          </size>
223         </property>
224        </spacer>
225       </item>
226       <item row="4" column="0">
227        <widget class="QLabel" name="label_8">
228         <property name="text">
229          <string>User:</string>
230         </property>
231        </widget>
232       </item>
233       <item row="5" column="0">
234        <widget class="QLabel" name="label_9">
235         <property name="text">
236          <string>Password:</string>
237         </property>
238        </widget>
239       </item>
240       <item row="5" column="2" colspan="3">
241        <widget class="QLineEdit" name="proxyPassword">
242         <property name="enabled">
243          <bool>false</bool>
244         </property>
245         <property name="echoMode">
246          <enum>QLineEdit::Password</enum>
247         </property>
248        </widget>
249       </item>
250       <item row="4" column="5">
251        <spacer name="horizontalSpacer_4">
252         <property name="orientation">
253          <enum>Qt::Horizontal</enum>
254         </property>
255         <property name="sizeHint" stdset="0">
256          <size>
257           <width>40</width>
258           <height>20</height>
259          </size>
260         </property>
261        </spacer>
262       </item>
263       <item row="5" column="5">
264        <spacer name="horizontalSpacer_5">
265         <property name="orientation">
266          <enum>Qt::Horizontal</enum>
267         </property>
268         <property name="sizeHint" stdset="0">
269          <size>
270           <width>40</width>
271           <height>20</height>
272          </size>
273         </property>
274        </spacer>
275       </item>
276       <item row="1" column="0">
277        <widget class="QLabel" name="label_5">
278         <property name="text">
279          <string>Proxy Type:</string>
280         </property>
281        </widget>
282       </item>
283       <item row="0" column="2">
284        <layout class="QVBoxLayout" name="verticalLayoutProxyRadioGroup">
285         <item>
286          <widget class="QRadioButton" name="radioButtonNoProxy">
287           <property name="text">
288            <string>No pro&amp;xy</string>
289           </property>
290           <attribute name="buttonGroup">
291            <string notr="true">buttonGroupProxyType</string>
292           </attribute>
293          </widget>
294         </item>
295         <item>
296          <widget class="QRadioButton" name="radioButtonSystemProxy">
297           <property name="text">
298            <string>S&amp;ystem proxy</string>
299           </property>
300           <property name="checked">
301            <bool>true</bool>
302           </property>
303           <attribute name="buttonGroup">
304            <string notr="true">buttonGroupProxyType</string>
305           </attribute>
306          </widget>
307         </item>
308         <item>
309          <widget class="QRadioButton" name="radioButtonManualProxy">
310           <property name="text">
311            <string>&amp;Manual proxy configuration</string>
312           </property>
313           <attribute name="buttonGroup">
314            <string notr="true">buttonGroupProxyType</string>
315           </attribute>
316          </widget>
317         </item>
318        </layout>
319       </item>
320      </layout>
321     </widget>
322    </item>
323    <item>
324     <spacer>
325      <property name="orientation">
326       <enum>Qt::Vertical</enum>
327      </property>
328      <property name="sizeHint" stdset="0">
329       <size>
330        <width>20</width>
331        <height>4</height>
332       </size>
333      </property>
334     </spacer>
335    </item>
336    <item>
337     <widget class="QDialogButtonBox" name="buttonBox">
338      <property name="orientation">
339       <enum>Qt::Horizontal</enum>
340      </property>
341      <property name="standardButtons">
342       <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
343      </property>
344     </widget>
345    </item>
346   </layout>
347  </widget>
348  <tabstops>
349   <tabstop>accountName</tabstop>
350   <tabstop>hostName</tabstop>
351   <tabstop>port</tabstop>
352   <tabstop>user</tabstop>
353   <tabstop>password</tabstop>
354   <tabstop>rememberPassword</tabstop>
355   <tabstop>proxyType</tabstop>
356   <tabstop>proxyHostName</tabstop>
357   <tabstop>proxyPort</tabstop>
358   <tabstop>proxyUser</tabstop>
359   <tabstop>proxyPassword</tabstop>
360   <tabstop>buttonBox</tabstop>
361  </tabstops>
362  <resources/>
363  <connections>
364   <connection>
365    <sender>buttonBox</sender>
366    <signal>accepted()</signal>
367    <receiver>CoreAccountEditDlg</receiver>
368    <slot>accept()</slot>
369    <hints>
370     <hint type="sourcelabel">
371      <x>275</x>
372      <y>521</y>
373     </hint>
374     <hint type="destinationlabel">
375      <x>157</x>
376      <y>207</y>
377     </hint>
378    </hints>
379   </connection>
380   <connection>
381    <sender>buttonBox</sender>
382    <signal>rejected()</signal>
383    <receiver>CoreAccountEditDlg</receiver>
384    <slot>reject()</slot>
385    <hints>
386     <hint type="sourcelabel">
387      <x>343</x>
388      <y>521</y>
389     </hint>
390     <hint type="destinationlabel">
391      <x>286</x>
392      <y>207</y>
393     </hint>
394    </hints>
395   </connection>
396  </connections>
397  <buttongroups>
398   <buttongroup name="buttonGroupProxyType"/>
399  </buttongroups>
400 </ui>