496 lines
14 KiB
XML
496 lines
14 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
||
<ui version="4.0">
|
||
<class>setupuers</class>
|
||
<widget class="QWidget" name="setupuers">
|
||
<property name="geometry">
|
||
<rect>
|
||
<x>0</x>
|
||
<y>0</y>
|
||
<width>3762</width>
|
||
<height>610</height>
|
||
</rect>
|
||
</property>
|
||
<property name="windowTitle">
|
||
<string>Form</string>
|
||
</property>
|
||
<property name="styleSheet">
|
||
<string notr="true">
|
||
font:14px;
|
||
color: rgb(81, 89, 108);</string>
|
||
</property>
|
||
<layout class="QGridLayout" name="gridLayout">
|
||
<property name="leftMargin">
|
||
<number>0</number>
|
||
</property>
|
||
<property name="topMargin">
|
||
<number>18</number>
|
||
</property>
|
||
<property name="rightMargin">
|
||
<number>0</number>
|
||
</property>
|
||
<property name="bottomMargin">
|
||
<number>0</number>
|
||
</property>
|
||
<item row="0" column="0">
|
||
<widget class="QWidget" name="widget_5" native="true">
|
||
<property name="styleSheet">
|
||
<string notr="true"/>
|
||
</property>
|
||
<layout class="QFormLayout" name="formLayout">
|
||
<property name="horizontalSpacing">
|
||
<number>0</number>
|
||
</property>
|
||
<property name="verticalSpacing">
|
||
<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 row="0" column="0">
|
||
<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>23</width>
|
||
<height>31</height>
|
||
</size>
|
||
</property>
|
||
</spacer>
|
||
</item>
|
||
<item row="0" column="1">
|
||
<layout class="QHBoxLayout" name="horizontalLayout">
|
||
<property name="spacing">
|
||
<number>10</number>
|
||
</property>
|
||
<item>
|
||
<widget class="QLabel" name="label_2">
|
||
<property name="styleSheet">
|
||
<string notr="true">font:12pt;</string>
|
||
</property>
|
||
<property name="text">
|
||
<string>用户名:</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<widget class="QComboBox" name="comboBox">
|
||
<property name="styleSheet">
|
||
<string notr="true">/*QCombobox主体*/
|
||
QComboBox{
|
||
border: 1px solid rgb(175, 175, 175) ;
|
||
border-radius: 2px;
|
||
font:12pt
|
||
}
|
||
/*QCombobox右侧按钮*/
|
||
QComboBox::drop-down {
|
||
subcontrol-origin: padding;
|
||
subcontrol-position: top right;/*放于右方顶部*/
|
||
width: 30px;/*设置按钮范围宽度*/
|
||
/*border-radius: 15px;
|
||
border-left-width: 1px;
|
||
border-left-color: darkgray;
|
||
border-left-style: solid;*/
|
||
|
||
border-top-right-radius: 1px;/*设置边框圆角*/
|
||
border-bottom-right-radius: 1px;
|
||
/*padding-right: 50px;*/
|
||
}
|
||
/*QCombobox右侧按钮的箭头图标*/
|
||
QComboBox::down-arrow {
|
||
|
||
border-image: url(:/icon/arrow-down-s-line.png);
|
||
width: 20px;/*设置该图标的宽高*/
|
||
height: 20px;
|
||
}
|
||
|
||
|
||
|
||
|
||
|
||
</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<widget class="QLabel" name="label">
|
||
<property name="styleSheet">
|
||
<string notr="true">font:12pt;</string>
|
||
</property>
|
||
<property name="text">
|
||
<string>创建时间:</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<widget class="QFrame" name="frame_2">
|
||
<property name="styleSheet">
|
||
<string notr="true">background-color: rgb(255, 255, 255);
|
||
border: 1px solid rgba(74, 94, 226,0.7);
|
||
border-radius: 2px;
|
||
border: 1px solid gray; /* 设置1px宽的灰色实线边框 */
|
||
border-radius: 4px; /* 边框圆角半径为4像素,实现倒角效果 */
|
||
padding: 2px 4px;
|
||
border: 1px solid rgb(175, 175, 175) ;
|
||
border-radius: 2px;
|
||
font:12pt;</string>
|
||
</property>
|
||
<property name="frameShape">
|
||
<enum>QFrame::StyledPanel</enum>
|
||
</property>
|
||
<property name="frameShadow">
|
||
<enum>QFrame::Raised</enum>
|
||
</property>
|
||
<layout class="QHBoxLayout" name="horizontalLayout_6">
|
||
<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="QLineEdit" name="lineEdit_4">
|
||
<property name="styleSheet">
|
||
<string notr="true"> border: 1px solid rgba(74, 94, 226,0.7);
|
||
border: transparent;
|
||
|
||
border-radius: 1px;
|
||
background-color: rgb(255, 255, 255);
|
||
|
||
font:12pt
|
||
</string>
|
||
</property>
|
||
<property name="text">
|
||
<string/>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<widget class="QPushButton" name="pushButton_5">
|
||
<property name="styleSheet">
|
||
<string notr="true">border: transparent;</string>
|
||
</property>
|
||
<property name="text">
|
||
<string/>
|
||
</property>
|
||
<property name="icon">
|
||
<iconset resource="img.qrc">
|
||
<normaloff>:/new/icon/date.png</normaloff>:/new/icon/date.png</iconset>
|
||
</property>
|
||
<property name="checkable">
|
||
<bool>true</bool>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
</layout>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<widget class="QLabel" name="label_10">
|
||
<property name="text">
|
||
<string/>
|
||
</property>
|
||
<property name="pixmap">
|
||
<pixmap resource="img.qrc">:/new/icon/-.png</pixmap>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<widget class="QFrame" name="frame">
|
||
<property name="styleSheet">
|
||
<string notr="true">background-color: rgb(255, 255, 255);
|
||
border: 1px solid rgba(74, 94, 226,0.7);
|
||
border-radius: 2px;
|
||
border: 1px solid gray; /* 设置1px宽的灰色实线边框 */
|
||
border-radius: 4px; /* 边框圆角半径为4像素,实现倒角效果 */
|
||
padding: 2px 4px;
|
||
border: 1px solid rgb(175, 175, 175) ;
|
||
border-radius: 2px;
|
||
font:12pt;</string>
|
||
</property>
|
||
<property name="frameShape">
|
||
<enum>QFrame::StyledPanel</enum>
|
||
</property>
|
||
<property name="frameShadow">
|
||
<enum>QFrame::Raised</enum>
|
||
</property>
|
||
<layout class="QHBoxLayout" name="horizontalLayout_5">
|
||
<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="QLineEdit" name="lineEdit_3">
|
||
<property name="styleSheet">
|
||
<string notr="true"> border: 1px solid rgba(74, 94, 226,0.7);
|
||
border: transparent;
|
||
|
||
border-radius: 1px;
|
||
background-color: rgb(255, 255, 255);
|
||
font:12pt
|
||
</string>
|
||
</property>
|
||
<property name="text">
|
||
<string/>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<widget class="QPushButton" name="pushButton_7">
|
||
<property name="styleSheet">
|
||
<string notr="true">border: transparent;</string>
|
||
</property>
|
||
<property name="text">
|
||
<string/>
|
||
</property>
|
||
<property name="icon">
|
||
<iconset resource="img.qrc">
|
||
<normaloff>:/new/icon/date.png</normaloff>:/new/icon/date.png</iconset>
|
||
</property>
|
||
<property name="checkable">
|
||
<bool>true</bool>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
</layout>
|
||
</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>20</width>
|
||
<height>20</height>
|
||
</size>
|
||
</property>
|
||
</spacer>
|
||
</item>
|
||
<item>
|
||
<widget class="QPushButton" name="pushButton">
|
||
<property name="styleSheet">
|
||
<string notr="true">QPushButton {
|
||
background-color: qlineargradient(spread:pad, x1:0, y1:0, x2:1, y2:1,
|
||
stop:0 rgba(0, 255, 255, 255) ,
|
||
stop:1 rgba(0, 144, 209, 255)
|
||
|
||
|
||
|
||
);
|
||
color: rgb(255, 255, 255);
|
||
border-radius: 4px;
|
||
}
|
||
|
||
</string>
|
||
</property>
|
||
<property name="text">
|
||
<string>查询</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<widget class="QPushButton" name="pushButton_6">
|
||
<property name="styleSheet">
|
||
<string notr="true">border-radius: 4px;
|
||
background-color: rgb(255, 255, 255);
|
||
border: 1px solid rgb(175, 175, 175) ;</string>
|
||
</property>
|
||
<property name="text">
|
||
<string>重置</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<spacer name="horizontalSpacer_6">
|
||
<property name="orientation">
|
||
<enum>Qt::Horizontal</enum>
|
||
</property>
|
||
<property name="sizeHint" stdset="0">
|
||
<size>
|
||
<width>41</width>
|
||
<height>20</height>
|
||
</size>
|
||
</property>
|
||
</spacer>
|
||
</item>
|
||
<item>
|
||
<widget class="QPushButton" name="pushButton_4">
|
||
<property name="styleSheet">
|
||
<string notr="true">border-radius: 4px;
|
||
background-color: rgb(255, 255, 255);
|
||
border: 1px solid rgb(175, 175, 175) ;</string>
|
||
</property>
|
||
<property name="text">
|
||
<string>导出</string>
|
||
</property>
|
||
<property name="icon">
|
||
<iconset resource="img.qrc">
|
||
<normaloff>:/new/icon/Frame (2).png</normaloff>:/new/icon/Frame (2).png</iconset>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<widget class="QPushButton" name="pushButton_3">
|
||
<property name="styleSheet">
|
||
<string notr="true">QPushButton {
|
||
background-color: qlineargradient(spread:pad, x1:0, y1:0, x2:1, y2:1,
|
||
stop:0 rgba(0, 255, 255, 255) ,
|
||
stop:1 rgba(0, 144, 209, 255)
|
||
|
||
|
||
|
||
);
|
||
color: rgb(255, 255, 255);
|
||
border-radius: 4px;
|
||
}
|
||
|
||
</string>
|
||
</property>
|
||
<property name="text">
|
||
<string>新增</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<spacer name="horizontalSpacer_2">
|
||
<property name="orientation">
|
||
<enum>Qt::Horizontal</enum>
|
||
</property>
|
||
<property name="sizeType">
|
||
<enum>QSizePolicy::Fixed</enum>
|
||
</property>
|
||
<property name="sizeHint" stdset="0">
|
||
<size>
|
||
<width>23</width>
|
||
<height>20</height>
|
||
</size>
|
||
</property>
|
||
</spacer>
|
||
</item>
|
||
</layout>
|
||
</item>
|
||
<item row="1" column="0" colspan="2">
|
||
<widget class="QWidget" name="widget" native="true">
|
||
<layout class="QGridLayout" name="gridLayout_2">
|
||
<property name="leftMargin">
|
||
<number>0</number>
|
||
</property>
|
||
<property name="topMargin">
|
||
<number>0</number>
|
||
</property>
|
||
<property name="rightMargin">
|
||
<number>0</number>
|
||
</property>
|
||
<property name="spacing">
|
||
<number>0</number>
|
||
</property>
|
||
<item row="0" column="0">
|
||
<spacer name="verticalSpacer">
|
||
<property name="orientation">
|
||
<enum>Qt::Vertical</enum>
|
||
</property>
|
||
<property name="sizeType">
|
||
<enum>QSizePolicy::Fixed</enum>
|
||
</property>
|
||
<property name="sizeHint" stdset="0">
|
||
<size>
|
||
<width>20</width>
|
||
<height>10</height>
|
||
</size>
|
||
</property>
|
||
</spacer>
|
||
</item>
|
||
<item row="1" column="0">
|
||
<widget class="QTableView" name="tableView">
|
||
<property name="styleSheet">
|
||
<string notr="true">QTableView{ border: transparent;}
|
||
|
||
|
||
QTableView::item{ border: none;
|
||
text-align:center; /* 设置文本水平居中 */
|
||
|
||
}
|
||
QTableView::item:alternate{ background-color: rgba(229, 247, 255, 1); }
|
||
QTableView::item:selected { background-color: transparent;
|
||
color: rgb(0, 0, 0);
|
||
}
|
||
QHeaderView::section:horizontal:frist {
|
||
padding:3px;
|
||
margin:0px;
|
||
color:#FFFFFF;
|
||
|
||
font: bold 11pt "微软雅黑";
|
||
background: rgb(77,199,255);
|
||
border-top-left-radius:12px;
|
||
border-top-right-radius:0px;
|
||
border-bottom-left-radius:0px;
|
||
border-bottom-right-radius:0px;
|
||
}
|
||
QHeaderView::section:horizontal:middle {
|
||
padding:3px;
|
||
margin:0px;
|
||
color:#FFFFFF;
|
||
font: bold 11pt "微软雅黑";
|
||
background: rgb(77,199,255);
|
||
border-radius:0px;
|
||
}
|
||
QHeaderView::section:horizontal:last {
|
||
padding:3px;
|
||
margin:0px;
|
||
color:#FFFFFF;
|
||
font: bold 11pt "微软雅黑";
|
||
background: rgb(77,199,255);
|
||
border-top-left-radius:0px;
|
||
border-top-right-radius:15px;
|
||
border-bottom-left-radius:0px;
|
||
border-bottom-right-radius:0px;
|
||
}</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
</layout>
|
||
</widget>
|
||
</item>
|
||
</layout>
|
||
</widget>
|
||
</item>
|
||
</layout>
|
||
</widget>
|
||
<resources>
|
||
<include location="img.qrc"/>
|
||
</resources>
|
||
<connections/>
|
||
</ui>
|