⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 resizedialog.ui

📁 Qt4的一些例子
💻 UI
字号:
<ui version="4.0" > <author></author> <comment></comment> <exportmacro></exportmacro> <class>ResizeDialog</class> <widget class="QDialog" name="ResizeDialog" >  <property name="windowTitle" >   <string>Image Pro</string>  </property>  <layout class="QVBoxLayout" >   <item>    <widget class="QLabel" name="mainLabel" >     <property name="text" >      <string>Enter new size:</string>     </property>    </widget>   </item>   <item>    <layout class="QHBoxLayout" >     <item>      <widget class="QSpinBox" name="widthSpinBox" >       <property name="sizePolicy" >        <sizepolicy>         <hsizetype>3</hsizetype>         <vsizetype>0</vsizetype>         <horstretch>0</horstretch>         <verstretch>0</verstretch>        </sizepolicy>       </property>       <property name="maximum" >        <number>10000</number>       </property>      </widget>     </item>     <item>      <widget class="QLabel" name="xLabel" >       <property name="text" >        <string>x</string>       </property>       <property name="alignment" >        <set>Qt::AlignCenter</set>       </property>      </widget>     </item>     <item>      <widget class="QSpinBox" name="heightSpinBox" >       <property name="sizePolicy" >        <sizepolicy>         <hsizetype>3</hsizetype>         <vsizetype>0</vsizetype>         <horstretch>0</horstretch>         <verstretch>0</verstretch>        </sizepolicy>       </property>       <property name="maximum" >        <number>10000</number>       </property>      </widget>     </item>    </layout>   </item>   <item>    <layout class="QHBoxLayout" >     <item>      <spacer>       <property name="orientation" >        <enum>Qt::Horizontal</enum>       </property>       <property name="sizeType" >        <enum>QSizePolicy::Expanding</enum>       </property>       <property name="sizeHint" >        <size>         <width>0</width>         <height>21</height>        </size>       </property>      </spacer>     </item>     <item>      <widget class="QPushButton" name="okButton" >       <property name="text" >        <string>OK</string>       </property>       <property name="default" >        <bool>true</bool>       </property>      </widget>     </item>     <item>      <widget class="QPushButton" name="cancelButton" >       <property name="text" >        <string>Cancel</string>       </property>      </widget>     </item>    </layout>   </item>  </layout> </widget> <pixmapfunction></pixmapfunction> <resources/> <connections>  <connection>   <sender>okButton</sender>   <signal>clicked()</signal>   <receiver>ResizeDialog</receiver>   <slot>accept()</slot>   <hints>    <hint type="sourcelabel" >     <x>145</x>     <y>79</y>    </hint>    <hint type="destinationlabel" >     <x>76</x>     <y>88</y>    </hint>   </hints>  </connection>  <connection>   <sender>cancelButton</sender>   <signal>clicked()</signal>   <receiver>ResizeDialog</receiver>   <slot>reject()</slot>   <hints>    <hint type="sourcelabel" >     <x>243</x>     <y>84</y>    </hint>    <hint type="destinationlabel" >     <x>280</x>     <y>92</y>    </hint>   </hints>  </connection> </connections></ui>

⌨️ 快捷键说明

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