291 lines
8.8 KiB
Plaintext
291 lines
8.8 KiB
Plaintext
|
<?xml version="1.0" encoding="UTF-8"?>
|
||
|
<ui version="4.0">
|
||
|
<class>QLoginWidget</class>
|
||
|
<widget class="QDialog" name="QLoginWidget">
|
||
|
<property name="geometry">
|
||
|
<rect>
|
||
|
<x>0</x>
|
||
|
<y>0</y>
|
||
|
<width>764</width>
|
||
|
<height>480</height>
|
||
|
</rect>
|
||
|
</property>
|
||
|
<property name="windowTitle">
|
||
|
<string>登录</string>
|
||
|
</property>
|
||
|
<property name="windowIcon">
|
||
|
<iconset resource="resource.qrc">
|
||
|
<normaloff>:/QMainFrame/Resources/CPIC.png</normaloff>:/QMainFrame/Resources/CPIC.png</iconset>
|
||
|
</property>
|
||
|
<widget class="QWidget" name="gridLayoutWidget">
|
||
|
<property name="geometry">
|
||
|
<rect>
|
||
|
<x>40</x>
|
||
|
<y>40</y>
|
||
|
<width>369</width>
|
||
|
<height>164</height>
|
||
|
</rect>
|
||
|
</property>
|
||
|
<layout class="QGridLayout" name="pLayoutMain">
|
||
|
<property name="sizeConstraint">
|
||
|
<enum>QLayout::SetFixedSize</enum>
|
||
|
</property>
|
||
|
<item row="0" column="0">
|
||
|
<layout class="QVBoxLayout" name="verticalLayout">
|
||
|
<property name="leftMargin">
|
||
|
<number>5</number>
|
||
|
</property>
|
||
|
<property name="topMargin">
|
||
|
<number>5</number>
|
||
|
</property>
|
||
|
<property name="rightMargin">
|
||
|
<number>5</number>
|
||
|
</property>
|
||
|
<property name="bottomMargin">
|
||
|
<number>5</number>
|
||
|
</property>
|
||
|
<item>
|
||
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
||
|
<item>
|
||
|
<widget class="QLabel" name="label_4">
|
||
|
<property name="sizePolicy">
|
||
|
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
|
||
|
<horstretch>0</horstretch>
|
||
|
<verstretch>0</verstretch>
|
||
|
</sizepolicy>
|
||
|
</property>
|
||
|
<property name="minimumSize">
|
||
|
<size>
|
||
|
<width>104</width>
|
||
|
<height>104</height>
|
||
|
</size>
|
||
|
</property>
|
||
|
<property name="maximumSize">
|
||
|
<size>
|
||
|
<width>104</width>
|
||
|
<height>104</height>
|
||
|
</size>
|
||
|
</property>
|
||
|
<property name="text">
|
||
|
<string/>
|
||
|
</property>
|
||
|
<property name="pixmap">
|
||
|
<pixmap resource="resource.qrc">:/QMainFrame/Resources/login.png</pixmap>
|
||
|
</property>
|
||
|
<property name="scaledContents">
|
||
|
<bool>true</bool>
|
||
|
</property>
|
||
|
<property name="alignment">
|
||
|
<set>Qt::AlignCenter</set>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item>
|
||
|
<widget class="QGroupBox" name="groupBox">
|
||
|
<property name="sizePolicy">
|
||
|
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
|
||
|
<horstretch>0</horstretch>
|
||
|
<verstretch>0</verstretch>
|
||
|
</sizepolicy>
|
||
|
</property>
|
||
|
<property name="minimumSize">
|
||
|
<size>
|
||
|
<width>245</width>
|
||
|
<height>104</height>
|
||
|
</size>
|
||
|
</property>
|
||
|
<property name="maximumSize">
|
||
|
<size>
|
||
|
<width>245</width>
|
||
|
<height>104</height>
|
||
|
</size>
|
||
|
</property>
|
||
|
<property name="title">
|
||
|
<string>登录信息:</string>
|
||
|
</property>
|
||
|
<layout class="QGridLayout" name="gridLayout">
|
||
|
<property name="sizeConstraint">
|
||
|
<enum>QLayout::SetFixedSize</enum>
|
||
|
</property>
|
||
|
<item row="0" column="0">
|
||
|
<widget class="QLabel" name="label">
|
||
|
<property name="text">
|
||
|
<string> 工号:</string>
|
||
|
</property>
|
||
|
<property name="alignment">
|
||
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="0" column="1">
|
||
|
<widget class="QLineEdit" name="pEditUserCode">
|
||
|
<property name="maxLength">
|
||
|
<number>6</number>
|
||
|
</property>
|
||
|
<property name="alignment">
|
||
|
<set>Qt::AlignCenter</set>
|
||
|
</property>
|
||
|
<property name="clearButtonEnabled">
|
||
|
<bool>true</bool>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="1" column="0">
|
||
|
<widget class="QLabel" name="label_2">
|
||
|
<property name="text">
|
||
|
<string>名称:</string>
|
||
|
</property>
|
||
|
<property name="alignment">
|
||
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="1" column="1">
|
||
|
<widget class="QLineEdit" name="pEditUserName">
|
||
|
<property name="maxLength">
|
||
|
<number>20</number>
|
||
|
</property>
|
||
|
<property name="alignment">
|
||
|
<set>Qt::AlignCenter</set>
|
||
|
</property>
|
||
|
<property name="readOnly">
|
||
|
<bool>true</bool>
|
||
|
</property>
|
||
|
<property name="clearButtonEnabled">
|
||
|
<bool>true</bool>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="2" column="0">
|
||
|
<widget class="QLabel" name="label_3">
|
||
|
<property name="text">
|
||
|
<string>密码:</string>
|
||
|
</property>
|
||
|
<property name="alignment">
|
||
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="2" column="1">
|
||
|
<widget class="QLineEdit" name="pEditPassword">
|
||
|
<property name="maxLength">
|
||
|
<number>999</number>
|
||
|
</property>
|
||
|
<property name="echoMode">
|
||
|
<enum>QLineEdit::Password</enum>
|
||
|
</property>
|
||
|
<property name="alignment">
|
||
|
<set>Qt::AlignCenter</set>
|
||
|
</property>
|
||
|
<property name="clearButtonEnabled">
|
||
|
<bool>true</bool>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
</layout>
|
||
|
</widget>
|
||
|
</item>
|
||
|
</layout>
|
||
|
</item>
|
||
|
<item>
|
||
|
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
||
|
<item>
|
||
|
<spacer name="horizontalSpacer_2">
|
||
|
<property name="orientation">
|
||
|
<enum>Qt::Horizontal</enum>
|
||
|
</property>
|
||
|
<property name="sizeHint" stdset="0">
|
||
|
<size>
|
||
|
<width>40</width>
|
||
|
<height>20</height>
|
||
|
</size>
|
||
|
</property>
|
||
|
</spacer>
|
||
|
</item>
|
||
|
<item>
|
||
|
<widget class="QToolButton" name="pButtonLogin">
|
||
|
<property name="text">
|
||
|
<string>登录</string>
|
||
|
</property>
|
||
|
<property name="icon">
|
||
|
<iconset resource="resource.qrc">
|
||
|
<normaloff>:/QMainFrame/Resources/ok.png</normaloff>:/QMainFrame/Resources/ok.png</iconset>
|
||
|
</property>
|
||
|
<property name="iconSize">
|
||
|
<size>
|
||
|
<width>32</width>
|
||
|
<height>32</height>
|
||
|
</size>
|
||
|
</property>
|
||
|
<property name="toolButtonStyle">
|
||
|
<enum>Qt::ToolButtonTextBesideIcon</enum>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item>
|
||
|
<spacer name="horizontalSpacer">
|
||
|
<property name="orientation">
|
||
|
<enum>Qt::Horizontal</enum>
|
||
|
</property>
|
||
|
<property name="sizeType">
|
||
|
<enum>QSizePolicy::Fixed</enum>
|
||
|
</property>
|
||
|
<property name="sizeHint" stdset="0">
|
||
|
<size>
|
||
|
<width>5</width>
|
||
|
<height>20</height>
|
||
|
</size>
|
||
|
</property>
|
||
|
</spacer>
|
||
|
</item>
|
||
|
<item>
|
||
|
<widget class="QToolButton" name="pButtonCancel">
|
||
|
<property name="text">
|
||
|
<string>放弃</string>
|
||
|
</property>
|
||
|
<property name="icon">
|
||
|
<iconset resource="resource.qrc">
|
||
|
<normaloff>:/QMainFrame/Resources/x.png</normaloff>:/QMainFrame/Resources/x.png</iconset>
|
||
|
</property>
|
||
|
<property name="iconSize">
|
||
|
<size>
|
||
|
<width>32</width>
|
||
|
<height>32</height>
|
||
|
</size>
|
||
|
</property>
|
||
|
<property name="toolButtonStyle">
|
||
|
<enum>Qt::ToolButtonTextBesideIcon</enum>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item>
|
||
|
<spacer name="horizontalSpacer_3">
|
||
|
<property name="orientation">
|
||
|
<enum>Qt::Horizontal</enum>
|
||
|
</property>
|
||
|
<property name="sizeType">
|
||
|
<enum>QSizePolicy::Fixed</enum>
|
||
|
</property>
|
||
|
<property name="sizeHint" stdset="0">
|
||
|
<size>
|
||
|
<width>5</width>
|
||
|
<height>20</height>
|
||
|
</size>
|
||
|
</property>
|
||
|
</spacer>
|
||
|
</item>
|
||
|
</layout>
|
||
|
</item>
|
||
|
</layout>
|
||
|
</item>
|
||
|
</layout>
|
||
|
</widget>
|
||
|
</widget>
|
||
|
<layoutdefault spacing="6" margin="11"/>
|
||
|
<resources>
|
||
|
<include location="resource.qrc"/>
|
||
|
<include location="resources.qrc"/>
|
||
|
</resources>
|
||
|
<connections/>
|
||
|
</ui>
|