?? login.ui
字號:
<ui version="4.0" > <class>Login</class> <widget class="QWidget" name="Login" > <property name="enabled" > <bool>true</bool> </property> <property name="geometry" > <rect> <x>0</x> <y>0</y> <width>400</width> <height>300</height> </rect> </property> <property name="sizePolicy" > <sizepolicy vsizetype="Fixed" hsizetype="Minimum" > <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="minimumSize" > <size> <width>400</width> <height>300</height> </size> </property> <property name="maximumSize" > <size> <width>400</width> <height>300</height> </size> </property> <property name="sizeIncrement" > <size> <width>400</width> <height>0</height> </size> </property> <property name="baseSize" > <size> <width>0</width> <height>300</height> </size> </property> <property name="windowTitle" > <string>Login</string> </property> <widget class="QLabel" name="label" > <property name="geometry" > <rect> <x>0</x> <y>-10</y> <width>401</width> <height>311</height> </rect> </property> <property name="text" > <string/> </property> <property name="pixmap" > <pixmap resource="new.qrc" >:/pic/pic/背景.jpg</pixmap> </property> <property name="textInteractionFlags" > <set>Qt::NoTextInteraction</set> </property> </widget> <widget class="QLabel" name="label_2" > <property name="geometry" > <rect> <x>50</x> <y>100</y> <width>91</width> <height>24</height> </rect> </property> <property name="font" > <font> <pointsize>16</pointsize> </font> </property> <property name="text" > <string>用戶帳號</string> </property> </widget> <widget class="QLabel" name="label_4" > <property name="geometry" > <rect> <x>50</x> <y>170</y> <width>91</width> <height>24</height> </rect> </property> <property name="font" > <font> <pointsize>16</pointsize> </font> </property> <property name="text" > <string>用戶密碼</string> </property> </widget> <widget class="QLabel" name="label_3" > <property name="geometry" > <rect> <x>210</x> <y>20</y> <width>191</width> <height>51</height> </rect> </property> <property name="font" > <font> <family>Ouhod</family> <pointsize>25</pointsize> <weight>75</weight> <bold>true</bold> </font> </property> <property name="text" > <string>"紅人館"!</string> </property> <property name="textInteractionFlags" > <set>Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard</set> </property> </widget> <widget class="QLineEdit" name="usrnameEdit" > <property name="windowModality" > <enum>Qt::NonModal</enum> </property> <property name="geometry" > <rect> <x>170</x> <y>100</y> <width>171</width> <height>27</height> </rect> </property> </widget> <widget class="QLineEdit" name="passwordEdit" > <property name="geometry" > <rect> <x>170</x> <y>170</y> <width>171</width> <height>27</height> </rect> </property> <property name="echoMode" > <enum>QLineEdit::Password</enum> </property> </widget> <widget class="QPushButton" name="loginButton" > <property name="geometry" > <rect> <x>160</x> <y>240</y> <width>80</width> <height>33</height> </rect> </property> <property name="font" > <font> <pointsize>13</pointsize> </font> </property> <property name="text" > <string>登錄</string> </property> </widget> <widget class="QPushButton" name="enrolButton" > <property name="geometry" > <rect> <x>30</x> <y>240</y> <width>80</width> <height>33</height> </rect> </property> <property name="font" > <font> <pointsize>13</pointsize> </font> </property> <property name="text" > <string>注冊</string> </property> </widget> <widget class="QPushButton" name="eixtButton" > <property name="geometry" > <rect> <x>290</x> <y>240</y> <width>80</width> <height>33</height> </rect> </property> <property name="font" > <font> <pointsize>13</pointsize> </font> </property> <property name="text" > <string>退出</string> </property> </widget> </widget> <resources> <include location="new.qrc" /> </resources> <connections/></ui>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -