|
14 | 14 | <string>Contract Generator</string>
|
15 | 15 | </property>
|
16 | 16 | <widget class="QWidget" name="centralwidget">
|
17 |
| - <widget class="QPushButton" name="execute_button"> |
| 17 | + <widget class="QPushButton" name="generate_button"> |
18 | 18 | <property name="enabled">
|
19 | 19 | <bool>false</bool>
|
20 | 20 | </property>
|
|
27 | 27 | </rect>
|
28 | 28 | </property>
|
29 | 29 | <property name="text">
|
30 |
| - <string>Execute</string> |
| 30 | + <string>Generate</string> |
31 | 31 | </property>
|
32 | 32 | </widget>
|
33 | 33 | <widget class="QScrollArea" name="scrollArea">
|
|
525 | 525 | </item>
|
526 | 526 | <item>
|
527 | 527 | <layout class="QGridLayout" name="gridLayout_2">
|
528 |
| - <item row="1" column="2"> |
529 |
| - <widget class="QComboBox" name="currency_selector"> |
| 528 | + <item row="0" column="11"> |
| 529 | + <spacer name="horizontalSpacer_8"> |
| 530 | + <property name="orientation"> |
| 531 | + <enum>Qt::Horizontal</enum> |
| 532 | + </property> |
| 533 | + <property name="sizeHint" stdset="0"> |
| 534 | + <size> |
| 535 | + <width>40</width> |
| 536 | + <height>20</height> |
| 537 | + </size> |
| 538 | + </property> |
| 539 | + </spacer> |
| 540 | + </item> |
| 541 | + <item row="1" column="5"> |
| 542 | + <widget class="QGroupBox" name="cross_border_payment_group"> |
530 | 543 | <property name="enabled">
|
531 | 544 | <bool>false</bool>
|
532 | 545 | </property>
|
533 |
| - <property name="currentIndex"> |
534 |
| - <number>-1</number> |
| 546 | + <property name="minimumSize"> |
| 547 | + <size> |
| 548 | + <width>0</width> |
| 549 | + <height>50</height> |
| 550 | + </size> |
535 | 551 | </property>
|
536 |
| - <property name="placeholderText"> |
537 |
| - <string>--- Currency ---</string> |
| 552 | + <property name="title"> |
| 553 | + <string>Cross Border Payment</string> |
538 | 554 | </property>
|
539 |
| - <item> |
540 |
| - <property name="text"> |
541 |
| - <string>NTD</string> |
542 |
| - </property> |
543 |
| - </item> |
544 |
| - <item> |
545 |
| - <property name="text"> |
546 |
| - <string>USD</string> |
547 |
| - </property> |
548 |
| - </item> |
549 |
| - <item> |
550 |
| - <property name="text"> |
551 |
| - <string>JPY</string> |
| 555 | + <widget class="QWidget" name="horizontalLayoutWidget_2"> |
| 556 | + <property name="geometry"> |
| 557 | + <rect> |
| 558 | + <x>10</x> |
| 559 | + <y>20</y> |
| 560 | + <width>131</width> |
| 561 | + <height>31</height> |
| 562 | + </rect> |
552 | 563 | </property>
|
553 |
| - </item> |
| 564 | + <layout class="QHBoxLayout" name="horizontalLayout"> |
| 565 | + <item> |
| 566 | + <widget class="QRadioButton" name="cross_border_payment_yes"> |
| 567 | + <property name="text"> |
| 568 | + <string>Yes</string> |
| 569 | + </property> |
| 570 | + <attribute name="buttonGroup"> |
| 571 | + <string notr="true">cross_border_payment_button_group</string> |
| 572 | + </attribute> |
| 573 | + </widget> |
| 574 | + </item> |
| 575 | + <item> |
| 576 | + <widget class="QRadioButton" name="cross_border_payment_no"> |
| 577 | + <property name="text"> |
| 578 | + <string>No</string> |
| 579 | + </property> |
| 580 | + <attribute name="buttonGroup"> |
| 581 | + <string notr="true">cross_border_payment_button_group</string> |
| 582 | + </attribute> |
| 583 | + </widget> |
| 584 | + </item> |
| 585 | + </layout> |
| 586 | + </widget> |
554 | 587 | </widget>
|
555 | 588 | </item>
|
556 |
| - <item row="1" column="1"> |
| 589 | + <item row="1" column="3"> |
557 | 590 | <widget class="QLabel" name="currency_label">
|
558 | 591 | <property name="enabled">
|
559 | 592 | <bool>false</bool>
|
|
566 | 599 | </property>
|
567 | 600 | </widget>
|
568 | 601 | </item>
|
569 |
| - <item row="0" column="7"> |
570 |
| - <spacer name="horizontalSpacer_8"> |
| 602 | + <item row="0" column="1"> |
| 603 | + <spacer name="horizontalSpacer_6"> |
571 | 604 | <property name="orientation">
|
572 | 605 | <enum>Qt::Horizontal</enum>
|
573 | 606 | </property>
|
|
580 | 613 | </spacer>
|
581 | 614 | </item>
|
582 | 615 | <item row="0" column="5">
|
583 |
| - <spacer name="horizontalSpacer_5"> |
| 616 | + <spacer name="horizontalSpacer"> |
584 | 617 | <property name="orientation">
|
585 | 618 | <enum>Qt::Horizontal</enum>
|
586 | 619 | </property>
|
|
592 | 625 | </property>
|
593 | 626 | </spacer>
|
594 | 627 | </item>
|
595 |
| - <item row="0" column="0"> |
596 |
| - <spacer name="horizontalSpacer_6"> |
| 628 | + <item row="0" column="4"> |
| 629 | + <widget class="QComboBox" name="payment_method_selector"> |
| 630 | + <property name="enabled"> |
| 631 | + <bool>false</bool> |
| 632 | + </property> |
| 633 | + <property name="placeholderText"> |
| 634 | + <string>--- Payment Method ---</string> |
| 635 | + </property> |
| 636 | + </widget> |
| 637 | + </item> |
| 638 | + <item row="0" column="8"> |
| 639 | + <spacer name="horizontalSpacer_11"> |
597 | 640 | <property name="orientation">
|
598 | 641 | <enum>Qt::Horizontal</enum>
|
599 | 642 | </property>
|
|
605 | 648 | </property>
|
606 | 649 | </spacer>
|
607 | 650 | </item>
|
608 |
| - <item row="0" column="4"> |
| 651 | + <item row="0" column="6"> |
609 | 652 | <spacer name="horizontalSpacer_3">
|
610 | 653 | <property name="orientation">
|
611 | 654 | <enum>Qt::Horizontal</enum>
|
|
618 | 661 | </property>
|
619 | 662 | </spacer>
|
620 | 663 | </item>
|
621 |
| - <item row="0" column="6"> |
622 |
| - <spacer name="horizontalSpacer_7"> |
| 664 | + <item row="0" column="12"> |
| 665 | + <spacer name="horizontalSpacer_9"> |
623 | 666 | <property name="orientation">
|
624 | 667 | <enum>Qt::Horizontal</enum>
|
625 | 668 | </property>
|
|
631 | 674 | </property>
|
632 | 675 | </spacer>
|
633 | 676 | </item>
|
634 |
| - <item row="0" column="1"> |
635 |
| - <widget class="QLabel" name="payment_method_label"> |
636 |
| - <property name="enabled"> |
637 |
| - <bool>false</bool> |
| 677 | + <item row="0" column="2"> |
| 678 | + <spacer name="horizontalSpacer_10"> |
| 679 | + <property name="orientation"> |
| 680 | + <enum>Qt::Horizontal</enum> |
638 | 681 | </property>
|
639 |
| - <property name="text"> |
640 |
| - <string>Payment Method</string> |
| 682 | + <property name="sizeHint" stdset="0"> |
| 683 | + <size> |
| 684 | + <width>40</width> |
| 685 | + <height>20</height> |
| 686 | + </size> |
641 | 687 | </property>
|
642 |
| - </widget> |
| 688 | + </spacer> |
643 | 689 | </item>
|
644 |
| - <item row="0" column="8"> |
645 |
| - <spacer name="horizontalSpacer_9"> |
| 690 | + <item row="0" column="10"> |
| 691 | + <spacer name="horizontalSpacer_7"> |
646 | 692 | <property name="orientation">
|
647 | 693 | <enum>Qt::Horizontal</enum>
|
648 | 694 | </property>
|
|
654 | 700 | </property>
|
655 | 701 | </spacer>
|
656 | 702 | </item>
|
657 |
| - <item row="0" column="2"> |
658 |
| - <widget class="QComboBox" name="payment_method_selector"> |
| 703 | + <item row="0" column="3"> |
| 704 | + <widget class="QLabel" name="payment_method_label"> |
| 705 | + <property name="enabled"> |
| 706 | + <bool>false</bool> |
| 707 | + </property> |
| 708 | + <property name="text"> |
| 709 | + <string>Payment Method</string> |
| 710 | + </property> |
| 711 | + </widget> |
| 712 | + </item> |
| 713 | + <item row="1" column="4"> |
| 714 | + <widget class="QComboBox" name="currency_selector"> |
659 | 715 | <property name="enabled">
|
660 | 716 | <bool>false</bool>
|
661 | 717 | </property>
|
| 718 | + <property name="currentIndex"> |
| 719 | + <number>-1</number> |
| 720 | + </property> |
662 | 721 | <property name="placeholderText">
|
663 |
| - <string>--- Payment Method ---</string> |
| 722 | + <string>--- Currency ---</string> |
664 | 723 | </property>
|
| 724 | + <item> |
| 725 | + <property name="text"> |
| 726 | + <string>NTD</string> |
| 727 | + </property> |
| 728 | + </item> |
| 729 | + <item> |
| 730 | + <property name="text"> |
| 731 | + <string>USD</string> |
| 732 | + </property> |
| 733 | + </item> |
| 734 | + <item> |
| 735 | + <property name="text"> |
| 736 | + <string>JPY</string> |
| 737 | + </property> |
| 738 | + </item> |
665 | 739 | </widget>
|
666 | 740 | </item>
|
667 |
| - <item row="0" column="3"> |
668 |
| - <spacer name="horizontalSpacer"> |
| 741 | + <item row="0" column="9"> |
| 742 | + <spacer name="horizontalSpacer_5"> |
669 | 743 | <property name="orientation">
|
670 | 744 | <enum>Qt::Horizontal</enum>
|
671 | 745 | </property>
|
|
677 | 751 | </property>
|
678 | 752 | </spacer>
|
679 | 753 | </item>
|
680 |
| - <item row="1" column="3"> |
681 |
| - <widget class="QGroupBox" name="cross_border_payment_group"> |
682 |
| - <property name="enabled"> |
683 |
| - <bool>false</bool> |
| 754 | + <item row="0" column="7"> |
| 755 | + <spacer name="horizontalSpacer_12"> |
| 756 | + <property name="orientation"> |
| 757 | + <enum>Qt::Horizontal</enum> |
684 | 758 | </property>
|
685 |
| - <property name="minimumSize"> |
| 759 | + <property name="sizeHint" stdset="0"> |
686 | 760 | <size>
|
687 |
| - <width>0</width> |
688 |
| - <height>50</height> |
| 761 | + <width>40</width> |
| 762 | + <height>20</height> |
689 | 763 | </size>
|
690 | 764 | </property>
|
691 |
| - <property name="title"> |
692 |
| - <string>Cross Border Payment</string> |
693 |
| - </property> |
694 |
| - <widget class="QWidget" name="horizontalLayoutWidget_2"> |
695 |
| - <property name="geometry"> |
696 |
| - <rect> |
697 |
| - <x>10</x> |
698 |
| - <y>20</y> |
699 |
| - <width>131</width> |
700 |
| - <height>31</height> |
701 |
| - </rect> |
702 |
| - </property> |
703 |
| - <layout class="QHBoxLayout" name="horizontalLayout"> |
704 |
| - <item> |
705 |
| - <widget class="QRadioButton" name="cross_border_payment_yes"> |
706 |
| - <property name="text"> |
707 |
| - <string>Yes</string> |
708 |
| - </property> |
709 |
| - <attribute name="buttonGroup"> |
710 |
| - <string notr="true">cross_border_payment_button_group</string> |
711 |
| - </attribute> |
712 |
| - </widget> |
713 |
| - </item> |
714 |
| - <item> |
715 |
| - <widget class="QRadioButton" name="cross_border_payment_no"> |
716 |
| - <property name="text"> |
717 |
| - <string>No</string> |
718 |
| - </property> |
719 |
| - <attribute name="buttonGroup"> |
720 |
| - <string notr="true">cross_border_payment_button_group</string> |
721 |
| - </attribute> |
722 |
| - </widget> |
723 |
| - </item> |
724 |
| - </layout> |
725 |
| - </widget> |
726 |
| - </widget> |
| 765 | + </spacer> |
727 | 766 | </item>
|
728 | 767 | </layout>
|
729 | 768 | </item>
|
|
1379 | 1418 | </hints>
|
1380 | 1419 | </connection>
|
1381 | 1420 | <connection>
|
1382 |
| - <sender>execute_button</sender> |
| 1421 | + <sender>generate_button</sender> |
1383 | 1422 | <signal>clicked()</signal>
|
1384 | 1423 | <receiver>MainWindow</receiver>
|
1385 |
| - <slot>on_execute()</slot> |
| 1424 | + <slot>on_generate()</slot> |
1386 | 1425 | <hints>
|
1387 | 1426 | <hint type="sourcelabel">
|
1388 | 1427 | <x>333</x>
|
|
1465 | 1504 | <slot>on_payment_method_selector_changed()</slot>
|
1466 | 1505 | <slot>check_mandatory_fields()</slot>
|
1467 | 1506 | <slot>on_party_a_name_selector_changed()</slot>
|
1468 |
| - <slot>on_execute()</slot> |
1469 | 1507 | <slot>on_cross_border_payment_button_group_toggled(QAbstractButton*,bool)</slot>
|
1470 | 1508 | <slot>on_other_code_button_group_toggled(QAbstractButton*,bool)</slot>
|
| 1509 | + <slot>on_generate()</slot> |
1471 | 1510 | </slots>
|
1472 | 1511 | <buttongroups>
|
1473 | 1512 | <buttongroup name="cross_border_payment_button_group"/>
|
|
0 commit comments