📄 sa01form.ui
字号:
<!DOCTYPE UI><UI version="3.3" stdsetdef="1"><class>sa01Form</class><widget class="QDialog"> <property name="name"> <cstring>sa01Form</cstring> </property> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>558</width> <height>172</height> </rect> </property> <property name="caption"> <string>sa01</string> </property> <widget class="QLabel"> <property name="name"> <cstring>num1TextLabel</cstring> </property> <property name="geometry"> <rect> <x>10</x> <y>30</y> <width>57</width> <height>20</height> </rect> </property> <property name="text"> <string>num1</string> </property> <property name="buddy" stdset="0"> <cstring>num1LineEdit</cstring> </property> </widget> <widget class="QLineEdit"> <property name="name"> <cstring>resultLineEdit</cstring> </property> <property name="geometry"> <rect> <x>420</x> <y>60</y> <width>106</width> <height>22</height> </rect> </property> <property name="readOnly"> <bool>true</bool> </property> </widget> <widget class="QLabel"> <property name="name"> <cstring>num2TextLabel</cstring> </property> <property name="geometry"> <rect> <x>10</x> <y>80</y> <width>40</width> <height>20</height> </rect> </property> <property name="text"> <string>num2</string> </property> <property name="buddy" stdset="0"> <cstring>num2LineEdit</cstring> </property> </widget> <widget class="QLineEdit"> <property name="name"> <cstring>num1LineEdit</cstring> </property> <property name="geometry"> <rect> <x>70</x> <y>30</y> <width>70</width> <height>22</height> </rect> </property> <property name="frameShape"> <enum>LineEditPanel</enum> </property> <property name="frameShadow"> <enum>Sunken</enum> </property> </widget> <widget class="QLineEdit"> <property name="name"> <cstring>num2LineEdit</cstring> </property> <property name="geometry"> <rect> <x>70</x> <y>80</y> <width>70</width> <height>20</height> </rect> </property> </widget> <widget class="QLabel"> <property name="name"> <cstring>resultTextLabel</cstring> </property> <property name="geometry"> <rect> <x>430</x> <y>30</y> <width>57</width> <height>20</height> </rect> </property> <property name="text"> <string>result:</string> </property> <property name="buddy" stdset="0"> <cstring>resultLineEdit</cstring> </property> </widget> <widget class="QLabel"> <property name="name"> <cstring>operaterTextLabel</cstring> </property> <property name="geometry"> <rect> <x>180</x> <y>30</y> <width>57</width> <height>20</height> </rect> </property> <property name="text"> <string>operator</string> </property> <property name="buddy" stdset="0"> <cstring>comboBox3</cstring> </property> </widget> <widget class="QPushButton"> <property name="name"> <cstring>caculatePushButton</cstring> </property> <property name="geometry"> <rect> <x>290</x> <y>60</y> <width>70</width> <height>32</height> </rect> </property> <property name="text"> <string>=</string> </property> </widget> <widget class="QComboBox"> <item> <property name="text"> <string>+</string> </property> </item> <item> <property name="text"> <string>-</string> </property> </item> <item> <property name="text"> <string>*</string> </property> </item> <item> <property name="text"> <string>/</string> </property> </item> <property name="name"> <cstring>operatorComboBox</cstring> </property> <property name="geometry"> <rect> <x>190</x> <y>60</y> <width>40</width> <height>22</height> </rect> </property> </widget></widget><connections> <connection> <sender>caculatePushButton</sender> <signal>clicked()</signal> <receiver>sa01Form</receiver> <slot>caculate()</slot> </connection></connections><tabstops> <tabstop>num1LineEdit</tabstop> <tabstop>num2LineEdit</tabstop> <tabstop>operatorComboBox</tabstop> <tabstop>caculatePushButton</tabstop> <tabstop>resultLineEdit</tabstop></tabstops><includes> <include location="local" impldecl="in implementation">sa01form.ui.h</include></includes><slots> <slot>caculate()</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 + -