📄 form1.ui
字号:
<!DOCTYPE UI><UI version="3.1" stdsetdef="1"><class>Form1</class><widget class="QDialog"> <property name="name"> <cstring>Form1</cstring> </property> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>600</width> <height>480</height> </rect> </property> <property name="caption"> <string>Form1</string> </property> <widget class="QLabel"> <property name="name"> <cstring>pixmapLabel1</cstring> </property> <property name="geometry"> <rect> <x>10</x> <y>40</y> <width>320</width> <height>240</height> </rect> </property> <property name="pixmap"> <pixmap></pixmap> </property> <property name="scaledContents"> <bool>true</bool> </property> </widget> <widget class="QPushButton"> <property name="name"> <cstring>exit</cstring> </property> <property name="geometry"> <rect> <x>230</x> <y>300</y> <width>80</width> <height>31</height> </rect> </property> <property name="text"> <string>pushButton3</string> </property> </widget> <widget class="QPushButton"> <property name="name"> <cstring>start</cstring> </property> <property name="geometry"> <rect> <x>20</x> <y>300</y> <width>80</width> <height>31</height> </rect> </property> <property name="text"> <string>pushButton1</string> </property> </widget> <widget class="QPushButton"> <property name="name"> <cstring>savedata</cstring> </property> <property name="geometry"> <rect> <x>120</x> <y>300</y> <width>80</width> <height>31</height> </rect> </property> <property name="text"> <string>pushButton2</string> </property> </widget></widget><connections> <connection> <sender>start</sender> <signal>clicked()</signal> <receiver>Form1</receiver> <slot>control()</slot> </connection> <connection> <sender>savedata</sender> <signal>clicked()</signal> <receiver>Form1</receiver> <slot>save()</slot> </connection> <connection> <sender>exit</sender> <signal>clicked()</signal> <receiver>Form1</receiver> <slot>close()</slot> </connection></connections><includes> <include location="local" impldecl="in implementation">form1.ui.h</include></includes><slots> <slot>timerEvent( QTimerEvent * e )</slot> <slot>rebuild()</slot> <slot>redraw()</slot> <slot>save()</slot> <slot>control()</slot></slots><functions> <function access="private" specifier="non virtual">init()</function></functions><pixmapinproject/><layoutdefaults spacing="6" margin="11"/></UI>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -