250 lines
5.7 KiB
XML
250 lines
5.7 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>Form</class>
|
|
<widget class="QWidget" name="Form">
|
|
<property name="windowModality">
|
|
<enum>Qt::WindowModality::WindowModal</enum>
|
|
</property>
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>500</width>
|
|
<height>270</height>
|
|
</rect>
|
|
</property>
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>500</width>
|
|
<height>270</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>500</width>
|
|
<height>270</height>
|
|
</size>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<family>Consolas</family>
|
|
<pointsize>14</pointsize>
|
|
</font>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>登录</string>
|
|
</property>
|
|
<property name="windowIcon">
|
|
<iconset>
|
|
<normaloff>../assets/media/icon.ico</normaloff>../assets/media/icon.ico</iconset>
|
|
</property>
|
|
<widget class="QWidget" name="">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>41</x>
|
|
<y>41</y>
|
|
<width>411</width>
|
|
<height>211</height>
|
|
</rect>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
<property name="spacing">
|
|
<number>2</number>
|
|
</property>
|
|
<item>
|
|
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
|
<property name="spacing">
|
|
<number>2</number>
|
|
</property>
|
|
<item>
|
|
<widget class="QLabel" name="label">
|
|
<property name="font">
|
|
<font>
|
|
<family>Consolas</family>
|
|
<pointsize>14</pointsize>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string>用户名</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLineEdit" name="le_username">
|
|
<property name="font">
|
|
<font>
|
|
<family>Consolas</family>
|
|
<pointsize>14</pointsize>
|
|
</font>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<layout class="QHBoxLayout" name="horizontalLayout_3">
|
|
<property name="spacing">
|
|
<number>2</number>
|
|
</property>
|
|
<item>
|
|
<widget class="QLabel" name="label_2">
|
|
<property name="font">
|
|
<font>
|
|
<family>Consolas</family>
|
|
<pointsize>14</pointsize>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string>密 码</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLineEdit" name="le_password">
|
|
<property name="font">
|
|
<font>
|
|
<family>Consolas</family>
|
|
<pointsize>14</pointsize>
|
|
</font>
|
|
</property>
|
|
<property name="echoMode">
|
|
<enum>QLineEdit::EchoMode::Password</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="label_hint">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<family>Consolas</family>
|
|
<pointsize>12</pointsize>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
|
<property name="spacing">
|
|
<number>2</number>
|
|
</property>
|
|
<item>
|
|
<widget class="QPushButton" name="btn_login">
|
|
<property name="font">
|
|
<font>
|
|
<family>Consolas</family>
|
|
<pointsize>14</pointsize>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string>登录</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="btn_reset">
|
|
<property name="font">
|
|
<font>
|
|
<family>Consolas</family>
|
|
<pointsize>14</pointsize>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string>重置</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</widget>
|
|
<resources/>
|
|
<connections>
|
|
<connection>
|
|
<sender>btn_login</sender>
|
|
<signal>clicked()</signal>
|
|
<receiver>Form</receiver>
|
|
<slot>user_login()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>85</x>
|
|
<y>130</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>34</x>
|
|
<y>112</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>le_password</sender>
|
|
<signal>returnPressed()</signal>
|
|
<receiver>Form</receiver>
|
|
<slot>user_login()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>178</x>
|
|
<y>82</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>11</x>
|
|
<y>70</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>le_username</sender>
|
|
<signal>returnPressed()</signal>
|
|
<receiver>Form</receiver>
|
|
<slot>user_login()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>169</x>
|
|
<y>42</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>10</x>
|
|
<y>33</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>btn_reset</sender>
|
|
<signal>clicked()</signal>
|
|
<receiver>Form</receiver>
|
|
<slot>reset_password()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>311</x>
|
|
<y>138</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>367</x>
|
|
<y>113</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
</connections>
|
|
<slots>
|
|
<slot>user_login()</slot>
|
|
<slot>reset_password()</slot>
|
|
</slots>
|
|
</ui>
|