📄 light_mainform.ui~
字号:
<!DOCTYPE UI><UI version="3.3" stdsetdef="1"><class>light_MainForm</class><widget class="QDialog"> <property name="name"> <cstring>light_MainForm</cstring> </property> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>331</width> <height>250</height> </rect> </property> <property name="caption"> <string>lightChanger</string> </property> <property name="acceptDrops"> <bool>false</bool> </property> <widget class="QLabel"> <property name="name"> <cstring>light_TextLabel</cstring> </property> <property name="geometry"> <rect> <x>20</x> <y>30</y> <width>67</width> <height>20</height> </rect> </property> <property name="text"> <string>light</string> </property> </widget> <widget class="QSpinBox"> <property name="name"> <cstring>light_Spinbox</cstring> </property> <property name="enabled"> <bool>false</bool> </property> <property name="geometry"> <rect> <x>80</x> <y>70</y> <width>50</width> <height>22</height> </rect> </property> <property name="maxValue"> <number>100</number> </property> <property name="minValue"> <number>10</number> </property> </widget> <widget class="QSlider"> <property name="name"> <cstring>light_Slider</cstring> </property> <property name="geometry"> <rect> <x>80</x> <y>30</y> <width>200</width> <height>24</height> </rect> </property> <property name="acceptDrops"> <bool>false</bool> </property> <property name="minValue"> <number>10</number> </property> <property name="maxValue"> <number>100</number> </property> <property name="orientation"> <enum>Horizontal</enum> </property> </widget> <widget class="QPushButton"> <property name="name"> <cstring>ok_Button</cstring> </property> <property name="geometry"> <rect> <x>80</x> <y>160</y> <width>70</width> <height>30</height> </rect> </property> <property name="text"> <string>OK</string> </property> </widget> <widget class="QPushButton"> <property name="name"> <cstring>cancel_Button</cstring> </property> <property name="geometry"> <rect> <x>210</x> <y>160</y> <width>70</width> <height>30</height> </rect> </property> <property name="text"> <string>cancel</string> </property> </widget></widget><connections> <connection> <sender>light_Slider</sender> <signal>valueChanged(int)</signal> <receiver>light_Spinbox</receiver> <slot>setValue(int)</slot> </connection> <connection> <sender>cancel_Button</sender> <signal>clicked()</signal> <receiver>light_MainForm</receiver> <slot>closeEvent()</slot> </connection> <connection> <sender>light_Spinbox</sender> <signal>valueChanged(int)</signal> <receiver>light_Slider</receiver> <slot>setValue(int)</slot> </connection> <connection> <sender>light_Slider</sender> <signal>valueChanged(int)</signal> <receiver>light_MainForm</receiver> <slot>changeLight()</slot> </connection> <connection> <sender>ok_Button</sender> <signal>clicked()</signal> <receiver>light_MainForm</receiver> <slot>writeValue()</slot> </connection></connections><slots> <slot>writeValue()</slot> <slot>changeLight()</slot> <slot>closeEvent()</slot></slots><pixmapinproject/><layoutdefaults spacing="6" margin="11"/></UI>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -