<?xml version="1.0" encoding="UTF-8"?> <ui version="4.0"> <class>AddPersonForm</class> <widget class="QWidget" name="AddPersonForm"> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>1017</width> <height>627</height> </rect> </property> <property name="windowTitle"> <string>Form</string> </property> <layout class="QVBoxLayout" name="verticalLayout"> <property name="spacing"> <number>0</number> </property> <property name="leftMargin"> <number>0</number> </property> <property name="topMargin"> <number>0</number> </property> <property name="rightMargin"> <number>0</number> </property> <property name="bottomMargin"> <number>0</number> </property> <item> <widget class="QWidget" name="widgetTitle" native="true"> <property name="sizePolicy"> <sizepolicy hsizetype="Preferred" vsizetype="Fixed"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <layout class="QHBoxLayout" name="horizontalLayout"> <property name="leftMargin"> <number>15</number> </property> <property name="topMargin"> <number>15</number> </property> <property name="rightMargin"> <number>15</number> </property> <property name="bottomMargin"> <number>15</number> </property> <item> <widget class="QToolButton" name="btnBack"> <property name="text"> <string>...</string> </property> <property name="icon"> <iconset resource="resource.qrc"> <normaloff>:/images/back.png</normaloff>:/images/back.png</iconset> </property> <property name="iconSize"> <size> <width>52</width> <height>52</height> </size> </property> </widget> </item> <item> <widget class="QLabel" name="labPersonTitle"> <property name="text"> <string>人员注册</string> </property> <property name="alignment"> <set>Qt::AlignCenter</set> </property> </widget> </item> <item> <widget class="QToolButton" name="btnHome"> <property name="text"> <string>...</string> </property> <property name="icon"> <iconset resource="resource.qrc"> <normaloff>:/images/home.png</normaloff>:/images/home.png</iconset> </property> <property name="iconSize"> <size> <width>52</width> <height>52</height> </size> </property> </widget> </item> </layout> </widget> </item> <item> <widget class="QWidget" name="widgetContent" native="true"> <layout class="QHBoxLayout" name="horizontalLayout_2" stretch="1,1"> <property name="spacing"> <number>100</number> </property> <property name="leftMargin"> <number>100</number> </property> <property name="topMargin"> <number>50</number> </property> <property name="rightMargin"> <number>100</number> </property> <property name="bottomMargin"> <number>50</number> </property> <item> <widget class="QWidget" name="widgetInfo" native="true"> <layout class="QVBoxLayout" name="verticalLayout_3"> <property name="spacing"> <number>10</number> </property> <property name="leftMargin"> <number>0</number> </property> <property name="topMargin"> <number>0</number> </property> <property name="rightMargin"> <number>0</number> </property> <property name="bottomMargin"> <number>0</number> </property> <item> <layout class="QHBoxLayout" name="hsName"> <item> <widget class="QLabel" name="labName"> <property name="sizePolicy"> <sizepolicy hsizetype="Fixed" vsizetype="Preferred"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="minimumSize"> <size> <width>200</width> <height>0</height> </size> </property> <property name="maximumSize"> <size> <width>200</width> <height>16777215</height> </size> </property> <property name="text"> <string>姓 名</string> </property> <property name="alignment"> <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set> </property> </widget> </item> <item> <widget class="QLineEdit" name="inputName"> <property name="sizePolicy"> <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="minimumSize"> <size> <width>0</width> <height>0</height> </size> </property> <property name="maximumSize"> <size> <width>16777215</width> <height>16777215</height> </size> </property> </widget> </item> </layout> </item> <item> <layout class="QHBoxLayout" name="hsCardNo"> <item> <widget class="QLabel" name="labCardNo"> <property name="sizePolicy"> <sizepolicy hsizetype="Fixed" vsizetype="Preferred"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="minimumSize"> <size> <width>200</width> <height>0</height> </size> </property> <property name="maximumSize"> <size> <width>200</width> <height>16777215</height> </size> </property> <property name="text"> <string>员工编号</string> </property> <property name="alignment"> <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set> </property> </widget> </item> <item> <widget class="QLineEdit" name="inputCardNo"> <property name="sizePolicy"> <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="minimumSize"> <size> <width>0</width> <height>0</height> </size> </property> <property name="maximumSize"> <size> <width>16777215</width> <height>16777215</height> </size> </property> </widget> </item> </layout> </item> <item> <layout class="QHBoxLayout" name="hsGender"> <item> <widget class="QLabel" name="labGender"> <property name="sizePolicy"> <sizepolicy hsizetype="Fixed" vsizetype="Preferred"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="minimumSize"> <size> <width>200</width> <height>0</height> </size> </property> <property name="maximumSize"> <size> <width>200</width> <height>16777215</height> </size> </property> <property name="text"> <string>性 别</string> </property> <property name="alignment"> <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set> </property> </widget> </item> <item> <widget class="QRadioButton" name="radioMale"> <property name="autoFillBackground"> <bool>false</bool> </property> <property name="text"> <string>男</string> </property> </widget> </item> <item> <widget class="QRadioButton" name="radioFemale"> <property name="text"> <string>女</string> </property> </widget> </item> </layout> </item> <item> <layout class="QHBoxLayout" name="hsDept"> <item> <widget class="QLabel" name="labDept"> <property name="sizePolicy"> <sizepolicy hsizetype="Fixed" vsizetype="Preferred"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="minimumSize"> <size> <width>200</width> <height>0</height> </size> </property> <property name="maximumSize"> <size> <width>200</width> <height>16777215</height> </size> </property> <property name="text"> <string>所在部门</string> </property> <property name="alignment"> <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set> </property> </widget> </item> <item> <widget class="QComboBox" name="selectDept"> <property name="sizePolicy"> <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="minimumSize"> <size> <width>0</width> <height>0</height> </size> </property> <property name="maximumSize"> <size> <width>16777215</width> <height>16777215</height> </size> </property> <property name="currentText"> <string/> </property> <property name="maxVisibleItems"> <number>5</number> </property> </widget> </item> </layout> </item> </layout> </widget> </item> <item> <widget class="QWidget" name="widgetPhoto" native="true"> <layout class="QVBoxLayout" name="verticalLayout_2"> <property name="spacing"> <number>60</number> </property> <property name="leftMargin"> <number>0</number> </property> <property name="topMargin"> <number>0</number> </property> <property name="rightMargin"> <number>0</number> </property> <property name="bottomMargin"> <number>0</number> </property> <item> <widget class="QLabel" name="labPhotoFace"> <property name="text"> <string/> </property> <property name="pixmap"> <pixmap resource="resource.qrc">:/images/photoFace.png</pixmap> </property> <property name="alignment"> <set>Qt::AlignCenter</set> </property> </widget> </item> <item> <layout class="QHBoxLayout" name="hLayoutEye"> <property name="spacing"> <number>60</number> </property> <item> <widget class="QLabel" name="labPhotoEyeRight"> <property name="text"> <string/> </property> <property name="pixmap"> <pixmap resource="resource.qrc">:/images/photoEyeRight.png</pixmap> </property> <property name="alignment"> <set>Qt::AlignCenter</set> </property> </widget> </item> <item> <widget class="QLabel" name="labPhotoEyeLeft"> <property name="text"> <string/> </property> <property name="pixmap"> <pixmap resource="resource.qrc">:/images/photoEyeLeft.png</pixmap> </property> <property name="alignment"> <set>Qt::AlignCenter</set> </property> </widget> </item> </layout> </item> </layout> </widget> </item> </layout> </widget> </item> <item> <widget class="QToolButton" name="btnSave"> <property name="text"> <string>保存</string> </property> <property name="icon"> <iconset resource="resource.qrc"> <normaloff>:/images/save.png</normaloff>:/images/save.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> </layout> </widget> <resources> <include location="resource.qrc"/> </resources> <connections/> </ui>