|
6 | 6 | <rect>
|
7 | 7 | <x>0</x>
|
8 | 8 | <y>0</y>
|
9 |
| - <width>526</width> |
10 |
| - <height>721</height> |
| 9 | + <width>448</width> |
| 10 | + <height>828</height> |
11 | 11 | </rect>
|
12 | 12 | </property>
|
13 | 13 | <property name="windowTitle">
|
14 |
| - <string>Create a New WMS Connection</string> |
| 14 | + <string>Create a new connection</string> |
15 | 15 | </property>
|
16 | 16 | <property name="sizeGripEnabled">
|
17 | 17 | <bool>true</bool>
|
18 | 18 | </property>
|
19 | 19 | <property name="modal">
|
20 | 20 | <bool>true</bool>
|
21 | 21 | </property>
|
22 |
| - <layout class="QGridLayout" name="gridLayout"> |
23 |
| - <item row="2" column="0"> |
24 |
| - <widget class="QDialogButtonBox" name="buttonBox"> |
25 |
| - <property name="standardButtons"> |
26 |
| - <set>QDialogButtonBox::Cancel|QDialogButtonBox::Help|QDialogButtonBox::Ok</set> |
27 |
| - </property> |
28 |
| - </widget> |
29 |
| - </item> |
30 |
| - <item row="1" column="0"> |
| 22 | + <layout class="QGridLayout" name="gridLayout_4"> |
| 23 | + <item row="0" column="0"> |
31 | 24 | <widget class="QGroupBox" name="mGroupBox">
|
32 | 25 | <property name="title">
|
33 | 26 | <string>Connection details</string>
|
34 | 27 | </property>
|
35 | 28 | <layout class="QGridLayout">
|
36 |
| - <item row="4" column="0" colspan="3"> |
| 29 | + <item row="8" column="0" colspan="2"> |
| 30 | + <widget class="QGroupBox" name="mWfsOptionsGroupBox"> |
| 31 | + <property name="title"> |
| 32 | + <string>WFS Options</string> |
| 33 | + </property> |
| 34 | + <layout class="QGridLayout" name="gridLayout1"> |
| 35 | + <item row="2" column="0" colspan="2"> |
| 36 | + <widget class="QCheckBox" name="cbxWfsIgnoreAxisOrientation"> |
| 37 | + <property name="text"> |
| 38 | + <string>Ignore axis orientation (WFS 1.1/WFS 2.0)</string> |
| 39 | + </property> |
| 40 | + </widget> |
| 41 | + </item> |
| 42 | + <item row="3" column="0" colspan="2"> |
| 43 | + <widget class="QCheckBox" name="cbxWfsInvertAxisOrientation"> |
| 44 | + <property name="text"> |
| 45 | + <string>Invert axis orientation</string> |
| 46 | + </property> |
| 47 | + </widget> |
| 48 | + </item> |
| 49 | + <item row="1" column="0"> |
| 50 | + <widget class="QLabel" name="lblMaxNumFeatures"> |
| 51 | + <property name="text"> |
| 52 | + <string>Max. number of features</string> |
| 53 | + </property> |
| 54 | + </widget> |
| 55 | + </item> |
| 56 | + <item row="0" column="0"> |
| 57 | + <widget class="QLabel" name="lblVersion"> |
| 58 | + <property name="text"> |
| 59 | + <string>Version</string> |
| 60 | + </property> |
| 61 | + </widget> |
| 62 | + </item> |
| 63 | + <item row="0" column="1"> |
| 64 | + <widget class="QComboBox" name="cmbVersion"> |
| 65 | + <property name="toolTip"> |
| 66 | + <string><html><head/><body><p>Select protocol version</p></body></html></string> |
| 67 | + </property> |
| 68 | + </widget> |
| 69 | + </item> |
| 70 | + <item row="1" column="1"> |
| 71 | + <widget class="QLineEdit" name="txtMaxNumFeatures"> |
| 72 | + <property name="toolTip"> |
| 73 | + <string><html><head/><body><p>Enter a number to limit the maximum number of features retrieved in a single GetFeature request. If let to empty, server default will apply.</p></body></html></string> |
| 74 | + </property> |
| 75 | + </widget> |
| 76 | + </item> |
| 77 | + </layout> |
| 78 | + </widget> |
| 79 | + </item> |
| 80 | + <item row="18" column="0" colspan="2"> |
| 81 | + <widget class="QPushButton" name="mTestConnectionButton"> |
| 82 | + <property name="text"> |
| 83 | + <string>&Test Connection</string> |
| 84 | + </property> |
| 85 | + </widget> |
| 86 | + </item> |
| 87 | + <item row="7" column="0" colspan="2"> |
37 | 88 | <widget class="QTabWidget" name="tabAuth">
|
38 | 89 | <property name="sizePolicy">
|
39 | 90 | <sizepolicy hsizetype="Expanding" vsizetype="MinimumExpanding">
|
|
49 | 100 | <string>Authentication</string>
|
50 | 101 | </attribute>
|
51 | 102 | <layout class="QGridLayout" name="gridLayout_3">
|
52 |
| - <item row="1" column="0"> |
53 |
| - <widget class="QLabel" name="label_2"> |
54 |
| - <property name="text"> |
55 |
| - <string>&User name</string> |
56 |
| - </property> |
57 |
| - <property name="buddy"> |
58 |
| - <cstring>txtUserName</cstring> |
59 |
| - </property> |
60 |
| - </widget> |
61 |
| - </item> |
62 |
| - <item row="1" column="1"> |
63 |
| - <widget class="QLineEdit" name="txtUserName"/> |
64 |
| - </item> |
65 | 103 | <item row="0" column="0" colspan="2">
|
66 | 104 | <widget class="QLabel" name="label">
|
67 | 105 | <property name="sizePolicy">
|
|
81 | 119 | </property>
|
82 | 120 | </widget>
|
83 | 121 | </item>
|
| 122 | + <item row="1" column="0"> |
| 123 | + <widget class="QLabel" name="label_2"> |
| 124 | + <property name="text"> |
| 125 | + <string>&User name</string> |
| 126 | + </property> |
| 127 | + <property name="buddy"> |
| 128 | + <cstring>txtUserName</cstring> |
| 129 | + </property> |
| 130 | + </widget> |
| 131 | + </item> |
| 132 | + <item row="1" column="1"> |
| 133 | + <widget class="QLineEdit" name="txtUserName"/> |
| 134 | + </item> |
84 | 135 | <item row="2" column="0">
|
85 | 136 | <widget class="QLabel" name="label_3">
|
86 | 137 | <property name="text">
|
|
115 | 166 | </widget>
|
116 | 167 | </widget>
|
117 | 168 | </item>
|
118 |
| - <item row="0" column="2"> |
119 |
| - <widget class="QLineEdit" name="txtName"> |
120 |
| - <property name="minimumSize"> |
121 |
| - <size> |
122 |
| - <width>0</width> |
123 |
| - <height>0</height> |
124 |
| - </size> |
125 |
| - </property> |
126 |
| - <property name="toolTip"> |
127 |
| - <string>Name of the new connection</string> |
128 |
| - </property> |
129 |
| - <property name="frame"> |
130 |
| - <bool>true</bool> |
131 |
| - </property> |
132 |
| - </widget> |
133 |
| - </item> |
134 |
| - <item row="7" column="0"> |
135 |
| - <widget class="QLabel" name="lblDpiMode"> |
136 |
| - <property name="text"> |
137 |
| - <string>DPI-Mode</string> |
138 |
| - </property> |
139 |
| - <property name="buddy"> |
140 |
| - <cstring>cmbDpiMode</cstring> |
141 |
| - </property> |
142 |
| - </widget> |
143 |
| - </item> |
144 |
| - <item row="1" column="0"> |
145 |
| - <widget class="QLabel" name="TextLabel1"> |
146 |
| - <property name="text"> |
147 |
| - <string>URL</string> |
148 |
| - </property> |
149 |
| - <property name="margin"> |
150 |
| - <number>5</number> |
151 |
| - </property> |
152 |
| - <property name="buddy"> |
153 |
| - <cstring>txtUrl</cstring> |
154 |
| - </property> |
155 |
| - </widget> |
156 |
| - </item> |
157 |
| - <item row="0" column="0"> |
158 |
| - <widget class="QLabel" name="TextLabel1_2"> |
159 |
| - <property name="text"> |
160 |
| - <string>Name</string> |
161 |
| - </property> |
162 |
| - <property name="wordWrap"> |
163 |
| - <bool>true</bool> |
164 |
| - </property> |
165 |
| - <property name="margin"> |
166 |
| - <number>5</number> |
167 |
| - </property> |
168 |
| - <property name="buddy"> |
169 |
| - <cstring>txtName</cstring> |
170 |
| - </property> |
171 |
| - </widget> |
172 |
| - </item> |
173 |
| - <item row="1" column="2"> |
174 |
| - <widget class="QLineEdit" name="txtUrl"> |
175 |
| - <property name="toolTip"> |
176 |
| - <string>HTTP address of the Web Map Server</string> |
177 |
| - </property> |
178 |
| - </widget> |
179 |
| - </item> |
180 |
| - <item row="7" column="2"> |
181 |
| - <widget class="QComboBox" name="cmbDpiMode"/> |
182 |
| - </item> |
183 |
| - <item row="6" column="0"> |
184 |
| - <widget class="QLabel" name="lblReferer"> |
185 |
| - <property name="text"> |
186 |
| - <string>Referer</string> |
187 |
| - </property> |
188 |
| - <property name="buddy"> |
189 |
| - <cstring>txtReferer</cstring> |
190 |
| - </property> |
191 |
| - </widget> |
192 |
| - </item> |
193 |
| - <item row="6" column="2"> |
194 |
| - <widget class="QLineEdit" name="txtReferer"/> |
195 |
| - </item> |
196 |
| - <item row="16" column="0" colspan="3"> |
197 |
| - <widget class="QCheckBox" name="cbxSmoothPixmapTransform"> |
198 |
| - <property name="text"> |
199 |
| - <string>Smooth pixmap transform</string> |
200 |
| - </property> |
201 |
| - </widget> |
202 |
| - </item> |
203 |
| - <item row="15" column="0" colspan="3"> |
204 |
| - <widget class="QCheckBox" name="cbxInvertAxisOrientation"> |
205 |
| - <property name="text"> |
206 |
| - <string>Invert axis orientation</string> |
| 169 | + <item row="12" column="0" colspan="2"> |
| 170 | + <widget class="QGroupBox" name="mWmsOptionsGroupBox"> |
| 171 | + <property name="title"> |
| 172 | + <string>WMS Options</string> |
207 | 173 | </property>
|
| 174 | + <layout class="QGridLayout" name="gridLayout_2"> |
| 175 | + <item row="5" column="0" colspan="2"> |
| 176 | + <widget class="QCheckBox" name="cbxWmsInvertAxisOrientation"> |
| 177 | + <property name="text"> |
| 178 | + <string>Invert axis orientation</string> |
| 179 | + </property> |
| 180 | + </widget> |
| 181 | + </item> |
| 182 | + <item row="3" column="0" colspan="2"> |
| 183 | + <widget class="QCheckBox" name="cbxIgnoreGetFeatureInfoURI"> |
| 184 | + <property name="text"> |
| 185 | + <string>Ignore GetFeatureInfo URI reported in capabilities</string> |
| 186 | + </property> |
| 187 | + </widget> |
| 188 | + </item> |
| 189 | + <item row="2" column="0" colspan="2"> |
| 190 | + <widget class="QCheckBox" name="cbxIgnoreGetMapURI"> |
| 191 | + <property name="text"> |
| 192 | + <string>Ignore GetMap/GetTile URI reported in capabilities</string> |
| 193 | + </property> |
| 194 | + </widget> |
| 195 | + </item> |
| 196 | + <item row="9" column="0" colspan="2"> |
| 197 | + <widget class="QCheckBox" name="cbxSmoothPixmapTransform"> |
| 198 | + <property name="text"> |
| 199 | + <string>Smooth pixmap transform</string> |
| 200 | + </property> |
| 201 | + </widget> |
| 202 | + </item> |
| 203 | + <item row="0" column="1"> |
| 204 | + <widget class="QLineEdit" name="txtReferer"/> |
| 205 | + </item> |
| 206 | + <item row="1" column="1"> |
| 207 | + <widget class="QComboBox" name="cmbDpiMode"/> |
| 208 | + </item> |
| 209 | + <item row="1" column="0"> |
| 210 | + <widget class="QLabel" name="lblDpiMode"> |
| 211 | + <property name="text"> |
| 212 | + <string>DPI-Mode</string> |
| 213 | + </property> |
| 214 | + <property name="buddy"> |
| 215 | + <cstring>cmbDpiMode</cstring> |
| 216 | + </property> |
| 217 | + </widget> |
| 218 | + </item> |
| 219 | + <item row="0" column="0"> |
| 220 | + <widget class="QLabel" name="lblReferer"> |
| 221 | + <property name="text"> |
| 222 | + <string>Referer</string> |
| 223 | + </property> |
| 224 | + <property name="buddy"> |
| 225 | + <cstring>txtReferer</cstring> |
| 226 | + </property> |
| 227 | + </widget> |
| 228 | + </item> |
| 229 | + <item row="4" column="0" colspan="2"> |
| 230 | + <widget class="QCheckBox" name="cbxWmsIgnoreAxisOrientation"> |
| 231 | + <property name="text"> |
| 232 | + <string>Ignore axis orientation (WMS 1.3/WMTS)</string> |
| 233 | + </property> |
| 234 | + </widget> |
| 235 | + </item> |
| 236 | + </layout> |
208 | 237 | </widget>
|
209 | 238 | </item>
|
210 |
| - <item row="14" column="0" colspan="3"> |
211 |
| - <widget class="QCheckBox" name="cbxIgnoreAxisOrientation"> |
212 |
| - <property name="text"> |
213 |
| - <string>Ignore axis orientation (WMS 1.3/WMTS)</string> |
214 |
| - </property> |
215 |
| - </widget> |
216 |
| - </item> |
217 |
| - <item row="12" column="0" colspan="3"> |
218 |
| - <widget class="QCheckBox" name="cbxIgnoreGetMapURI"> |
219 |
| - <property name="text"> |
220 |
| - <string>Ignore GetMap/GetTile URI reported in capabilities</string> |
221 |
| - </property> |
222 |
| - </widget> |
223 |
| - </item> |
224 |
| - <item row="13" column="0" colspan="3"> |
225 |
| - <widget class="QCheckBox" name="cbxIgnoreGetFeatureInfoURI"> |
226 |
| - <property name="text"> |
227 |
| - <string>Ignore GetFeatureInfo URI reported in capabilities</string> |
228 |
| - </property> |
229 |
| - </widget> |
230 |
| - </item> |
231 |
| - <item row="8" column="0"> |
232 |
| - <widget class="QLabel" name="lblVersion"> |
233 |
| - <property name="text"> |
234 |
| - <string>Version</string> |
235 |
| - </property> |
236 |
| - </widget> |
237 |
| - </item> |
238 |
| - <item row="8" column="2"> |
239 |
| - <widget class="QComboBox" name="cmbVersion"> |
240 |
| - <property name="toolTip"> |
241 |
| - <string><html><head/><body><p>Select protocol version</p></body></html></string> |
242 |
| - </property> |
243 |
| - </widget> |
244 |
| - </item> |
245 |
| - <item row="9" column="0"> |
246 |
| - <widget class="QLabel" name="lblMaxNumFeatures"> |
247 |
| - <property name="text"> |
248 |
| - <string>Max. number of features</string> |
249 |
| - </property> |
250 |
| - </widget> |
251 |
| - </item> |
252 |
| - <item row="9" column="2"> |
253 |
| - <widget class="QLineEdit" name="txtMaxNumFeatures"> |
254 |
| - <property name="toolTip"> |
255 |
| - <string><html><head/><body><p>Enter a number to limit the maximum number of features retrieved in a single GetFeature request. If let to empty, server default will apply.</p></body></html></string> |
256 |
| - </property> |
257 |
| - </widget> |
| 239 | + <item row="2" column="0"> |
| 240 | + <layout class="QFormLayout" name="formLayout"> |
| 241 | + <item row="0" column="0"> |
| 242 | + <widget class="QLabel" name="TextLabel1_2"> |
| 243 | + <property name="text"> |
| 244 | + <string>Name</string> |
| 245 | + </property> |
| 246 | + <property name="wordWrap"> |
| 247 | + <bool>true</bool> |
| 248 | + </property> |
| 249 | + <property name="margin"> |
| 250 | + <number>5</number> |
| 251 | + </property> |
| 252 | + <property name="buddy"> |
| 253 | + <cstring>txtName</cstring> |
| 254 | + </property> |
| 255 | + </widget> |
| 256 | + </item> |
| 257 | + <item row="0" column="1"> |
| 258 | + <widget class="QLineEdit" name="txtName"> |
| 259 | + <property name="minimumSize"> |
| 260 | + <size> |
| 261 | + <width>0</width> |
| 262 | + <height>0</height> |
| 263 | + </size> |
| 264 | + </property> |
| 265 | + <property name="toolTip"> |
| 266 | + <string>Name of the new connection</string> |
| 267 | + </property> |
| 268 | + <property name="frame"> |
| 269 | + <bool>true</bool> |
| 270 | + </property> |
| 271 | + </widget> |
| 272 | + </item> |
| 273 | + <item row="1" column="0"> |
| 274 | + <widget class="QLabel" name="TextLabel1"> |
| 275 | + <property name="text"> |
| 276 | + <string>URL</string> |
| 277 | + </property> |
| 278 | + <property name="margin"> |
| 279 | + <number>5</number> |
| 280 | + </property> |
| 281 | + <property name="buddy"> |
| 282 | + <cstring>txtUrl</cstring> |
| 283 | + </property> |
| 284 | + </widget> |
| 285 | + </item> |
| 286 | + <item row="1" column="1"> |
| 287 | + <widget class="QLineEdit" name="txtUrl"> |
| 288 | + <property name="toolTip"> |
| 289 | + <string>HTTP address of the Web Map Server</string> |
| 290 | + </property> |
| 291 | + </widget> |
| 292 | + </item> |
| 293 | + </layout> |
258 | 294 | </item>
|
259 | 295 | </layout>
|
260 | 296 | </widget>
|
261 | 297 | </item>
|
| 298 | + <item row="1" column="0"> |
| 299 | + <widget class="QDialogButtonBox" name="buttonBox"> |
| 300 | + <property name="standardButtons"> |
| 301 | + <set>QDialogButtonBox::Cancel|QDialogButtonBox::Help|QDialogButtonBox::Ok</set> |
| 302 | + </property> |
| 303 | + </widget> |
| 304 | + </item> |
262 | 305 | </layout>
|
263 | 306 | </widget>
|
264 | 307 | <layoutdefault spacing="6" margin="11"/>
|
|
270 | 313 | </customwidget>
|
271 | 314 | </customwidgets>
|
272 | 315 | <tabstops>
|
273 |
| - <tabstop>txtName</tabstop> |
274 |
| - <tabstop>txtUrl</tabstop> |
275 | 316 | <tabstop>tabAuth</tabstop>
|
276 | 317 | <tabstop>txtUserName</tabstop>
|
277 | 318 | <tabstop>txtPassword</tabstop>
|
278 |
| - <tabstop>txtReferer</tabstop> |
279 |
| - <tabstop>cmbDpiMode</tabstop> |
280 |
| - <tabstop>cmbVersion</tabstop> |
281 |
| - <tabstop>txtMaxNumFeatures</tabstop> |
282 |
| - <tabstop>cbxIgnoreGetMapURI</tabstop> |
283 |
| - <tabstop>cbxIgnoreGetFeatureInfoURI</tabstop> |
284 |
| - <tabstop>cbxIgnoreAxisOrientation</tabstop> |
285 |
| - <tabstop>cbxInvertAxisOrientation</tabstop> |
286 |
| - <tabstop>cbxSmoothPixmapTransform</tabstop> |
287 | 319 | </tabstops>
|
288 | 320 | <resources/>
|
289 | 321 | <connections>
|
|
0 commit comments