Read/Write settings from/to correct subcategory and cleanup
[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="passwordLabel" >
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>true</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>
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  <connections>
112   <connection>
113    <sender>buttonBox</sender>
114    <signal>accepted()</signal>
115    <receiver>ServerEditDlg</receiver>
116    <slot>accept()</slot>
117    <hints>
118     <hint type="sourcelabel" >
119      <x>248</x>
120      <y>254</y>
121     </hint>
122     <hint type="destinationlabel" >
123      <x>157</x>
124      <y>274</y>
125     </hint>
126    </hints>
127   </connection>
128   <connection>
129    <sender>buttonBox</sender>
130    <signal>rejected()</signal>
131    <receiver>ServerEditDlg</receiver>
132    <slot>reject()</slot>
133    <hints>
134     <hint type="sourcelabel" >
135      <x>316</x>
136      <y>260</y>
137     </hint>
138     <hint type="destinationlabel" >
139      <x>286</x>
140      <y>274</y>
141     </hint>
142    </hints>
143   </connection>
144  </connections>
145 </ui>