579 lines
17 KiB
XML
579 lines
17 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
||
<ui version="4.0">
|
||
<class>bachistoricalrecords</class>
|
||
<widget class="QWidget" name="bachistoricalrecords">
|
||
<property name="geometry">
|
||
<rect>
|
||
<x>0</x>
|
||
<y>0</y>
|
||
<width>3774</width>
|
||
<height>588</height>
|
||
</rect>
|
||
</property>
|
||
<property name="windowTitle">
|
||
<string>菌落计数历史记录</string>
|
||
</property>
|
||
<property name="styleSheet">
|
||
<string notr="true">background-color: rgb(255, 255, 255);
|
||
|
||
font:14px;
|
||
color: rgb(81, 89, 108);</string>
|
||
</property>
|
||
<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="bottomMargin">
|
||
<number>0</number>
|
||
</property>
|
||
<property name="spacing">
|
||
<number>0</number>
|
||
</property>
|
||
<item row="0" column="0">
|
||
<widget class="QFrame" name="frame_3">
|
||
<property name="frameShape">
|
||
<enum>QFrame::StyledPanel</enum>
|
||
</property>
|
||
<property name="frameShadow">
|
||
<enum>QFrame::Raised</enum>
|
||
</property>
|
||
<layout class="QGridLayout" name="gridLayout">
|
||
<property name="leftMargin">
|
||
<number>0</number>
|
||
</property>
|
||
<property name="topMargin">
|
||
<number>15</number>
|
||
</property>
|
||
<property name="rightMargin">
|
||
<number>0</number>
|
||
</property>
|
||
<property name="bottomMargin">
|
||
<number>0</number>
|
||
</property>
|
||
<property name="horizontalSpacing">
|
||
<number>0</number>
|
||
</property>
|
||
<property name="verticalSpacing">
|
||
<number>6</number>
|
||
</property>
|
||
<item row="3" column="0">
|
||
<layout class="QHBoxLayout" name="horizontalLayout_3">
|
||
<property name="spacing">
|
||
<number>15</number>
|
||
</property>
|
||
<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>
|
||
<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>37</height>
|
||
</size>
|
||
</property>
|
||
</spacer>
|
||
</item>
|
||
<item>
|
||
<widget class="QLabel" name="label_7">
|
||
<property name="text">
|
||
<string>共10页</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<widget class="QPushButton" name="pushButton_10">
|
||
<property name="styleSheet">
|
||
<string notr="true">border: transparent;</string>
|
||
</property>
|
||
<property name="text">
|
||
<string>上一页</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<widget class="QScrollArea" name="scrollArea">
|
||
<property name="styleSheet">
|
||
<string notr="true">border: transparent;
|
||
</string>
|
||
</property>
|
||
<property name="widgetResizable">
|
||
<bool>true</bool>
|
||
</property>
|
||
<widget class="QWidget" name="scrollAreaWidgetContents_3">
|
||
<property name="geometry">
|
||
<rect>
|
||
<x>0</x>
|
||
<y>0</y>
|
||
<width>858</width>
|
||
<height>256</height>
|
||
</rect>
|
||
</property>
|
||
</widget>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<widget class="QPushButton" name="pushButton_9">
|
||
<property name="styleSheet">
|
||
<string notr="true">border: transparent;</string>
|
||
</property>
|
||
<property name="text">
|
||
<string>下一页</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<widget class="QPushButton" name="pushButton_11">
|
||
<property name="styleSheet">
|
||
<string notr="true">border: transparent;</string>
|
||
</property>
|
||
<property name="text">
|
||
<string>跳转至</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<widget class="QLineEdit" name="lineEdit_2">
|
||
<property name="styleSheet">
|
||
<string notr="true">border:1px solid rgb(227, 227, 227);
|
||
border-radius: 4px; </string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<widget class="QLabel" name="label_9">
|
||
<property name="text">
|
||
<string>页</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<spacer name="horizontalSpacer_3">
|
||
<property name="orientation">
|
||
<enum>Qt::Horizontal</enum>
|
||
</property>
|
||
<property name="sizeHint" stdset="0">
|
||
<size>
|
||
<width>40</width>
|
||
<height>20</height>
|
||
</size>
|
||
</property>
|
||
</spacer>
|
||
</item>
|
||
</layout>
|
||
</item>
|
||
<item row="2" column="0">
|
||
<widget class="QWidget" name="widget_3" native="true">
|
||
<layout class="QGridLayout" name="gridLayout_3">
|
||
<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>
|
||
<property name="spacing">
|
||
<number>0</number>
|
||
</property>
|
||
<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: rgb(196, 228, 255);
|
||
|
||
color: rgb(255, 255, 255);
|
||
|
||
}
|
||
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>
|
||
<item row="0" column="0">
|
||
<layout class="QHBoxLayout" name="horizontalLayout">
|
||
<property name="leftMargin">
|
||
<number>15</number>
|
||
</property>
|
||
<property name="rightMargin">
|
||
<number>15</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="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; /*</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);
|
||
color: rgb(0, 0, 0);</string>
|
||
</property>
|
||
<property name="text">
|
||
<string/>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<widget class="QPushButton" name="pushButton_3">
|
||
<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_11">
|
||
<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="QLabel" name="label_8">
|
||
<property name="text">
|
||
<string/>
|
||
</property>
|
||
<property name="pixmap">
|
||
<pixmap resource="img.qrc">:/new/icon/-.png</pixmap>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<spacer name="horizontalSpacer_12">
|
||
<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="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; /*</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);
|
||
color: rgb(0, 0, 0);</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>
|
||
<spacer name="horizontalSpacer_5">
|
||
<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;
|
||
font: bold 10pt ;
|
||
}
|
||
</string>
|
||
</property>
|
||
<property name="text">
|
||
<string>查询</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<spacer name="horizontalSpacer_18">
|
||
<property name="orientation">
|
||
<enum>Qt::Horizontal</enum>
|
||
</property>
|
||
<property name="sizeType">
|
||
<enum>QSizePolicy::Fixed</enum>
|
||
</property>
|
||
<property name="sizeHint" stdset="0">
|
||
<size>
|
||
<width>10</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 gray;</string>
|
||
</property>
|
||
<property name="text">
|
||
<string>重置</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<widget class="QLineEdit" name="lineEdit"/>
|
||
</item>
|
||
<item>
|
||
<widget class="QLineEdit" name="lineEdit_5"/>
|
||
</item>
|
||
<item>
|
||
<spacer name="horizontalSpacer">
|
||
<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="QPushButton" name="pushButton_2">
|
||
<property name="styleSheet">
|
||
<string notr="true">border-radius: 4px;
|
||
background-color: rgb(255, 255, 255);
|
||
border: 1px solid gray;</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>
|
||
</layout>
|
||
</item>
|
||
<item row="1" column="0">
|
||
<spacer name="verticalSpacer_2">
|
||
<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>5</height>
|
||
</size>
|
||
</property>
|
||
</spacer>
|
||
</item>
|
||
</layout>
|
||
</widget>
|
||
</item>
|
||
</layout>
|
||
</widget>
|
||
<resources>
|
||
<include location="img.qrc"/>
|
||
</resources>
|
||
<connections/>
|
||
</ui>
|