📄 testspacer4.ui
字号:
<ui version="4.0" > <author></author> <comment></comment> <exportmacro></exportmacro> <class>TestSpacer4</class> <widget class="QWidget" name="TestSpacer4" > <property name="geometry" > <rect> <x>0</x> <y>0</y> <width>180</width> <height>90</height> </rect> </property> <property name="windowTitle" > <string>Form</string> </property> <layout class="QHBoxLayout" > <property name="margin" > <number>9</number> </property> <property name="spacing" > <number>6</number> </property> <item> <layout class="QVBoxLayout" > <property name="margin" > <number>0</number> </property> <property name="spacing" > <number>6</number> </property> <item> <widget class="QLabel" name="label" > <property name="sizePolicy" > <sizepolicy> <hsizetype>0</hsizetype> <vsizetype>5</vsizetype> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="minimumSize" > <size> <width>1</width> <height>1</height> </size> </property> <property name="text" > <string>Top Left</string> </property> </widget> </item> <item> <spacer> <property name="orientation" > <enum>Qt::Vertical</enum> </property> <property name="sizeType" > <enum>QSizePolicy::Fixed</enum> </property> <property name="sizeHint" > <size> <width>20</width> <height>40</height> </size> </property> </spacer> </item> <item> <widget class="QLabel" name="label_3" > <property name="text" > <string>Bottom Left</string> </property> </widget> </item> </layout> </item> <item> <spacer> <property name="orientation" > <enum>Qt::Horizontal</enum> </property> <property name="sizeHint" > <size> <width>40</width> <height>20</height> </size> </property> </spacer> </item> <item> <layout class="QVBoxLayout" > <property name="margin" > <number>0</number> </property> <property name="spacing" > <number>6</number> </property> <item> <widget class="QLabel" name="label_2" > <property name="text" > <string>Top Right</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> <item> <widget class="QLabel" name="label_4" > <property name="text" > <string>Bottom Right</string> </property> </widget> </item> </layout> </item> </layout> </widget> <pixmapfunction></pixmapfunction> <resources/> <connections/></ui>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -