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