动态页面安装程序示例
<?xml version="1.0" encoding="UTF-8"?> <ui version="4.0"> <class>ReadyToInstallWidget</class> <widget class="QWidget" name="ReadyToInstallWidget"> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>491</width> <height>190</height> </rect> </property> <property name="minimumSize"> <size> <width>491</width> <height>190</height> </size> </property> <property name="windowTitle"> <string>Form</string> </property> <layout class="QVBoxLayout" name="verticalLayout_3"> <item> <widget class="QLabel" name="label_2"> <property name="sizePolicy"> <sizepolicy hsizetype="Minimum" vsizetype="Preferred"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="text"> <string>Setup is now ready to begin installing Dynamic Page Installer Example on your computer.</string> </property> </widget> </item> <item> <widget class="QCheckBox" name="showDetails"> <property name="text"> <string>Show details</string> </property> <property name="checked"> <bool>true</bool> </property> </widget> </item> <item> <widget class="QTextBrowser" name="showDetailsBrowser"/> </item> <item> <spacer name="verticalSpacer_2"> <property name="orientation"> <enum>Qt::Vertical</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>20</width> <height>0</height> </size> </property> </spacer> </item> </layout> <zorder>label_2</zorder> <zorder>showDetails</zorder> <zorder>showDetailsBrowser</zorder> <zorder>verticalSpacer_2</zorder> </widget> <resources/> <connections> <connection> <sender>showDetails</sender> <signal>toggled(bool)</signal> <receiver>showDetailsBrowser</receiver> <slot>setVisible(bool)</slot> <hints> <hint type="sourcelabel"> <x>63</x> <y>37</y> </hint> <hint type="destinationlabel"> <x>85</x> <y>89</y> </hint> </hints> </connection> </connections> </ui>