<?xml version="1.0" encoding="UTF-8"?>
|
<ui version="4.0">
|
<class>LoginWindow</class>
|
<widget class="QWidget" name="LoginWindow">
|
<property name="geometry">
|
<rect>
|
<x>0</x>
|
<y>0</y>
|
<width>300</width>
|
<height>200</height>
|
</rect>
|
</property>
|
<property name="windowTitle">
|
<string>登录</string>
|
</property>
|
<widget class="QLabel" name="usernameLabel">
|
<property name="geometry">
|
<rect>
|
<x>30</x>
|
<y>30</y>
|
<width>60</width>
|
<height>20</height>
|
</rect>
|
</property>
|
<property name="text">
|
<string>用户名:</string>
|
</property>
|
</widget>
|
<widget class="QLineEdit" name="usernameLineEdit">
|
<property name="geometry">
|
<rect>
|
<x>100</x>
|
<y>30</y>
|
<width>150</width>
|
<height>20</height>
|
</rect>
|
</property>
|
</widget>
|
<widget class="QLabel" name="passwordLabel">
|
<property name="geometry">
|
<rect>
|
<x>30</x>
|
<y>70</y>
|
<width>60</width>
|
<height>20</height>
|
</rect>
|
</property>
|
<property name="text">
|
<string>密码:</string>
|
</property>
|
</widget>
|
<widget class="QLineEdit" name="passwordLineEdit">
|
<property name="geometry">
|
<rect>
|
<x>100</x>
|
<y>70</y>
|
<width>150</width>
|
<height>20</height>
|
</rect>
|
</property>
|
<property name="echoMode">
|
<enum>QLineEdit::Password</enum>
|
</property>
|
</widget>
|
<widget class="QPushButton" name="loginButton">
|
<property name="geometry">
|
<rect>
|
<x>50</x>
|
<y>120</y>
|
<width>80</width>
|
<height>30</height>
|
</rect>
|
</property>
|
<property name="text">
|
<string>登录</string>
|
</property>
|
</widget>
|
<widget class="QPushButton" name="registerButton">
|
<property name="geometry">
|
<rect>
|
<x>170</x>
|
<y>120</y>
|
<width>80</width>
|
<height>30</height>
|
</rect>
|
</property>
|
<property name="text">
|
<string>注册</string>
|
</property>
|
</widget>
|
</widget>
|
<layoutdefault spacing="6" margin="11"/>
|
<resources/>
|
<connections>
|
<connection>
|
<sender>loginButton</sender>
|
<signal>clicked()</signal>
|
<receiver>LoginWindow</receiver>
|
<slot>on_loginButton_clicked()</slot>
|
<hints>
|
<hint type="sourcelabel">
|
<x>99</x>
|
<y>128</y>
|
</hint>
|
<hint type="destinationlabel">
|
<x>149</x>
|
<y>99</y>
|
</hint>
|
</hints>
|
</connection>
|
<connection>
|
<sender>registerButton</sender>
|
<signal>clicked()</signal>
|
<receiver>LoginWindow</receiver>
|
<slot>on_registerButton_clicked()</slot>
|
<hints>
|
<hint type="sourcelabel">
|
<x>249</x>
|
<y>128</y>
|
</hint>
|
<hint type="destinationlabel">
|
<x>149</x>
|
<y>99</y>
|
</hint>
|
</hints>
|
</connection>
|
</connections>
|
</ui>
|