Changeset View
Changeset View
Standalone View
Standalone View
vpn/openconnect/openconnectprop.ui
1 | <?xml version="1.0" encoding="UTF-8"?> | 1 | <?xml version="1.0" encoding="UTF-8"?> | ||
---|---|---|---|---|---|
2 | <ui version="4.0"> | 2 | <ui version="4.0"> | ||
3 | <class>OpenconnectProp</class> | 3 | <class>OpenconnectProp</class> | ||
4 | <widget class="QWidget" name="OpenconnectProp"> | 4 | <widget class="QWidget" name="OpenconnectProp"> | ||
5 | <property name="geometry"> | 5 | <property name="geometry"> | ||
6 | <rect> | 6 | <rect> | ||
7 | <x>0</x> | 7 | <x>0</x> | ||
8 | <y>0</y> | 8 | <y>0</y> | ||
9 | <width>339</width> | 9 | <width>418</width> | ||
10 | <height>364</height> | 10 | <height>488</height> | ||
11 | </rect> | 11 | </rect> | ||
12 | </property> | 12 | </property> | ||
13 | <property name="sizePolicy"> | ||||
14 | <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> | ||||
15 | <horstretch>0</horstretch> | ||||
16 | <verstretch>0</verstretch> | ||||
17 | </sizepolicy> | ||||
18 | </property> | ||||
13 | <property name="windowTitle"> | 19 | <property name="windowTitle"> | ||
14 | <string>OpenConnect Settings</string> | 20 | <string>OpenConnect Settings</string> | ||
15 | </property> | 21 | </property> | ||
16 | <layout class="QVBoxLayout" name="verticalLayout_2"> | 22 | <layout class="QVBoxLayout" name="verticalLayout"> | ||
17 | <item> | 23 | <item> | ||
18 | <widget class="QGroupBox" name="grp_general"> | 24 | <widget class="QGroupBox" name="grp_general"> | ||
19 | <property name="title"> | 25 | <property name="title"> | ||
20 | <string comment="like in General settings">General</string> | 26 | <string comment="like in General settings">General</string> | ||
21 | </property> | 27 | </property> | ||
22 | <layout class="QFormLayout" name="formLayout"> | 28 | <layout class="QFormLayout" name="formLayout"> | ||
23 | <property name="fieldGrowthPolicy"> | 29 | <property name="fieldGrowthPolicy"> | ||
24 | <enum>QFormLayout::ExpandingFieldsGrow</enum> | 30 | <enum>QFormLayout::ExpandingFieldsGrow</enum> | ||
▲ Show 20 Lines • Show All 64 Lines • ▼ Show 20 Line(s) | |||||
89 | <item row="5" column="1"> | 95 | <item row="5" column="1"> | ||
90 | <widget class="KUrlRequester" name="leCsdWrapperScript"/> | 96 | <widget class="KUrlRequester" name="leCsdWrapperScript"/> | ||
91 | </item> | 97 | </item> | ||
92 | <item row="0" column="0"> | 98 | <item row="0" column="0"> | ||
93 | <widget class="QLabel" name="label_7"> | 99 | <widget class="QLabel" name="label_7"> | ||
94 | <property name="text"> | 100 | <property name="text"> | ||
95 | <string>VPN Protocol:</string> | 101 | <string>VPN Protocol:</string> | ||
96 | </property> | 102 | </property> | ||
103 | <property name="buddy"> | ||||
104 | <cstring>cmbProtocol</cstring> | ||||
105 | </property> | ||||
97 | </widget> | 106 | </widget> | ||
98 | </item> | 107 | </item> | ||
99 | <item row="0" column="1"> | 108 | <item row="0" column="1"> | ||
100 | <widget class="QComboBox" name="cmbProtocol"> | 109 | <widget class="QComboBox" name="cmbProtocol"> | ||
101 | <property name="sizePolicy"> | 110 | <property name="sizePolicy"> | ||
102 | <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding"> | 111 | <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding"> | ||
103 | <horstretch>0</horstretch> | 112 | <horstretch>0</horstretch> | ||
104 | <verstretch>0</verstretch> | 113 | <verstretch>0</verstretch> | ||
Show All 15 Lines | |||||
120 | </widget> | 129 | </widget> | ||
121 | </item> | 130 | </item> | ||
122 | <item> | 131 | <item> | ||
123 | <widget class="QGroupBox" name="groupBox"> | 132 | <widget class="QGroupBox" name="groupBox"> | ||
124 | <property name="title"> | 133 | <property name="title"> | ||
125 | <string>Certificate Authentication</string> | 134 | <string>Certificate Authentication</string> | ||
126 | </property> | 135 | </property> | ||
127 | <layout class="QFormLayout" name="formLayout_2"> | 136 | <layout class="QFormLayout" name="formLayout_2"> | ||
128 | <property name="verticalSpacing"> | | |||
129 | <number>6</number> | | |||
130 | </property> | | |||
131 | <item row="0" column="0"> | 137 | <item row="0" column="0"> | ||
132 | <widget class="QLabel" name="label_5"> | 138 | <widget class="QLabel" name="label_5"> | ||
133 | <property name="text"> | 139 | <property name="text"> | ||
134 | <string>User Certificate:</string> | 140 | <string>User Certificate:</string> | ||
135 | </property> | 141 | </property> | ||
136 | <property name="buddy"> | 142 | <property name="buddy"> | ||
137 | <cstring>leUserCert</cstring> | 143 | <cstring>leUserCert</cstring> | ||
138 | </property> | 144 | </property> | ||
139 | </widget> | 145 | </widget> | ||
140 | </item> | 146 | </item> | ||
147 | <item row="0" column="1"> | ||||
148 | <widget class="KUrlRequester" name="leUserCert"> | ||||
149 | <property name="filter"> | ||||
150 | <string>*.pem *.crt *.key</string> | ||||
151 | </property> | ||||
152 | </widget> | ||||
153 | </item> | ||||
141 | <item row="1" column="0"> | 154 | <item row="1" column="0"> | ||
142 | <widget class="QLabel" name="label_6"> | 155 | <widget class="QLabel" name="label_6"> | ||
143 | <property name="text"> | 156 | <property name="text"> | ||
144 | <string>Private Key:</string> | 157 | <string>Private Key:</string> | ||
145 | </property> | 158 | </property> | ||
146 | <property name="buddy"> | 159 | <property name="buddy"> | ||
147 | <cstring>leUserPrivateKey</cstring> | 160 | <cstring>leUserPrivateKey</cstring> | ||
148 | </property> | 161 | </property> | ||
149 | </widget> | 162 | </widget> | ||
150 | </item> | 163 | </item> | ||
151 | <item row="0" column="1"> | | |||
152 | <widget class="KUrlRequester" name="leUserCert"> | | |||
153 | <property name="filter"> | | |||
154 | <string>*.pem *.crt *.key</string> | | |||
155 | </property> | | |||
156 | </widget> | | |||
157 | </item> | | |||
158 | <item row="1" column="1"> | 164 | <item row="1" column="1"> | ||
159 | <widget class="KUrlRequester" name="leUserPrivateKey"> | 165 | <widget class="KUrlRequester" name="leUserPrivateKey"> | ||
160 | <property name="filter"> | 166 | <property name="filter"> | ||
161 | <string>*.pem *.crt *.key</string> | 167 | <string>*.pem *.crt *.key</string> | ||
162 | </property> | 168 | </property> | ||
163 | </widget> | 169 | </widget> | ||
164 | </item> | 170 | </item> | ||
165 | <item row="2" column="0" colspan="2"> | 171 | <item row="2" column="0" colspan="2"> | ||
166 | <widget class="QCheckBox" name="chkUseFsid"> | 172 | <widget class="QCheckBox" name="chkUseFsid"> | ||
167 | <property name="text"> | 173 | <property name="text"> | ||
168 | <string>Use FSID for key passphrase</string> | 174 | <string>Use FSID for key passphrase</string> | ||
169 | </property> | 175 | </property> | ||
170 | </widget> | 176 | </widget> | ||
171 | </item> | 177 | </item> | ||
178 | <item row="3" column="0" colspan="2"> | ||||
179 | <widget class="QCheckBox" name="preventInvalidCert"> | ||||
180 | <property name="text"> | ||||
181 | <string>Prevent user from manually accepting invalid certificates</string> | ||||
jgrulich: Use same description NM uses in nm-connection-editor:
"Prevent user from manually accepting… | |||||
182 | </property> | ||||
pino: this seems a bit too long as label for a checkbox | |||||
183 | </widget> | ||||
184 | </item> | ||||
185 | </layout> | ||||
186 | </widget> | ||||
187 | </item> | ||||
188 | <item> | ||||
189 | <widget class="QWidget" name="widget" native="true"> | ||||
190 | <layout class="QHBoxLayout" name="horizontalLayout"> | ||||
191 | <item> | ||||
192 | <spacer name="horizontalSpacer"> | ||||
193 | <property name="orientation"> | ||||
194 | <enum>Qt::Horizontal</enum> | ||||
195 | </property> | ||||
196 | <property name="sizeHint" stdset="0"> | ||||
197 | <size> | ||||
198 | <width>278</width> | ||||
199 | <height>20</height> | ||||
200 | </size> | ||||
201 | </property> | ||||
202 | </spacer> | ||||
203 | </item> | ||||
204 | <item> | ||||
205 | <widget class="QPushButton" name="buTokens"> | ||||
206 | <property name="text"> | ||||
207 | <string>Token Authentication</string> | ||||
208 | </property> | ||||
pino: usually buttons are actions, so IMHO "Show Tokens" is more appropriate | |||||
209 | </widget> | ||||
210 | </item> | ||||
172 | </layout> | 211 | </layout> | ||
173 | </widget> | 212 | </widget> | ||
174 | </item> | 213 | </item> | ||
175 | <item> | 214 | <item> | ||
176 | <spacer name="verticalSpacer"> | 215 | <spacer name="verticalSpacer"> | ||
177 | <property name="orientation"> | 216 | <property name="orientation"> | ||
178 | <enum>Qt::Vertical</enum> | 217 | <enum>Qt::Vertical</enum> | ||
179 | </property> | 218 | </property> | ||
180 | <property name="sizeHint" stdset="0"> | 219 | <property name="sizeHint" stdset="0"> | ||
181 | <size> | 220 | <size> | ||
182 | <width>20</width> | 221 | <width>20</width> | ||
183 | <height>0</height> | 222 | <height>0</height> | ||
184 | </size> | 223 | </size> | ||
185 | </property> | 224 | </property> | ||
186 | </spacer> | 225 | </spacer> | ||
187 | </item> | 226 | </item> | ||
188 | </layout> | 227 | </layout> | ||
189 | </widget> | 228 | </widget> | ||
190 | <customwidgets> | 229 | <customwidgets> | ||
191 | <customwidget> | 230 | <customwidget> | ||
192 | <class>KUrlRequester</class> | 231 | <class>KUrlRequester</class> | ||
193 | <extends>QWidget</extends> | 232 | <extends>QFrame</extends> | ||
194 | <header>kurlrequester.h</header> | 233 | <header>kurlrequester.h</header> | ||
195 | </customwidget> | 234 | </customwidget> | ||
196 | </customwidgets> | 235 | </customwidgets> | ||
197 | <resources/> | 236 | <resources/> | ||
198 | <connections/> | 237 | <connections/> | ||
238 | <slots> | ||||
239 | <slot>enableTokenSecret(int)</slot> | ||||
240 | </slots> | ||||
199 | </ui> | 241 | </ui> |
Use same description NM uses in nm-connection-editor:
"Prevent user from manually accepting invalid certificates"