|
615 | 615 | </widget> |
616 | 616 | </item> |
617 | 617 | <item row="1" column="0"> |
618 | | - <layout class="QHBoxLayout" name="horizontalLayout_4"> |
619 | | - <item> |
620 | | - <spacer name="horizontalSpacer"> |
621 | | - <property name="orientation"> |
622 | | - <enum>Qt::Orientation::Horizontal</enum> |
623 | | - </property> |
624 | | - <property name="sizeHint" stdset="0"> |
625 | | - <size> |
626 | | - <width>20</width> |
627 | | - <height>20</height> |
628 | | - </size> |
629 | | - </property> |
630 | | - </spacer> |
631 | | - </item> |
632 | | - <item> |
633 | | - <widget class="QPushButton" name="pbOk"> |
634 | | - <property name="text"> |
635 | | - <string>OK(&O)</string> |
636 | | - </property> |
637 | | - </widget> |
638 | | - </item> |
639 | | - <item> |
640 | | - <widget class="QPushButton" name="pbCancel"> |
641 | | - <property name="text"> |
642 | | - <string>Cancel(&C)</string> |
643 | | - </property> |
644 | | - </widget> |
645 | | - </item> |
646 | | - </layout> |
| 618 | + <widget class="QDialogButtonBox" name="buttonBox"> |
| 619 | + <property name="orientation"> |
| 620 | + <enum>Qt::Orientation::Horizontal</enum> |
| 621 | + </property> |
| 622 | + <property name="standardButtons"> |
| 623 | + <set>QDialogButtonBox::StandardButton::Cancel|QDialogButtonBox::StandardButton::Ok</set> |
| 624 | + </property> |
| 625 | + </widget> |
647 | 626 | </item> |
648 | 627 | </layout> |
649 | 628 | </widget> |
|
668 | 647 | <tabstop>tabWidget</tabstop> |
669 | 648 | </tabstops> |
670 | 649 | <resources/> |
671 | | - <connections/> |
| 650 | + <connections> |
| 651 | + <connection> |
| 652 | + <sender>buttonBox</sender> |
| 653 | + <signal>accepted()</signal> |
| 654 | + <receiver>CDlgSetFreeRDP</receiver> |
| 655 | + <slot>accept()</slot> |
| 656 | + <hints> |
| 657 | + <hint type="sourcelabel"> |
| 658 | + <x>248</x> |
| 659 | + <y>254</y> |
| 660 | + </hint> |
| 661 | + <hint type="destinationlabel"> |
| 662 | + <x>157</x> |
| 663 | + <y>274</y> |
| 664 | + </hint> |
| 665 | + </hints> |
| 666 | + </connection> |
| 667 | + <connection> |
| 668 | + <sender>buttonBox</sender> |
| 669 | + <signal>rejected()</signal> |
| 670 | + <receiver>CDlgSetFreeRDP</receiver> |
| 671 | + <slot>reject()</slot> |
| 672 | + <hints> |
| 673 | + <hint type="sourcelabel"> |
| 674 | + <x>316</x> |
| 675 | + <y>260</y> |
| 676 | + </hint> |
| 677 | + <hint type="destinationlabel"> |
| 678 | + <x>286</x> |
| 679 | + <y>274</y> |
| 680 | + </hint> |
| 681 | + </hints> |
| 682 | + </connection> |
| 683 | + </connections> |
672 | 684 | </ui> |
0 commit comments