📄 loginform.ui
字号:
<!DOCTYPE UI><UI version="3.3" stdsetdef="1"><class>loginForm</class><widget class="QDialog"> <property name="name"> <cstring>loginForm</cstring> </property> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>391</width> <height>239</height> </rect> </property> <property name="caption"> <string>Login</string> </property> <widget class="QLabel"> <property name="name"> <cstring>idlable</cstring> </property> <property name="geometry"> <rect> <x>40</x> <y>40</y> <width>30</width> <height>31</height> </rect> </property> <property name="text"> <string>ID :</string> </property> </widget> <widget class="QLabel"> <property name="name"> <cstring>pswdlable</cstring> </property> <property name="geometry"> <rect> <x>40</x> <y>110</y> <width>60</width> <height>31</height> </rect> </property> <property name="text"> <string>Password :</string> </property> </widget> <widget class="QLineEdit"> <property name="name"> <cstring>idTxt</cstring> </property> <property name="geometry"> <rect> <x>100</x> <y>40</y> <width>170</width> <height>30</height> </rect> </property> </widget> <widget class="QPushButton"> <property name="name"> <cstring>resetBtn</cstring> </property> <property name="geometry"> <rect> <x>40</x> <y>170</y> <width>51</width> <height>41</height> </rect> </property> <property name="text"> <string>&Reset</string> </property> <property name="accel"> <string>Alt+R</string> </property> </widget> <widget class="QPushButton"> <property name="name"> <cstring>okBtn</cstring> </property> <property name="geometry"> <rect> <x>130</x> <y>170</y> <width>60</width> <height>41</height> </rect> </property> <property name="text"> <string>&OK</string> </property> <property name="accel"> <string>Alt+O</string> </property> </widget> <widget class="QPushButton"> <property name="name"> <cstring>quitBtn</cstring> </property> <property name="geometry"> <rect> <x>230</x> <y>170</y> <width>51</width> <height>41</height> </rect> </property> <property name="text"> <string>&Quit</string> </property> <property name="accel"> <string>Alt+Q</string> </property> </widget> <widget class="QLineEdit"> <property name="name"> <cstring>pswdTxt</cstring> </property> <property name="geometry"> <rect> <x>100</x> <y>111</y> <width>170</width> <height>30</height> </rect> </property> <property name="echoMode"> <enum>Password</enum> </property> </widget></widget><connections> <connection> <sender>resetBtn</sender> <signal>clicked()</signal> <receiver>idTxt</receiver> <slot>clear()</slot> </connection> <connection> <sender>resetBtn</sender> <signal>clicked()</signal> <receiver>pswdTxt</receiver> <slot>clear()</slot> </connection> <connection> <sender>resetBtn</sender> <signal>clicked()</signal> <receiver>idTxt</receiver> <slot>setFocus()</slot> </connection> <connection> <sender>quitBtn</sender> <signal>clicked()</signal> <receiver>loginForm</receiver> <slot>close()</slot> </connection></connections><tabstops> <tabstop>idTxt</tabstop> <tabstop>pswdTxt</tabstop> <tabstop>okBtn</tabstop> <tabstop>resetBtn</tabstop> <tabstop>quitBtn</tabstop></tabstops><pixmapinproject/><layoutdefaults spacing="6" margin="11"/></UI>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -