dialog_with_buttons_right.ui

来自「qt-x11-opensource-src-4.1.4.tar.gz源码」· UI 代码 · 共 101 行

UI
101
字号
<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="QWidget" name="layoutWidget" >   <property name="geometry" >    <rect>     <x>300</x>     <y>20</y>     <width>77</width>     <height>106</height>    </rect>   </property>   <layout class="QVBoxLayout" >    <property name="margin" >     <number>0</number>    </property>    <property name="spacing" >     <number>6</number>    </property>    <item>     <widget class="QPushButton" name="okButton" >      <property name="text" >       <string>OK</string>      </property>     </widget>    </item>    <item>     <widget class="QPushButton" name="cancelButton" >      <property name="text" >       <string>Cancel</string>      </property>     </widget>    </item>    <item>     <spacer>      <property name="orientation" >       <enum>Qt::Vertical</enum>      </property>      <property name="sizeHint" >       <size>        <width>20</width>        <height>40</height>       </size>      </property>     </spacer>    </item>   </layout>  </widget> </widget> <pixmapfunction></pixmapfunction> <resources/> <connections>  <connection>   <sender>okButton</sender>   <signal>clicked()</signal>   <receiver>Dialog</receiver>   <slot>accept()</slot>   <hints>    <hint type="sourcelabel" >     <x>351</x>     <y>38</y>    </hint>    <hint type="destinationlabel" >     <x>233</x>     <y>29</y>    </hint>   </hints>  </connection>  <connection>   <sender>cancelButton</sender>   <signal>clicked()</signal>   <receiver>Dialog</receiver>   <slot>reject()</slot>   <hints>    <hint type="sourcelabel" >     <x>330</x>     <y>66</y>    </hint>    <hint type="destinationlabel" >     <x>197</x>     <y>125</y>    </hint>   </hints>  </connection> </connections></ui>

⌨️ 快捷键说明

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