271 lines
6.7 KiB
XML
271 lines
6.7 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>historicalrecords</class>
|
|
<widget class="QWidget" name="historicalrecords">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>824</width>
|
|
<height>582</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>Form</string>
|
|
</property>
|
|
<layout class="QGridLayout" name="gridLayout_2">
|
|
<item row="0" column="0">
|
|
<widget class="QWidget" name="widget" native="true">
|
|
<property name="styleSheet">
|
|
<string notr="true">color: rgb(255, 255, 255);
|
|
background-color: rgb(85, 170, 255);</string>
|
|
</property>
|
|
<layout class="QGridLayout" name="gridLayout">
|
|
<item row="0" column="0">
|
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
|
<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="QLabel" name="label_3">
|
|
<property name="styleSheet">
|
|
<string notr="true">font: 20pt </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="sizeHint" stdset="0">
|
|
<size>
|
|
<width>40</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
|
<item>
|
|
<widget class="QLabel" name="label">
|
|
<property name="styleSheet">
|
|
<string notr="true">font: 16pt </string>
|
|
</property>
|
|
<property name="text">
|
|
<string>样品名称:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLineEdit" name="lineEdit">
|
|
<property name="styleSheet">
|
|
<string notr="true"> border: 1px solid rgba(74, 94, 226,0.7);
|
|
color: rgb(0, 0, 0);
|
|
border-radius: 7px;</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="pushButton">
|
|
<property name="styleSheet">
|
|
<string notr="true">QPushButton{
|
|
background-color:rgb(85, 170, 255);
|
|
color: white;
|
|
border-radius: 3px;
|
|
font: 16pt ;
|
|
}
|
|
|
|
QPushButton:hover{
|
|
background-color:rgba(85, 170, 255,0.5);
|
|
color: white;
|
|
border-radius: 3px;
|
|
font: 16pt ;
|
|
}
|
|
|
|
QPushButton:pressed{
|
|
color: white;
|
|
background-color:rgb(85, 170, 255);
|
|
border-radius: 3px;
|
|
font: 16pt ;
|
|
}
|
|
</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>查询</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="label_4">
|
|
<property name="styleSheet">
|
|
<string notr="true">font: 16pt </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 rgba(74, 94, 226,0.7);
|
|
color: rgb(0, 0, 0);
|
|
border-radius: 7px;</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="pushButton_4">
|
|
<property name="styleSheet">
|
|
<string notr="true">QPushButton{
|
|
background-color:rgb(85, 170, 255);
|
|
color: white;
|
|
border-radius: 3px;
|
|
font: 16pt ;
|
|
}
|
|
|
|
QPushButton:hover{
|
|
background-color:rgba(85, 170, 255,0.5);
|
|
color: white;
|
|
border-radius: 3px;
|
|
font: 16pt ;
|
|
}
|
|
|
|
QPushButton:pressed{
|
|
color: white;
|
|
background-color:rgb(85, 170, 255);
|
|
border-radius: 3px;
|
|
font: 16pt ;
|
|
}
|
|
</string>
|
|
</property>
|
|
<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>
|
|
<item>
|
|
<widget class="QPushButton" name="pushButton_3">
|
|
<property name="styleSheet">
|
|
<string notr="true">QPushButton{
|
|
background-color:rgb(85, 170, 255);
|
|
color: white;
|
|
border-radius: 3px;
|
|
font: 16pt ;
|
|
}
|
|
|
|
QPushButton:hover{
|
|
background-color:rgba(85, 170, 255,0.5);
|
|
color: white;
|
|
border-radius: 3px;
|
|
font: 16pt ;
|
|
}
|
|
|
|
QPushButton:pressed{
|
|
color: white;
|
|
background-color:rgb(85, 170, 255);
|
|
border-radius: 3px;
|
|
font: 16pt ;
|
|
}
|
|
</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>刷新</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="pushButton_2">
|
|
<property name="styleSheet">
|
|
<string notr="true">QPushButton{
|
|
background-color:rgb(85, 170, 255);
|
|
color: white;
|
|
border-radius: 3px;
|
|
font: 16pt ;
|
|
}
|
|
|
|
QPushButton:hover{
|
|
background-color:rgba(85, 170, 255,0.5);
|
|
color: white;
|
|
border-radius: 3px;
|
|
font: 16pt ;
|
|
}
|
|
|
|
QPushButton:pressed{
|
|
color: white;
|
|
background-color:rgb(85, 170, 255);
|
|
border-radius: 3px;
|
|
font: 16pt ;
|
|
}
|
|
</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>导出</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item row="2" column="0">
|
|
<widget class="QTableView" name="tableView">
|
|
<property name="styleSheet">
|
|
<string notr="true"> QTableView {
|
|
background-color: #f0f0f0; /* 背景色 */
|
|
gridline-color: #d0d0d0; /* 网格线颜色 */
|
|
selection-background-color: #a6ceff; /* 选择背景色 */
|
|
selection-color: black; /* 选择文字颜色 */
|
|
border: 1px solid #d0d0d0; /* 边框 */
|
|
}
|
|
|
|
QTableView::item {
|
|
padding: 5px; /* 单元格内边距 */
|
|
}
|
|
|
|
QHeaderView::section {
|
|
background-color: #e0e0e0; /* 表头背景色 */
|
|
color: black; /* 表头文字颜色 */
|
|
padding: 4px; /* 表头内边距 */
|
|
border: 1px solid #d0d0d0; /* 表头边框 */
|
|
} </string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<resources/>
|
|
<connections/>
|
|
</ui>
|