|
10 | 10 | </rect>
|
11 | 11 | </property>
|
12 | 12 | <property name="sizePolicy" >
|
13 |
| - <sizepolicy> |
14 |
| - <hsizetype>1</hsizetype> |
15 |
| - <vsizetype>1</vsizetype> |
| 13 | + <sizepolicy vsizetype="Minimum" hsizetype="Minimum" > |
16 | 14 | <horstretch>0</horstretch>
|
17 | 15 | <verstretch>0</verstretch>
|
18 | 16 | </sizepolicy>
|
|
23 | 21 | <property name="modal" >
|
24 | 22 | <bool>true</bool>
|
25 | 23 | </property>
|
26 |
| - <layout class="QVBoxLayout" > |
27 |
| - <property name="margin" > |
28 |
| - <number>9</number> |
29 |
| - </property> |
30 |
| - <property name="spacing" > |
31 |
| - <number>6</number> |
32 |
| - </property> |
33 |
| - <item> |
| 24 | + <layout class="QGridLayout" > |
| 25 | + <item row="0" column="0" > |
34 | 26 | <widget class="QSplitter" name="splitter" >
|
35 | 27 | <property name="orientation" >
|
36 | 28 | <enum>Qt::Horizontal</enum>
|
37 | 29 | </property>
|
38 | 30 | <widget class="QWidget" name="layoutWidget_2" >
|
39 | 31 | <layout class="QVBoxLayout" >
|
40 |
| - <property name="margin" > |
41 |
| - <number>0</number> |
42 |
| - </property> |
43 | 32 | <property name="spacing" >
|
44 | 33 | <number>6</number>
|
45 | 34 | </property>
|
| 35 | + <property name="leftMargin" > |
| 36 | + <number>0</number> |
| 37 | + </property> |
| 38 | + <property name="topMargin" > |
| 39 | + <number>0</number> |
| 40 | + </property> |
| 41 | + <property name="rightMargin" > |
| 42 | + <number>0</number> |
| 43 | + </property> |
| 44 | + <property name="bottomMargin" > |
| 45 | + <number>0</number> |
| 46 | + </property> |
46 | 47 | <item>
|
47 | 48 | <widget class="QListWidget" name="lbDeviceList" >
|
48 | 49 | <property name="sizePolicy" >
|
49 |
| - <sizepolicy> |
50 |
| - <hsizetype>5</hsizetype> |
51 |
| - <vsizetype>5</vsizetype> |
| 50 | + <sizepolicy vsizetype="Preferred" hsizetype="Preferred" > |
52 | 51 | <horstretch>0</horstretch>
|
53 | 52 | <verstretch>0</verstretch>
|
54 | 53 | </sizepolicy>
|
|
58 | 57 | <item>
|
59 | 58 | <widget class="QPushButton" name="pbnNewDevice" >
|
60 | 59 | <property name="sizePolicy" >
|
61 |
| - <sizepolicy> |
62 |
| - <hsizetype>1</hsizetype> |
63 |
| - <vsizetype>0</vsizetype> |
| 60 | + <sizepolicy vsizetype="Fixed" hsizetype="Minimum" > |
64 | 61 | <horstretch>0</horstretch>
|
65 | 62 | <verstretch>0</verstretch>
|
66 | 63 | </sizepolicy>
|
|
73 | 70 | <item>
|
74 | 71 | <widget class="QPushButton" name="pbnDeleteDevice" >
|
75 | 72 | <property name="sizePolicy" >
|
76 |
| - <sizepolicy> |
77 |
| - <hsizetype>1</hsizetype> |
78 |
| - <vsizetype>0</vsizetype> |
| 73 | + <sizepolicy vsizetype="Fixed" hsizetype="Minimum" > |
79 | 74 | <horstretch>0</horstretch>
|
80 | 75 | <verstretch>0</verstretch>
|
81 | 76 | </sizepolicy>
|
|
88 | 83 | <item>
|
89 | 84 | <widget class="QPushButton" name="pbnUpdateDevice" >
|
90 | 85 | <property name="sizePolicy" >
|
91 |
| - <sizepolicy> |
92 |
| - <hsizetype>1</hsizetype> |
93 |
| - <vsizetype>0</vsizetype> |
| 86 | + <sizepolicy vsizetype="Fixed" hsizetype="Minimum" > |
94 | 87 | <horstretch>0</horstretch>
|
95 | 88 | <verstretch>0</verstretch>
|
96 | 89 | </sizepolicy>
|
|
104 | 97 | </widget>
|
105 | 98 | <widget class="QWidget" name="layoutWidget_3" >
|
106 | 99 | <layout class="QVBoxLayout" >
|
107 |
| - <property name="margin" > |
108 |
| - <number>0</number> |
109 |
| - </property> |
110 | 100 | <property name="spacing" >
|
111 | 101 | <number>6</number>
|
112 | 102 | </property>
|
| 103 | + <property name="leftMargin" > |
| 104 | + <number>0</number> |
| 105 | + </property> |
| 106 | + <property name="topMargin" > |
| 107 | + <number>0</number> |
| 108 | + </property> |
| 109 | + <property name="rightMargin" > |
| 110 | + <number>0</number> |
| 111 | + </property> |
| 112 | + <property name="bottomMargin" > |
| 113 | + <number>0</number> |
| 114 | + </property> |
113 | 115 | <item>
|
114 | 116 | <layout class="QHBoxLayout" >
|
115 |
| - <property name="margin" > |
116 |
| - <number>0</number> |
117 |
| - </property> |
118 | 117 | <property name="spacing" >
|
119 | 118 | <number>6</number>
|
120 | 119 | </property>
|
| 120 | + <property name="leftMargin" > |
| 121 | + <number>0</number> |
| 122 | + </property> |
| 123 | + <property name="topMargin" > |
| 124 | + <number>0</number> |
| 125 | + </property> |
| 126 | + <property name="rightMargin" > |
| 127 | + <number>0</number> |
| 128 | + </property> |
| 129 | + <property name="bottomMargin" > |
| 130 | + <number>0</number> |
| 131 | + </property> |
121 | 132 | <item>
|
122 | 133 | <widget class="QLabel" name="textLabel3" >
|
123 | 134 | <property name="sizePolicy" >
|
124 |
| - <sizepolicy> |
125 |
| - <hsizetype>1</hsizetype> |
126 |
| - <vsizetype>5</vsizetype> |
| 135 | + <sizepolicy vsizetype="Preferred" hsizetype="Minimum" > |
127 | 136 | <horstretch>0</horstretch>
|
128 | 137 | <verstretch>0</verstretch>
|
129 | 138 | </sizepolicy>
|
130 | 139 | </property>
|
131 | 140 | <property name="text" >
|
132 |
| - <string>Device name:</string> |
| 141 | + <string>Device name</string> |
133 | 142 | </property>
|
134 | 143 | </widget>
|
135 | 144 | </item>
|
136 | 145 | <item>
|
137 | 146 | <widget class="QLineEdit" name="leDeviceName" >
|
138 | 147 | <property name="sizePolicy" >
|
139 |
| - <sizepolicy> |
140 |
| - <hsizetype>7</hsizetype> |
141 |
| - <vsizetype>0</vsizetype> |
| 148 | + <sizepolicy vsizetype="Fixed" hsizetype="Expanding" > |
142 | 149 | <horstretch>2</horstretch>
|
143 | 150 | <verstretch>0</verstretch>
|
144 | 151 | </sizepolicy>
|
|
159 | 166 | <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
|
160 | 167 | </property>
|
161 | 168 | <layout class="QGridLayout" >
|
162 |
| - <property name="margin" > |
| 169 | + <property name="leftMargin" > |
| 170 | + <number>9</number> |
| 171 | + </property> |
| 172 | + <property name="topMargin" > |
| 173 | + <number>9</number> |
| 174 | + </property> |
| 175 | + <property name="rightMargin" > |
| 176 | + <number>9</number> |
| 177 | + </property> |
| 178 | + <property name="bottomMargin" > |
163 | 179 | <number>9</number>
|
164 | 180 | </property>
|
165 |
| - <property name="spacing" > |
| 181 | + <property name="horizontalSpacing" > |
| 182 | + <number>6</number> |
| 183 | + </property> |
| 184 | + <property name="verticalSpacing" > |
166 | 185 | <number>6</number>
|
167 | 186 | </property>
|
168 | 187 | <item row="4" column="0" >
|
|
255 | 274 | <item>
|
256 | 275 | <widget class="QTextEdit" name="textEdit" >
|
257 | 276 | <property name="sizePolicy" >
|
258 |
| - <sizepolicy> |
259 |
| - <hsizetype>5</hsizetype> |
260 |
| - <vsizetype>5</vsizetype> |
| 277 | + <sizepolicy vsizetype="Preferred" hsizetype="Preferred" > |
261 | 278 | <horstretch>0</horstretch>
|
262 | 279 | <verstretch>0</verstretch>
|
263 | 280 | </sizepolicy>
|
264 | 281 | </property>
|
265 | 282 | <property name="html" >
|
266 |
| - <string><html><head><meta name="qrichtext" content="1" /></head><body style=" white-space: pre-wrap; font-family:Sans Serif; font-size:9pt; font-weight:400; font-style:normal; text-decoration:none;"><p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">In the download and upload commands there can be special words that will be replaced by QGIS when the commands are used. These words are:<span style=" font-style:italic;">%babel</span> - the path to GPSBabel<br /><span style=" font-style:italic;">%in</span> - the GPX filename when uploading or the port when downloading<br /><span style=" font-style:italic;">%out</span> - the port when uploading or the GPX filename when downloading</p></body></html></string> |
| 283 | + <string><html><head><meta name="qrichtext" content="1" /><style type="text/css"> |
| 284 | +p, li { white-space: pre-wrap; } |
| 285 | +</style></head><body style=" font-family:'Verdana'; font-size:10pt; font-weight:400; font-style:normal;"> |
| 286 | +<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Sans Serif'; font-size:9pt;">In the download and upload commands there can be special words that will be replaced by QGIS when the commands are used. These words are:<span style=" font-style:italic;">%babel</span> - the path to GPSBabel<br /><span style=" font-style:italic;">%in</span> - the GPX filename when uploading or the port when downloading<br /><span style=" font-style:italic;">%out</span> - the port when uploading or the GPX filename when downloading</p></body></html></string> |
267 | 287 | </property>
|
268 | 288 | </widget>
|
269 | 289 | </item>
|
270 | 290 | </layout>
|
271 | 291 | </widget>
|
272 | 292 | </widget>
|
273 | 293 | </item>
|
274 |
| - <item> |
275 |
| - <layout class="QHBoxLayout" > |
276 |
| - <property name="margin" > |
277 |
| - <number>0</number> |
278 |
| - </property> |
279 |
| - <property name="spacing" > |
280 |
| - <number>6</number> |
| 294 | + <item row="1" column="0" > |
| 295 | + <widget class="QDialogButtonBox" name="buttonBox" > |
| 296 | + <property name="standardButtons" > |
| 297 | + <set>QDialogButtonBox::Close</set> |
281 | 298 | </property>
|
282 |
| - <item> |
283 |
| - <spacer> |
284 |
| - <property name="orientation" > |
285 |
| - <enum>Qt::Horizontal</enum> |
286 |
| - </property> |
287 |
| - <property name="sizeHint" > |
288 |
| - <size> |
289 |
| - <width>381</width> |
290 |
| - <height>21</height> |
291 |
| - </size> |
292 |
| - </property> |
293 |
| - </spacer> |
294 |
| - </item> |
295 |
| - <item> |
296 |
| - <widget class="QPushButton" name="pbnClose" > |
297 |
| - <property name="text" > |
298 |
| - <string>Close</string> |
299 |
| - </property> |
300 |
| - <property name="default" > |
301 |
| - <bool>true</bool> |
302 |
| - </property> |
303 |
| - </widget> |
304 |
| - </item> |
305 |
| - </layout> |
| 299 | + </widget> |
306 | 300 | </item>
|
307 | 301 | </layout>
|
308 | 302 | </widget>
|
309 | 303 | <layoutdefault spacing="6" margin="11" />
|
310 | 304 | <resources/>
|
311 |
| - <connections/> |
| 305 | + <connections> |
| 306 | + <connection> |
| 307 | + <sender>buttonBox</sender> |
| 308 | + <signal>clicked(QAbstractButton*)</signal> |
| 309 | + <receiver>QgsGPSDeviceDialogBase</receiver> |
| 310 | + <slot>accept()</slot> |
| 311 | + <hints> |
| 312 | + <hint type="sourcelabel" > |
| 313 | + <x>453</x> |
| 314 | + <y>418</y> |
| 315 | + </hint> |
| 316 | + <hint type="destinationlabel" > |
| 317 | + <x>498</x> |
| 318 | + <y>403</y> |
| 319 | + </hint> |
| 320 | + </hints> |
| 321 | + </connection> |
| 322 | + </connections> |
312 | 323 | </ui>
|
0 commit comments