ef42b8e15f2f0f6ba984207d8a9baa6799196366
[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>264</width>
9     <height>167</height>
10    </rect>
11   </property>
12   <property name="windowTitle" >
13    <string>Dialog</string>
14   </property>
15   <layout class="QVBoxLayout" >
16    <item>
17     <layout class="QGridLayout" >
18      <item row="0" column="0" >
19       <widget class="QLabel" name="label" >
20        <property name="text" >
21         <string>Server address:</string>
22        </property>
23       </widget>
24      </item>
25      <item row="0" column="1" >
26       <widget class="QLabel" name="label_2" >
27        <property name="text" >
28         <string>Port:</string>
29        </property>
30       </widget>
31      </item>
32      <item row="1" column="0" >
33       <widget class="QLineEdit" name="host" />
34      </item>
35      <item row="1" column="1" >
36       <widget class="QSpinBox" name="port" >
37        <property name="minimum" >
38         <number>1</number>
39        </property>
40        <property name="maximum" >
41         <number>65535</number>
42        </property>
43        <property name="value" >
44         <number>6667</number>
45        </property>
46       </widget>
47      </item>
48     </layout>
49    </item>
50    <item>
51     <layout class="QHBoxLayout" >
52      <item>
53       <widget class="QLabel" name="label_3" >
54        <property name="text" >
55         <string>Password:</string>
56        </property>
57       </widget>
58      </item>
59      <item>
60       <widget class="QLineEdit" name="password" >
61        <property name="enabled" >
62         <bool>false</bool>
63        </property>
64        <property name="echoMode" >
65         <enum>QLineEdit::Password</enum>
66        </property>
67       </widget>
68      </item>
69     </layout>
70    </item>
71    <item>
72     <widget class="QCheckBox" name="useSSL" >
73      <property name="enabled" >
74       <bool>true</bool>
75      </property>
76      <property name="text" >
77       <string>Use SSL</string>
78      </property>
79      <property name="icon" >
80       <iconset resource="../../icons/icons.qrc" >
81        <normaloff>:/16x16/actions/oxygen/16x16/actions/document-encrypt.png</normaloff>:/16x16/actions/oxygen/16x16/actions/document-encrypt.png</iconset>
82      </property>
83     </widget>
84    </item>
85    <item>
86     <spacer>
87      <property name="orientation" >
88       <enum>Qt::Vertical</enum>
89      </property>
90      <property name="sizeHint" stdset="0" >
91       <size>
92        <width>20</width>
93        <height>40</height>
94       </size>
95      </property>
96     </spacer>
97    </item>
98    <item>
99     <widget class="QDialogButtonBox" name="buttonBox" >
100      <property name="orientation" >
101       <enum>Qt::Horizontal</enum>
102      </property>
103      <property name="standardButtons" >
104       <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
105      </property>
106     </widget>
107    </item>
108   </layout>
109  </widget>
110  <resources>
111   <include location="../../icons/icons.qrc" />
112  </resources>
113  <connections>
114   <connection>
115    <sender>buttonBox</sender>
116    <signal>accepted()</signal>
117    <receiver>ServerEditDlg</receiver>
118    <slot>accept()</slot>
119    <hints>
120     <hint type="sourcelabel" >
121      <x>248</x>
122      <y>254</y>
123     </hint>
124     <hint type="destinationlabel" >
125      <x>157</x>
126      <y>274</y>
127     </hint>
128    </hints>
129   </connection>
130   <connection>
131    <sender>buttonBox</sender>
132    <signal>rejected()</signal>
133    <receiver>ServerEditDlg</receiver>
134    <slot>reject()</slot>
135    <hints>
136     <hint type="sourcelabel" >
137      <x>316</x>
138      <y>260</y>
139     </hint>
140     <hint type="destinationlabel" >
141      <x>286</x>
142      <y>274</y>
143     </hint>
144    </hints>
145   </connection>
146  </connections>
147 </ui>