|
233 | 233 | </item> |
234 | 234 | <item row="2" column="2"> |
235 | 235 | <layout class="QGridLayout" name="gridLayout" rowstretch="0,0,0,0,0,0,0,0,0,0,0,0,0,0,0"> |
236 | | - <item row="3" column="0" alignment="Qt::AlignTop"> |
237 | | - <widget class="QComboBox" name="cbUSBVCPFunction"/> |
| 236 | + <item row="3" column="3" colspan="2"> |
| 237 | + <widget class="QComboBox" name="cbFlexiGPSProtocol"/> |
238 | 238 | </item> |
239 | | - <item row="6" column="0" rowspan="2" colspan="6" alignment="Qt::AlignHCenter|Qt::AlignVCenter"> |
240 | | - <widget class="QLabel" name="label_2"> |
| 239 | + <item row="0" column="0"> |
| 240 | + <widget class="QLabel" name="label_4"> |
241 | 241 | <property name="sizePolicy"> |
242 | 242 | <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> |
243 | 243 | <horstretch>0</horstretch> |
244 | 244 | <verstretch>0</verstretch> |
245 | 245 | </sizepolicy> |
246 | 246 | </property> |
247 | | - <property name="maximumSize"> |
248 | | - <size> |
249 | | - <width>500</width> |
250 | | - <height>350</height> |
251 | | - </size> |
252 | | - </property> |
253 | 247 | <property name="text"> |
254 | | - <string/> |
| 248 | + <string>USB HID Function</string> |
255 | 249 | </property> |
256 | | - <property name="pixmap"> |
257 | | - <pixmap>:/configgadget/images/nano_top.png</pixmap> |
| 250 | + <property name="alignment"> |
| 251 | + <set>Qt::AlignBottom|Qt::AlignHCenter</set> |
258 | 252 | </property> |
259 | | - <property name="scaledContents"> |
260 | | - <bool>false</bool> |
| 253 | + </widget> |
| 254 | + </item> |
| 255 | + <item row="13" column="2" colspan="2"> |
| 256 | + <widget class="QLabel" name="lbMainGPSProtocol"> |
| 257 | + <property name="text"> |
| 258 | + <string>Protocol</string> |
261 | 259 | </property> |
262 | 260 | <property name="alignment"> |
263 | 261 | <set>Qt::AlignCenter</set> |
264 | 262 | </property> |
265 | | - <property name="textInteractionFlags"> |
266 | | - <set>Qt::NoTextInteraction</set> |
267 | | - </property> |
268 | 263 | </widget> |
269 | 264 | </item> |
270 | | - <item row="1" column="0"> |
271 | | - <widget class="QComboBox" name="cbUSBHIDFunction"/> |
272 | | - </item> |
273 | | - <item row="8" column="0" alignment="Qt::AlignHCenter"> |
274 | | - <widget class="QLabel" name="label_7"> |
275 | | - <property name="sizePolicy"> |
276 | | - <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> |
277 | | - <horstretch>0</horstretch> |
278 | | - <verstretch>0</verstretch> |
279 | | - </sizepolicy> |
280 | | - </property> |
| 265 | + <item row="0" column="1" colspan="2"> |
| 266 | + <widget class="QLabel" name="label_5"> |
281 | 267 | <property name="text"> |
282 | | - <string>Receiver Port</string> |
| 268 | + <string>Flexi Port</string> |
283 | 269 | </property> |
284 | 270 | <property name="alignment"> |
285 | 271 | <set>Qt::AlignBottom|Qt::AlignHCenter</set> |
286 | 272 | </property> |
287 | 273 | </widget> |
288 | 274 | </item> |
289 | | - <item row="0" column="0"> |
290 | | - <widget class="QLabel" name="label_4"> |
291 | | - <property name="sizePolicy"> |
292 | | - <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> |
293 | | - <horstretch>0</horstretch> |
294 | | - <verstretch>0</verstretch> |
295 | | - </sizepolicy> |
296 | | - </property> |
| 275 | + <item row="2" column="1" colspan="2"> |
| 276 | + <widget class="QLabel" name="lblFlexiSpeed"> |
297 | 277 | <property name="text"> |
298 | | - <string>USB HID Function</string> |
| 278 | + <string>Speed</string> |
299 | 279 | </property> |
300 | 280 | <property name="alignment"> |
301 | 281 | <set>Qt::AlignBottom|Qt::AlignHCenter</set> |
302 | 282 | </property> |
303 | 283 | </widget> |
304 | 284 | </item> |
305 | | - <item row="9" column="0"> |
306 | | - <widget class="QComboBox" name="cbRcvr"/> |
| 285 | + <item row="3" column="0" alignment="Qt::AlignTop"> |
| 286 | + <widget class="QComboBox" name="cbUSBVCPFunction"/> |
307 | 287 | </item> |
308 | | - <item row="9" column="2" colspan="2"> |
309 | | - <widget class="QComboBox" name="cbMain"/> |
| 288 | + <item row="3" column="1" colspan="2"> |
| 289 | + <layout class="QVBoxLayout" name="verticalLayout_5"> |
| 290 | + <property name="spacing"> |
| 291 | + <number>0</number> |
| 292 | + </property> |
| 293 | + <item> |
| 294 | + <widget class="QComboBox" name="cbFlexiTelemSpeed"> |
| 295 | + <property name="enabled"> |
| 296 | + <bool>true</bool> |
| 297 | + </property> |
| 298 | + </widget> |
| 299 | + </item> |
| 300 | + <item alignment="Qt::AlignTop"> |
| 301 | + <widget class="QComboBox" name="cbFlexiGPSSpeed"/> |
| 302 | + </item> |
| 303 | + </layout> |
310 | 304 | </item> |
311 | | - <item row="2" column="0"> |
312 | | - <widget class="QLabel" name="label_8"> |
| 305 | + <item row="1" column="0"> |
| 306 | + <widget class="QComboBox" name="cbUSBHIDFunction"/> |
| 307 | + </item> |
| 308 | + <item row="8" column="0" alignment="Qt::AlignHCenter"> |
| 309 | + <widget class="QLabel" name="label_7"> |
313 | 310 | <property name="sizePolicy"> |
314 | | - <sizepolicy hsizetype="Preferred" vsizetype="Fixed"> |
| 311 | + <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> |
315 | 312 | <horstretch>0</horstretch> |
316 | 313 | <verstretch>0</verstretch> |
317 | 314 | </sizepolicy> |
318 | 315 | </property> |
319 | 316 | <property name="text"> |
320 | | - <string>USB VCP Function</string> |
321 | | - </property> |
322 | | - <property name="alignment"> |
323 | | - <set>Qt::AlignBottom|Qt::AlignHCenter</set> |
324 | | - </property> |
325 | | - </widget> |
326 | | - </item> |
327 | | - <item row="8" column="2" colspan="2"> |
328 | | - <widget class="QLabel" name="label_3"> |
329 | | - <property name="text"> |
330 | | - <string>Main Port</string> |
| 317 | + <string>Receiver Port</string> |
331 | 318 | </property> |
332 | 319 | <property name="alignment"> |
333 | 320 | <set>Qt::AlignBottom|Qt::AlignHCenter</set> |
334 | 321 | </property> |
335 | 322 | </widget> |
336 | 323 | </item> |
337 | | - <item row="14" column="2" colspan="2"> |
338 | | - <widget class="QComboBox" name="cbMainGPSProtocol"/> |
339 | | - </item> |
340 | 324 | <item row="10" column="2" colspan="2"> |
341 | 325 | <widget class="QLabel" name="lblMainSpeed"> |
342 | 326 | <property name="text"> |
|
364 | 348 | </item> |
365 | 349 | </layout> |
366 | 350 | </item> |
367 | | - <item row="3" column="3" colspan="2"> |
368 | | - <widget class="QComboBox" name="cbFlexiGPSProtocol"/> |
369 | | - </item> |
370 | | - <item row="13" column="2" colspan="2"> |
371 | | - <widget class="QLabel" name="lbMainGPSProtocol"> |
| 351 | + <item row="8" column="2" colspan="2"> |
| 352 | + <widget class="QLabel" name="label_3"> |
372 | 353 | <property name="text"> |
373 | | - <string>Protocol</string> |
| 354 | + <string>Main Port</string> |
374 | 355 | </property> |
375 | 356 | <property name="alignment"> |
376 | | - <set>Qt::AlignCenter</set> |
| 357 | + <set>Qt::AlignBottom|Qt::AlignHCenter</set> |
377 | 358 | </property> |
378 | 359 | </widget> |
379 | 360 | </item> |
380 | | - <item row="2" column="3" colspan="2"> |
381 | | - <widget class="QLabel" name="lbFlexiGPSProtocol"> |
382 | | - <property name="text"> |
383 | | - <string>Protocol</string> |
| 361 | + <item row="9" column="2" colspan="2"> |
| 362 | + <widget class="QComboBox" name="cbMain"/> |
| 363 | + </item> |
| 364 | + <item row="9" column="0"> |
| 365 | + <widget class="QComboBox" name="cbRcvr"/> |
| 366 | + </item> |
| 367 | + <item row="14" column="2" colspan="2"> |
| 368 | + <widget class="QComboBox" name="cbMainGPSProtocol"/> |
| 369 | + </item> |
| 370 | + <item row="2" column="0"> |
| 371 | + <widget class="QLabel" name="label_8"> |
| 372 | + <property name="sizePolicy"> |
| 373 | + <sizepolicy hsizetype="Preferred" vsizetype="Fixed"> |
| 374 | + <horstretch>0</horstretch> |
| 375 | + <verstretch>0</verstretch> |
| 376 | + </sizepolicy> |
384 | 377 | </property> |
385 | | - <property name="textFormat"> |
386 | | - <enum>Qt::PlainText</enum> |
| 378 | + <property name="text"> |
| 379 | + <string>USB VCP Function</string> |
387 | 380 | </property> |
388 | 381 | <property name="alignment"> |
389 | | - <set>Qt::AlignCenter</set> |
| 382 | + <set>Qt::AlignBottom|Qt::AlignHCenter</set> |
390 | 383 | </property> |
391 | 384 | </widget> |
392 | 385 | </item> |
393 | 386 | <item row="1" column="1" colspan="2"> |
394 | 387 | <widget class="QComboBox" name="cbFlexi"/> |
395 | 388 | </item> |
396 | | - <item row="3" column="1" colspan="2"> |
397 | | - <layout class="QVBoxLayout" name="verticalLayout_5"> |
398 | | - <property name="spacing"> |
399 | | - <number>0</number> |
400 | | - </property> |
401 | | - <item> |
402 | | - <widget class="QComboBox" name="cbFlexiTelemSpeed"> |
403 | | - <property name="enabled"> |
404 | | - <bool>true</bool> |
405 | | - </property> |
406 | | - </widget> |
407 | | - </item> |
408 | | - <item alignment="Qt::AlignTop"> |
409 | | - <widget class="QComboBox" name="cbFlexiGPSSpeed"/> |
410 | | - </item> |
411 | | - </layout> |
412 | | - </item> |
413 | | - <item row="0" column="1" colspan="2"> |
414 | | - <widget class="QLabel" name="label_5"> |
| 389 | + <item row="2" column="3" colspan="2"> |
| 390 | + <widget class="QLabel" name="lbFlexiGPSProtocol"> |
415 | 391 | <property name="text"> |
416 | | - <string>Flexi Port</string> |
| 392 | + <string>Protocol</string> |
| 393 | + </property> |
| 394 | + <property name="textFormat"> |
| 395 | + <enum>Qt::PlainText</enum> |
417 | 396 | </property> |
418 | 397 | <property name="alignment"> |
419 | | - <set>Qt::AlignBottom|Qt::AlignHCenter</set> |
| 398 | + <set>Qt::AlignCenter</set> |
420 | 399 | </property> |
421 | 400 | </widget> |
422 | 401 | </item> |
423 | | - <item row="2" column="1" colspan="2"> |
424 | | - <widget class="QLabel" name="lblFlexiSpeed"> |
425 | | - <property name="text"> |
426 | | - <string>Speed</string> |
| 402 | + <item row="6" column="0" rowspan="2" colspan="6"> |
| 403 | + <widget class="QSvgWidget" name="boardImg" native="true"> |
| 404 | + <property name="sizePolicy"> |
| 405 | + <sizepolicy hsizetype="Fixed" vsizetype="Preferred"> |
| 406 | + <horstretch>0</horstretch> |
| 407 | + <verstretch>0</verstretch> |
| 408 | + </sizepolicy> |
427 | 409 | </property> |
428 | | - <property name="alignment"> |
429 | | - <set>Qt::AlignBottom|Qt::AlignHCenter</set> |
| 410 | + <property name="minimumSize"> |
| 411 | + <size> |
| 412 | + <width>100</width> |
| 413 | + <height>100</height> |
| 414 | + </size> |
| 415 | + </property> |
| 416 | + <property name="maximumSize"> |
| 417 | + <size> |
| 418 | + <width>160000</width> |
| 419 | + <height>160000</height> |
| 420 | + </size> |
430 | 421 | </property> |
431 | 422 | </widget> |
432 | 423 | </item> |
@@ -643,6 +634,13 @@ Beware of not locking yourself out!</string> |
643 | 634 | </item> |
644 | 635 | </layout> |
645 | 636 | </widget> |
| 637 | + <customwidgets> |
| 638 | + <customwidget> |
| 639 | + <class>QSvgWidget</class> |
| 640 | + <extends>QWidget</extends> |
| 641 | + <header>qsvgwidget.h</header> |
| 642 | + </customwidget> |
| 643 | + </customwidgets> |
646 | 644 | <resources> |
647 | 645 | <include location="../coreplugin/core.qrc"/> |
648 | 646 | <include location="configgadget.qrc"/> |
|
0 commit comments