SealedLips/client-qt/logindlg.ui
2023-05-07 00:17:27 +08:00

296 lines
6.9 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>LoginDlg</class>
<widget class="QDialog" name="LoginDlg">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>412</width>
<height>534</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>350</width>
<height>330</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>16777215</height>
</size>
</property>
<property name="windowTitle">
<string>Dialog</string>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0">
<widget class="QWidget" name="centerWidget" native="true">
<property name="minimumSize">
<size>
<width>350</width>
<height>330</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>430</width>
<height>330</height>
</size>
</property>
<widget class="QPushButton" name="pushbtn_regist">
<property name="geometry">
<rect>
<x>70</x>
<y>210</y>
<width>101</width>
<height>41</height>
</rect>
</property>
<property name="cursor">
<cursorShape>ArrowCursor</cursorShape>
</property>
<property name="statusTip">
<string>注册</string>
</property>
<property name="styleSheet">
<string notr="true">QPushButton{
background-color: rgb(80, 156, 255);
color: rgb(255, 255, 255);
border-style: solid;
border-radius: 5px;
}
QPushButton:hover{
background-color: rgb(56,205,127);
}
QPushButton:pressed {
background-color: rgb(7,193,96);
}</string>
</property>
<property name="text">
<string>注册账号</string>
</property>
</widget>
<widget class="QWidget" name="layoutWidget">
<property name="geometry">
<rect>
<x>300</x>
<y>10</y>
<width>77</width>
<height>42</height>
</rect>
</property>
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<widget class="QPushButton" name="pushBtn_hide">
<property name="styleSheet">
<string notr="true">QPushButton {
border: none; /* no border for a flat push button */
image: url(:/src/min.png); /* 最小化 */
min-width: 34px;
max-width: 34px;
min-height: 40px;
max-height: 40px;
}
QPushButton::hover {
background-color: rgba(166,166,166, 50);
}</string>
</property>
<property name="text">
<string/>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pushBtn_close">
<property name="styleSheet">
<string notr="true">QPushButton {
border: none; /* no border for a flat push button */
image: url(:/src/close.png); /* 最小化 */
min-width: 34px;
max-width: 34px;
min-height: 40px;
max-height: 40px;
}
QPushButton::hover {
background-color: #f57575;
}</string>
</property>
<property name="text">
<string/>
</property>
</widget>
</item>
</layout>
</widget>
<widget class="QPushButton" name="pushButton_login">
<property name="geometry">
<rect>
<x>190</x>
<y>210</y>
<width>101</width>
<height>41</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">QPushButton{
background-color: rgb(80, 156, 255);
color: rgb(255, 255, 255);
border-style: solid;
border-radius: 5px;
}
QPushButton:hover{
background-color: rgb(56,205,127);
}
QPushButton:pressed {
background-color: rgb(7,193,96);
}</string>
</property>
<property name="text">
<string>登录</string>
</property>
</widget>
<widget class="QLineEdit" name="lineEdit_account">
<property name="geometry">
<rect>
<x>100</x>
<y>120</y>
<width>171</width>
<height>30</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">QLineEdit{
color: rgb(0, 0, 0);
border-style: none;
border-radius: 5px;
border-right:1px solid #3498db;
border-top:1px solid #3498db;
border-left:1px solid #3498db;
border-bottom:1px solid #3498db;
min-height: 20px;
}
QLineEdit:focus {
border: 2px solid #3498db;
}</string>
</property>
<property name="text">
<string>10000</string>
</property>
</widget>
<widget class="QLabel" name="label">
<property name="geometry">
<rect>
<x>10</x>
<y>120</y>
<width>51</width>
<height>21</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>12</pointsize>
</font>
</property>
<property name="layoutDirection">
<enum>Qt::LeftToRight</enum>
</property>
<property name="text">
<string>账号:</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
<widget class="QLabel" name="label_2">
<property name="geometry">
<rect>
<x>0</x>
<y>160</y>
<width>61</width>
<height>21</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>12</pointsize>
</font>
</property>
<property name="text">
<string>密码:</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
<widget class="QLineEdit" name="lineEdit_password">
<property name="geometry">
<rect>
<x>100</x>
<y>160</y>
<width>171</width>
<height>30</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">QLineEdit{
color: rgb(0, 0, 0);
border-style: none;
border-radius: 5px;
border-right:1px solid #3498db;
border-top:1px solid #3498db;
border-left:1px solid #3498db;
border-bottom:1px solid #3498db;
min-height: 20px;
}
QLineEdit:focus {
border: 2px solid #3498db;
}</string>
</property>
<property name="text">
<string>123456</string>
</property>
</widget>
<widget class="QLabel" name="label_4">
<property name="geometry">
<rect>
<x>10</x>
<y>10</y>
<width>101</width>
<height>21</height>
</rect>
</property>
<property name="font">
<font>
<family>Consolas</family>
<pointsize>12</pointsize>
</font>
</property>
<property name="styleSheet">
<string notr="true">color: rgb(166,166,166);</string>
</property>
<property name="text">
<string>Chatware</string>
</property>
</widget>
</widget>
</item>
</layout>
</widget>
<resources/>
<connections/>
</ui>