Add a settingspage for configuring the input widget
[quassel.git] / src / qtui / settingspages / servereditdlg.ui
1 <ui version="4.0" >
2  <class>ServerEditDlg</class>
3  <widget class="QDialog" name="ServerEditDlg" >
4   <property name="geometry" >
5    <rect>
6     <x>0</x>
7     <y>0</y>
8     <width>386</width>
9     <height>346</height>
10    </rect>
11   </property>
12   <property name="windowTitle" >
13    <string>Dialog</string>
14   </property>
15   <layout class="QVBoxLayout" name="verticalLayout_3" >
16    <item>
17     <widget class="QTabWidget" name="tabWidget" >
18      <property name="toolTip" >
19       <string/>
20      </property>
21      <property name="currentIndex" >
22       <number>0</number>
23      </property>
24      <property name="usesScrollButtons" >
25       <bool>false</bool>
26      </property>
27      <widget class="QWidget" name="basic" >
28       <property name="geometry" >
29        <rect>
30         <x>0</x>
31         <y>0</y>
32         <width>356</width>
33         <height>243</height>
34        </rect>
35       </property>
36       <attribute name="title" >
37        <string>Server Info</string>
38       </attribute>
39       <layout class="QVBoxLayout" name="verticalLayout_4" >
40        <item>
41         <layout class="QGridLayout" name="gridLayout_2" >
42          <item row="0" column="0" >
43           <widget class="QLabel" name="label" >
44            <property name="text" >
45             <string>Server address:</string>
46            </property>
47           </widget>
48          </item>
49          <item row="0" column="1" >
50           <widget class="QLabel" name="label_2" >
51            <property name="text" >
52             <string>Port:</string>
53            </property>
54           </widget>
55          </item>
56          <item row="1" column="0" >
57           <widget class="QLineEdit" name="host" />
58          </item>
59          <item row="1" column="1" >
60           <widget class="QSpinBox" name="port" >
61            <property name="minimum" >
62             <number>1</number>
63            </property>
64            <property name="maximum" >
65             <number>65535</number>
66            </property>
67            <property name="value" >
68             <number>6667</number>
69            </property>
70           </widget>
71          </item>
72         </layout>
73        </item>
74        <item>
75         <layout class="QHBoxLayout" >
76          <item>
77           <widget class="QLabel" name="passwordLabel" >
78            <property name="text" >
79             <string>Password:</string>
80            </property>
81           </widget>
82          </item>
83          <item>
84           <widget class="QLineEdit" name="password" >
85            <property name="enabled" >
86             <bool>true</bool>
87            </property>
88            <property name="echoMode" >
89             <enum>QLineEdit::Password</enum>
90            </property>
91           </widget>
92          </item>
93         </layout>
94        </item>
95        <item>
96         <widget class="QCheckBox" name="useSSL" >
97          <property name="enabled" >
98           <bool>true</bool>
99          </property>
100          <property name="text" >
101           <string>Use SSL</string>
102          </property>
103          <property name="icon" >
104           <iconset>
105            <normaloff>:/16x16/actions/oxygen/16x16/actions/document-encrypt.png</normaloff>:/16x16/actions/oxygen/16x16/actions/document-encrypt.png</iconset>
106          </property>
107         </widget>
108        </item>
109        <item>
110         <spacer name="verticalSpacer_2" >
111          <property name="orientation" >
112           <enum>Qt::Vertical</enum>
113          </property>
114          <property name="sizeHint" stdset="0" >
115           <size>
116            <width>20</width>
117            <height>40</height>
118           </size>
119          </property>
120         </spacer>
121        </item>
122       </layout>
123      </widget>
124      <widget class="QWidget" name="advanced" >
125       <property name="geometry" >
126        <rect>
127         <x>0</x>
128         <y>0</y>
129         <width>356</width>
130         <height>243</height>
131        </rect>
132       </property>
133       <attribute name="title" >
134        <string>Advanced</string>
135       </attribute>
136       <layout class="QVBoxLayout" name="verticalLayout_2" >
137        <item>
138         <layout class="QHBoxLayout" name="horizontalLayout" >
139          <item>
140           <spacer name="horizontalSpacer" >
141            <property name="orientation" >
142             <enum>Qt::Horizontal</enum>
143            </property>
144            <property name="sizeHint" stdset="0" >
145             <size>
146              <width>40</width>
147              <height>20</height>
148             </size>
149            </property>
150           </spacer>
151          </item>
152          <item>
153           <widget class="QLabel" name="label_3" >
154            <property name="text" >
155             <string>SSL Version:</string>
156            </property>
157           </widget>
158          </item>
159          <item>
160           <widget class="QComboBox" name="sslVersion" >
161            <property name="toolTip" >
162             <string>Do not change unless you're going to connect to a server not supporting SSLv3!</string>
163            </property>
164            <item>
165             <property name="text" >
166              <string>SSLv3 (default)</string>
167             </property>
168            </item>
169            <item>
170             <property name="text" >
171              <string>SSLv2</string>
172             </property>
173            </item>
174            <item>
175             <property name="text" >
176              <string>TLSv1</string>
177             </property>
178            </item>
179           </widget>
180          </item>
181         </layout>
182        </item>
183        <item>
184         <widget class="QGroupBox" name="useProxy" >
185          <property name="title" >
186           <string>Use a Proxy</string>
187          </property>
188          <property name="flat" >
189           <bool>false</bool>
190          </property>
191          <property name="checkable" >
192           <bool>true</bool>
193          </property>
194          <property name="checked" >
195           <bool>false</bool>
196          </property>
197          <layout class="QVBoxLayout" name="verticalLayout" >
198           <item>
199            <layout class="QHBoxLayout" name="horizontalLayout_3" >
200             <item>
201              <widget class="QLabel" name="label_8" >
202               <property name="text" >
203                <string>Proxy Type:</string>
204               </property>
205              </widget>
206             </item>
207             <item>
208              <widget class="QComboBox" name="proxyType" >
209               <item>
210                <property name="text" >
211                 <string>Socks 5</string>
212                </property>
213               </item>
214               <item>
215                <property name="text" >
216                 <string>HTTP</string>
217                </property>
218               </item>
219              </widget>
220             </item>
221            </layout>
222           </item>
223           <item>
224            <layout class="QHBoxLayout" name="horizontalLayout_2" >
225             <item>
226              <widget class="QLabel" name="label_4" >
227               <property name="text" >
228                <string>Proxy Host:</string>
229               </property>
230              </widget>
231             </item>
232             <item>
233              <widget class="QLineEdit" name="proxyHost" >
234               <property name="text" >
235                <string>localhost</string>
236               </property>
237              </widget>
238             </item>
239             <item>
240              <widget class="QLabel" name="label_5" >
241               <property name="text" >
242                <string>Port:</string>
243               </property>
244              </widget>
245             </item>
246             <item>
247              <widget class="QSpinBox" name="proxyPort" >
248               <property name="minimum" >
249                <number>1</number>
250               </property>
251               <property name="maximum" >
252                <number>65535</number>
253               </property>
254               <property name="value" >
255                <number>8080</number>
256               </property>
257              </widget>
258             </item>
259            </layout>
260           </item>
261           <item>
262            <layout class="QGridLayout" name="gridLayout" >
263             <item row="0" column="0" >
264              <widget class="QLabel" name="label_6" >
265               <property name="text" >
266                <string>Proxy Username:</string>
267               </property>
268              </widget>
269             </item>
270             <item row="0" column="1" >
271              <widget class="QLineEdit" name="proxyUsername" />
272             </item>
273             <item row="1" column="0" >
274              <widget class="QLabel" name="label_7" >
275               <property name="text" >
276                <string>Proxy Password:</string>
277               </property>
278              </widget>
279             </item>
280             <item row="1" column="1" >
281              <widget class="QLineEdit" name="proxyPassword" >
282               <property name="echoMode" >
283                <enum>QLineEdit::Password</enum>
284               </property>
285              </widget>
286             </item>
287            </layout>
288           </item>
289          </layout>
290         </widget>
291        </item>
292       </layout>
293      </widget>
294     </widget>
295    </item>
296    <item>
297     <spacer name="verticalSpacer" >
298      <property name="orientation" >
299       <enum>Qt::Vertical</enum>
300      </property>
301      <property name="sizeHint" stdset="0" >
302       <size>
303        <width>20</width>
304        <height>17</height>
305       </size>
306      </property>
307     </spacer>
308    </item>
309    <item>
310     <widget class="QDialogButtonBox" name="buttonBox" >
311      <property name="orientation" >
312       <enum>Qt::Horizontal</enum>
313      </property>
314      <property name="standardButtons" >
315       <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
316      </property>
317     </widget>
318    </item>
319   </layout>
320  </widget>
321  <resources/>
322  <connections>
323   <connection>
324    <sender>buttonBox</sender>
325    <signal>accepted()</signal>
326    <receiver>ServerEditDlg</receiver>
327    <slot>accept()</slot>
328    <hints>
329     <hint type="sourcelabel" >
330      <x>248</x>
331      <y>254</y>
332     </hint>
333     <hint type="destinationlabel" >
334      <x>157</x>
335      <y>274</y>
336     </hint>
337    </hints>
338   </connection>
339   <connection>
340    <sender>buttonBox</sender>
341    <signal>rejected()</signal>
342    <receiver>ServerEditDlg</receiver>
343    <slot>reject()</slot>
344    <hints>
345     <hint type="sourcelabel" >
346      <x>316</x>
347      <y>260</y>
348     </hint>
349     <hint type="destinationlabel" >
350      <x>286</x>
351      <y>274</y>
352     </hint>
353    </hints>
354   </connection>
355  </connections>
356 </ui>