dialog_with_buttons_bottom.ui

来自「奇趣公司比较新的qt/emd版本」· UI 代码 · 共 72 行

UI
72
字号
<ui version="4.0" > <author></author> <comment></comment> <exportmacro></exportmacro> <class>Dialog</class> <widget class="QDialog" name="Dialog" >  <property name="geometry" >   <rect>    <x>0</x>    <y>0</y>    <width>400</width>    <height>300</height>   </rect>  </property>  <property name="windowTitle" >   <string>Dialog</string>  </property>  <widget class="QDialogButtonBox" name="buttonBox" >   <property name="geometry" >    <rect>     <x>30</x>     <y>240</y>     <width>341</width>     <height>32</height>    </rect>   </property>   <property name="orientation" >    <enum>Qt::Horizontal</enum>   </property>   <property name="standardButtons" >    <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>   </property>  </widget> </widget> <pixmapfunction></pixmapfunction> <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 + -
显示快捷键?