|
280 | 280 | </widget> |
281 | 281 | </item> |
282 | 282 | <item> |
283 | | - <widget class="QPushButton" name="addDigitalPin"> |
284 | | - <property name="text"> |
285 | | - <string>Add Pin</string> |
| 283 | + <widget class="QFrame" name="frame_8"> |
| 284 | + <property name="frameShape"> |
| 285 | + <enum>QFrame::NoFrame</enum> |
| 286 | + </property> |
| 287 | + <property name="frameShadow"> |
| 288 | + <enum>QFrame::Raised</enum> |
286 | 289 | </property> |
| 290 | + <layout class="QHBoxLayout" name="horizontalLayout_6"> |
| 291 | + <property name="spacing"> |
| 292 | + <number>4</number> |
| 293 | + </property> |
| 294 | + <property name="leftMargin"> |
| 295 | + <number>0</number> |
| 296 | + </property> |
| 297 | + <property name="topMargin"> |
| 298 | + <number>0</number> |
| 299 | + </property> |
| 300 | + <property name="rightMargin"> |
| 301 | + <number>0</number> |
| 302 | + </property> |
| 303 | + <property name="bottomMargin"> |
| 304 | + <number>0</number> |
| 305 | + </property> |
| 306 | + <item> |
| 307 | + <widget class="QPushButton" name="addDigitalPin"> |
| 308 | + <property name="text"> |
| 309 | + <string>Add Pin</string> |
| 310 | + </property> |
| 311 | + </widget> |
| 312 | + </item> |
| 313 | + <item> |
| 314 | + <widget class="QPushButton" name="removeDigitalPin"> |
| 315 | + <property name="text"> |
| 316 | + <string>Remove Pin</string> |
| 317 | + </property> |
| 318 | + </widget> |
| 319 | + </item> |
| 320 | + </layout> |
287 | 321 | </widget> |
288 | 322 | </item> |
289 | 323 | <item> |
|
417 | 451 | </widget> |
418 | 452 | </item> |
419 | 453 | <item> |
420 | | - <widget class="QPushButton" name="addPin"> |
421 | | - <property name="text"> |
422 | | - <string>Add Pin</string> |
| 454 | + <widget class="QFrame" name="frame_9"> |
| 455 | + <property name="frameShape"> |
| 456 | + <enum>QFrame::StyledPanel</enum> |
| 457 | + </property> |
| 458 | + <property name="frameShadow"> |
| 459 | + <enum>QFrame::Raised</enum> |
423 | 460 | </property> |
| 461 | + <layout class="QHBoxLayout" name="horizontalLayout_7"> |
| 462 | + <property name="spacing"> |
| 463 | + <number>4</number> |
| 464 | + </property> |
| 465 | + <property name="leftMargin"> |
| 466 | + <number>0</number> |
| 467 | + </property> |
| 468 | + <property name="topMargin"> |
| 469 | + <number>0</number> |
| 470 | + </property> |
| 471 | + <property name="rightMargin"> |
| 472 | + <number>0</number> |
| 473 | + </property> |
| 474 | + <property name="bottomMargin"> |
| 475 | + <number>0</number> |
| 476 | + </property> |
| 477 | + <item> |
| 478 | + <widget class="QPushButton" name="addAnalogPin"> |
| 479 | + <property name="text"> |
| 480 | + <string>Add Pin</string> |
| 481 | + </property> |
| 482 | + </widget> |
| 483 | + </item> |
| 484 | + <item> |
| 485 | + <widget class="QPushButton" name="removeAnalogPin"> |
| 486 | + <property name="text"> |
| 487 | + <string>Remove Pin</string> |
| 488 | + </property> |
| 489 | + </widget> |
| 490 | + </item> |
| 491 | + </layout> |
424 | 492 | </widget> |
425 | 493 | </item> |
426 | 494 | </layout> |
|
490 | 558 | </widget> |
491 | 559 | </item> |
492 | 560 | <item> |
493 | | - <widget class="QPushButton" name="cancelButton"> |
494 | | - <property name="text"> |
495 | | - <string>Cancel</string> |
496 | | - </property> |
497 | | - </widget> |
498 | | - </item> |
499 | | - <item> |
500 | | - <widget class="QPushButton" name="acceptButton"> |
| 561 | + <widget class="QPushButton" name="closeButton"> |
501 | 562 | <property name="text"> |
502 | | - <string>Accept</string> |
| 563 | + <string>Close</string> |
503 | 564 | </property> |
504 | 565 | </widget> |
505 | 566 | </item> |
|
513 | 574 | <resources/> |
514 | 575 | <connections> |
515 | 576 | <connection> |
516 | | - <sender>addDigitalPin</sender> |
| 577 | + <sender>addAnalogPin</sender> |
517 | 578 | <signal>clicked()</signal> |
518 | 579 | <receiver>BoardConfigurationWindow</receiver> |
519 | | - <slot>insertDigitalPin()</slot> |
| 580 | + <slot>insertAnalogPin()</slot> |
520 | 581 | <hints> |
521 | 582 | <hint type="sourcelabel"> |
522 | | - <x>203</x> |
523 | | - <y>207</y> |
| 583 | + <x>577</x> |
| 584 | + <y>242</y> |
524 | 585 | </hint> |
525 | 586 | <hint type="destinationlabel"> |
526 | 587 | <x>391</x> |
|
529 | 590 | </hints> |
530 | 591 | </connection> |
531 | 592 | <connection> |
532 | | - <sender>addPin</sender> |
| 593 | + <sender>testInterface</sender> |
533 | 594 | <signal>clicked()</signal> |
534 | 595 | <receiver>BoardConfigurationWindow</receiver> |
535 | | - <slot>insertAnalogPin()</slot> |
| 596 | + <slot>checkConnection()</slot> |
536 | 597 | <hints> |
537 | 598 | <hint type="sourcelabel"> |
538 | | - <x>579</x> |
539 | | - <y>206</y> |
| 599 | + <x>692</x> |
| 600 | + <y>92</y> |
540 | 601 | </hint> |
541 | 602 | <hint type="destinationlabel"> |
542 | 603 | <x>391</x> |
|
545 | 606 | </hints> |
546 | 607 | </connection> |
547 | 608 | <connection> |
548 | | - <sender>testInterface</sender> |
| 609 | + <sender>showPinout</sender> |
549 | 610 | <signal>clicked()</signal> |
550 | 611 | <receiver>BoardConfigurationWindow</receiver> |
551 | | - <slot>checkConnection()</slot> |
| 612 | + <slot>showPinout()</slot> |
552 | 613 | <hints> |
553 | 614 | <hint type="sourcelabel"> |
554 | 615 | <x>692</x> |
555 | | - <y>92</y> |
| 616 | + <y>56</y> |
556 | 617 | </hint> |
557 | 618 | <hint type="destinationlabel"> |
558 | 619 | <x>391</x> |
|
561 | 622 | </hints> |
562 | 623 | </connection> |
563 | 624 | <connection> |
564 | | - <sender>showPinout</sender> |
| 625 | + <sender>addDigitalPin</sender> |
565 | 626 | <signal>clicked()</signal> |
566 | 627 | <receiver>BoardConfigurationWindow</receiver> |
567 | | - <slot>showPinout()</slot> |
| 628 | + <slot>insertDigitalPin()</slot> |
568 | 629 | <hints> |
569 | 630 | <hint type="sourcelabel"> |
570 | | - <x>692</x> |
571 | | - <y>56</y> |
| 631 | + <x>201</x> |
| 632 | + <y>242</y> |
| 633 | + </hint> |
| 634 | + <hint type="destinationlabel"> |
| 635 | + <x>391</x> |
| 636 | + <y>294</y> |
| 637 | + </hint> |
| 638 | + </hints> |
| 639 | + </connection> |
| 640 | + <connection> |
| 641 | + <sender>closeButton</sender> |
| 642 | + <signal>clicked()</signal> |
| 643 | + <receiver>BoardConfigurationWindow</receiver> |
| 644 | + <slot>close()</slot> |
| 645 | + <hints> |
| 646 | + <hint type="sourcelabel"> |
| 647 | + <x>580</x> |
| 648 | + <y>566</y> |
572 | 649 | </hint> |
573 | 650 | <hint type="destinationlabel"> |
574 | 651 | <x>391</x> |
575 | 652 | <y>294</y> |
576 | 653 | </hint> |
577 | 654 | </hints> |
578 | 655 | </connection> |
| 656 | + <connection> |
| 657 | + <sender>removeDigitalPin</sender> |
| 658 | + <signal>clicked()</signal> |
| 659 | + <receiver>BoardConfigurationWindow</receiver> |
| 660 | + <slot>removeDigitalPin()</slot> |
| 661 | + <hints> |
| 662 | + <hint type="sourcelabel"> |
| 663 | + <x>358</x> |
| 664 | + <y>225</y> |
| 665 | + </hint> |
| 666 | + <hint type="destinationlabel"> |
| 667 | + <x>3</x> |
| 668 | + <y>228</y> |
| 669 | + </hint> |
| 670 | + </hints> |
| 671 | + </connection> |
| 672 | + <connection> |
| 673 | + <sender>removeAnalogPin</sender> |
| 674 | + <signal>clicked()</signal> |
| 675 | + <receiver>BoardConfigurationWindow</receiver> |
| 676 | + <slot>removeAnalogPin()</slot> |
| 677 | + <hints> |
| 678 | + <hint type="sourcelabel"> |
| 679 | + <x>712</x> |
| 680 | + <y>234</y> |
| 681 | + </hint> |
| 682 | + <hint type="destinationlabel"> |
| 683 | + <x>775</x> |
| 684 | + <y>288</y> |
| 685 | + </hint> |
| 686 | + </hints> |
| 687 | + </connection> |
579 | 688 | </connections> |
580 | 689 | <slots> |
581 | 690 | <slot>insertDigitalPin()</slot> |
582 | 691 | <slot>insertAnalogPin()</slot> |
583 | 692 | <slot>checkConnection()</slot> |
584 | 693 | <slot>showPinout()</slot> |
| 694 | + <slot>removeDigitalPin()</slot> |
| 695 | + <slot>removeAnalogPin()</slot> |
585 | 696 | </slots> |
586 | 697 | </ui> |
0 commit comments