first.ui
来自「linux窗口程序设计一书的第一章代码,希望对大家有用」· UI 代码 · 共 45 行
UI
45 行
<ui version="4.0" > <class>First</class> <widget class="QWidget" name="First" > <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>90</x> <y>80</y> <width>131</width> <height>16</height> </rect> </property> <property name="text" > <string>这是第一个 UI !!</string> </property> </widget> <widget class="QPushButton" name="childPushButton" > <property name="geometry" > <rect> <x>190</x> <y>240</y> <width>75</width> <height>23</height> </rect> </property> <property name="text" > <string>子窗口</string> </property> </widget> </widget> <resources/> <connections/></ui>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?