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

📄 imagedialog.ui

📁 利用Qt Designer快速设计
💻 UI
字号:
<ui version="4.0" > <author></author> <comment></comment> <exportmacro></exportmacro> <class>ImageDialog</class> <widget class="QDialog" name="ImageDialog" >  <property name="geometry" >   <rect>    <x>0</x>    <y>0</y>    <width>239</width>    <height>163</height>   </rect>  </property>  <property name="windowTitle" >   <string>Imagedialog</string>  </property>  <layout class="QVBoxLayout" >   <property name="margin" >    <number>9</number>   </property>   <property name="spacing" >    <number>6</number>   </property>   <item>    <layout class="QGridLayout" >     <property name="margin" >      <number>1</number>     </property>     <property name="spacing" >      <number>6</number>     </property>     <item row="2" column="1" >      <widget class="QSpinBox" name="spinBox_2" />     </item>     <item row="0" column="1" >      <widget class="QLineEdit" name="lineEdit" />     </item>     <item row="0" column="0" >      <widget class="QLabel" name="label" >       <property name="text" >        <string>Name</string>       </property>      </widget>     </item>     <item row="2" column="0" >      <widget class="QLabel" name="label_3" >       <property name="text" >        <string>Height</string>       </property>      </widget>     </item>     <item row="1" column="1" >      <widget class="QSpinBox" name="spinBox" />     </item>     <item row="3" column="1" >      <widget class="QComboBox" name="colorDepthCombo" />     </item>     <item row="1" column="0" >      <widget class="QLabel" name="label_2" >       <property name="text" >        <string>Width</string>       </property>      </widget>     </item>     <item row="3" column="0" >      <widget class="QLabel" name="label_4" >       <property name="text" >        <string>Color depth</string>       </property>      </widget>     </item>    </layout>   </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>   <item>    <layout class="QHBoxLayout" >     <property name="margin" >      <number>1</number>     </property>     <property name="spacing" >      <number>21</number>     </property>     <item>      <spacer>       <property name="orientation" >        <enum>Qt::Horizontal</enum>       </property>       <property name="sizeHint" >        <size>         <width>131</width>         <height>31</height>        </size>       </property>      </spacer>     </item>     <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>    </layout>   </item>  </layout> </widget> <pixmapfunction></pixmapfunction> <resources/> <connections>  <connection>   <sender>lineEdit</sender>   <signal>returnPressed()</signal>   <receiver>okButton</receiver>   <slot>animateClick()</slot>   <hints>    <hint type="sourcelabel" >     <x>96</x>     <y>20</y>    </hint>    <hint type="destinationlabel" >     <x>89</x>     <y>147</y>    </hint>   </hints>  </connection> </connections></ui>

⌨️ 快捷键说明

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