frm_restore.ui

来自「qt4.4.3下编写的嵌入式UI界面」· UI 代码 · 共 91 行

UI
91
字号
<ui version="4.0" > <class>Dialog</class> <widget class="QDialog" name="Dialog" >  <property name="windowModality" >   <enum>Qt::WindowModal</enum>  </property>  <property name="geometry" >   <rect>    <x>0</x>    <y>0</y>    <width>390</width>    <height>137</height>   </rect>  </property>  <property name="windowTitle" >   <string>恢复出厂设置</string>  </property>  <property name="styleSheet" >   <string notr="true" >font: 12pt "文泉驿正黑";background-color: rgb(112, 200, 11);</string>  </property>  <property name="modal" >   <bool>true</bool>  </property>  <widget class="QDialogButtonBox" name="buttonBox" >   <property name="geometry" >    <rect>     <x>40</x>     <y>80</y>     <width>341</width>     <height>51</height>    </rect>   </property>   <property name="orientation" >    <enum>Qt::Horizontal</enum>   </property>   <property name="standardButtons" >    <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>   </property>  </widget>  <widget class="QLabel" name="lb1_info" >   <property name="geometry" >    <rect>     <x>50</x>     <y>30</y>     <width>281</width>     <height>24</height>    </rect>   </property>   <property name="text" >    <string>是否确定恢复出厂设置?</string>   </property>  </widget> </widget> <resources/> <connections>  <connection>   <sender>buttonBox</sender>   <signal>accepted()</signal>   <receiver>Dialog</receiver>   <slot>accept()</slot>   <hints>    <hint type="sourcelabel" >     <x>248</x>     <y>254</y>    </hint>    <hint type="destinationlabel" >     <x>157</x>     <y>274</y>    </hint>   </hints>  </connection>  <connection>   <sender>buttonBox</sender>   <signal>rejected()</signal>   <receiver>Dialog</receiver>   <slot>reject()</slot>   <hints>    <hint type="sourcelabel" >     <x>316</x>     <y>260</y>    </hint>    <hint type="destinationlabel" >     <x>286</x>     <y>274</y>    </hint>   </hints>  </connection> </connections></ui>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?