third.ui
来自「linux窗口程序设计一书的第一章代码,希望对大家有用」· UI 代码 · 共 62 行
UI
62 行
<ui version="4.0" > <class>Third</class> <widget class="QWidget" name="Third" > <property name="geometry" > <rect> <x>0</x> <y>0</y> <width>300</width> <height>300</height> </rect> </property> <property name="windowTitle" > <string>Form</string> </property> <widget class="QLabel" name="label" > <property name="geometry" > <rect> <x>80</x> <y>70</y> <width>131</width> <height>16</height> </rect> </property> <property name="text" > <string>这是第三个 UI !!</string> </property> </widget> <widget class="QPushButton" name="closePushButton" > <property name="geometry" > <rect> <x>180</x> <y>230</y> <width>75</width> <height>23</height> </rect> </property> <property name="text" > <string>关闭</string> </property> </widget> </widget> <resources/> <connections> <connection> <sender>closePushButton</sender> <signal>clicked()</signal> <receiver>Third</receiver> <slot>close()</slot> <hints> <hint type="sourcelabel" > <x>208</x> <y>241</y> </hint> <hint type="destinationlabel" > <x>101</x> <y>240</y> </hint> </hints> </connection> </connections></ui>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?