82 lines
1.7 KiB
Plaintext
82 lines
1.7 KiB
Plaintext
|
<?xml version="1.0" encoding="UTF-8"?>
|
||
|
<ui version="4.0">
|
||
|
<class>Form</class>
|
||
|
<widget class="QWidget" name="Form">
|
||
|
<property name="geometry">
|
||
|
<rect>
|
||
|
<x>0</x>
|
||
|
<y>0</y>
|
||
|
<width>800</width>
|
||
|
<height>600</height>
|
||
|
</rect>
|
||
|
</property>
|
||
|
<property name="font">
|
||
|
<font>
|
||
|
<pointsize>16</pointsize>
|
||
|
</font>
|
||
|
</property>
|
||
|
<property name="windowTitle">
|
||
|
<string>测试1</string>
|
||
|
</property>
|
||
|
<widget class="QPushButton" name="pushButton">
|
||
|
<property name="geometry">
|
||
|
<rect>
|
||
|
<x>300</x>
|
||
|
<y>160</y>
|
||
|
<width>131</width>
|
||
|
<height>61</height>
|
||
|
</rect>
|
||
|
</property>
|
||
|
<property name="font">
|
||
|
<font>
|
||
|
<pointsize>20</pointsize>
|
||
|
</font>
|
||
|
</property>
|
||
|
<property name="text">
|
||
|
<string>清空文本</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
<widget class="QLabel" name="label">
|
||
|
<property name="geometry">
|
||
|
<rect>
|
||
|
<x>240</x>
|
||
|
<y>310</y>
|
||
|
<width>311</width>
|
||
|
<height>111</height>
|
||
|
</rect>
|
||
|
</property>
|
||
|
<property name="font">
|
||
|
<font>
|
||
|
<family>华文楷体</family>
|
||
|
<pointsize>16</pointsize>
|
||
|
</font>
|
||
|
</property>
|
||
|
<property name="layoutDirection">
|
||
|
<enum>Qt::LayoutDirection::LeftToRight</enum>
|
||
|
</property>
|
||
|
<property name="text">
|
||
|
<string>猜一猜这是谁的诗?</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</widget>
|
||
|
<resources/>
|
||
|
<connections>
|
||
|
<connection>
|
||
|
<sender>pushButton</sender>
|
||
|
<signal>clicked()</signal>
|
||
|
<receiver>label</receiver>
|
||
|
<slot>clear()</slot>
|
||
|
<hints>
|
||
|
<hint type="sourcelabel">
|
||
|
<x>371</x>
|
||
|
<y>186</y>
|
||
|
</hint>
|
||
|
<hint type="destinationlabel">
|
||
|
<x>366</x>
|
||
|
<y>330</y>
|
||
|
</hint>
|
||
|
</hints>
|
||
|
</connection>
|
||
|
</connections>
|
||
|
</ui>
|