932 lines
28 KiB
Plaintext
Raw Normal View History

2025-07-17 08:39:15 +08:00
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>micjishu</class>
<widget class="QWidget" name="micjishu">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>3817</width>
<height>738</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="QHBoxLayout" name="horizontalLayout_5">
<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="QFrame" name="frame">
<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>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">
<layout class="QVBoxLayout" name="verticalLayout">
<property name="spacing">
<number>0</number>
</property>
<item>
<widget class="QWidget" name="widget_5" native="true">
<layout class="QHBoxLayout" name="horizontalLayout_3">
<property name="spacing">
<number>10</number>
</property>
<property name="leftMargin">
<number>30</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="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>
<property name="icon">
<iconset resource="img.qrc">
<normaloff>:/new/icon/Vector (2).png</normaloff>:/new/icon/Vector (2).png</iconset>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="checkBox">
<property name="styleSheet">
<string notr="true">QCheckBox {
color: black;
}
QCheckBox:checked {
color: rgb(0, 170, 255);
}</string>
</property>
<property name="text">
<string>上光源</string>
</property>
<property name="checked">
<bool>false</bool>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="checkBox_2">
<property name="styleSheet">
<string notr="true">QCheckBox {
color: black;
}
QCheckBox:checked {
color: rgb(0, 170, 255);
}</string>
</property>
<property name="text">
<string>下光源</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_15">
<property name="text">
<string/>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pushButton_10">
<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>
<widget class="QLabel" name="label_4">
<property name="styleSheet">
<string notr="true">font:10pt;</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 rgb(175, 175, 175) ; /* 设置1px宽的灰色实线边框 */
border-radius: 2px; /* 边框圆角半径为4像素实现倒角效果 */
padding: 2px 4px; /* 可选设置内部文字的内边距这里示例上下2像素左右4像素 */</string>
</property>
<property name="text">
<string/>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pushButton_8">
<property name="styleSheet">
<string notr="true">font:10pt;
border:transparent;
color: rgb(0, 170, 255);</string>
</property>
<property name="text">
<string>查看项目名称</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_3">
<property name="text">
<string/>
</property>
<property name="pixmap">
<pixmap resource="img.qrc">:/new/icon/shuxian.png</pixmap>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pushButton_6">
<property name="styleSheet">
<string notr="true">font:10pt;
border:transparent;
color: rgb(0, 170, 255);</string>
</property>
<property name="text">
<string>查看药物布局</string>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer_9">
<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="QLabel" name="label">
<property name="styleSheet">
<string notr="true">font:14px;
color: rgb(81, 89, 108);</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:14px;
color: rgb(81, 89, 108);
}
/*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>
<property name="iconSize">
<size>
<width>100</width>
<height>100</height>
</size>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer_10">
<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="QLabel" name="label_2">
<property name="styleSheet">
<string notr="true">font:14px;
color: rgb(81, 89, 108);</string>
</property>
<property name="text">
<string>菌种:</string>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="comboBox_2">
<property name="styleSheet">
<string notr="true">/*QCombobox主体*/
QComboBox{
border: 1px solid rgb(175, 175, 175) ;
border-radius: 2px;
font:14px;
color: rgb(81, 89, 108);
}
/*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>
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>1395</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QPushButton" name="pushButton_12">
<property name="minimumSize">
<size>
<width>92</width>
<height>35</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>92</width>
<height>35</height>
</size>
</property>
<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_2">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Fixed</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>15</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout">
<property name="spacing">
<number>2</number>
</property>
<item>
<widget class="cammer" name="widget" native="true">
<property name="styleSheet">
<string notr="true">background-color: rgb(0, 0, 0);</string>
</property>
</widget>
</item>
<item>
<layout class="QVBoxLayout" name="verticalLayout_2">
<property name="spacing">
<number>0</number>
</property>
<item>
<widget class="QLabel" name="label_6">
<property name="styleSheet">
<string notr="true">background-color: rgb(0, 0, 0);
font:20pt;
color: rgb(255, 255, 255);</string>
</property>
<property name="text">
<string/>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_5">
<property name="styleSheet">
<string notr="true">background-color: rgb(0, 0, 0);
</string>
</property>
<property name="text">
<string>TextLabel</string>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_4">
<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>320</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QPushButton" name="pushButton_5">
<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>
<property name="icon">
<iconset resource="img.qrc">
<normaloff>:/new/icon/Vector (3).png</normaloff>:/new/icon/Vector (3).png</iconset>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pushButton_2">
<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>
<property name="icon">
<iconset resource="img.qrc">
<normaloff>:/new/icon/Vector (3).png</normaloff>:/new/icon/Vector (3).png</iconset>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer_4">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Fixed</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>800</width>
<height>20</height>
</size>
</property>
</spacer>
</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>
<property name="icon">
<iconset resource="img.qrc">
<normaloff>:/new/icon/Frame (3).png</normaloff>:/new/icon/Frame (3).png</iconset>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pushButton_9">
<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>
<property name="icon">
<iconset resource="img.qrc">
<normaloff>:/new/icon/Frame (3).png</normaloff>:/new/icon/Frame (3).png</iconset>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer_6">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Fixed</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>320</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_2">
<property name="spacing">
<number>2</number>
</property>
<item>
<layout class="QVBoxLayout" name="verticalLayout_3">
<property name="spacing">
<number>0</number>
</property>
<item>
<widget class="QTableWidget" name="tableWidget">
<property name="styleSheet">
<string notr="true">
QTableWidget::item:selected { background-color: transparent;
color: rgb(0, 0, 0);
}
QTableWidget{border:transparent;}
QTableWidget::item:alternate{ background-color: rgba(229, 247, 255, 1); }
QHeaderView::section:horizontal:frist {
padding:3px;
margin:0px;
color:#FFFFFF;
font: bold 11pt &quot;微软雅黑&quot;;
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 &quot;微软雅黑&quot;;
background: rgb(77,199,255);
border-radius:0px;
}
QHeaderView::section:horizontal:last {
padding:3px;
margin:0px;
color:#FFFFFF;
font: bold 11pt &quot;微软雅黑&quot;;
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>
</item>
<item>
<layout class="QVBoxLayout" name="verticalLayout_4">
<property name="spacing">
<number>0</number>
</property>
<item>
<widget class="QTableWidget" name="tableWidget_2">
<property name="styleSheet">
<string notr="true">
QTableWidget::item:selected { background-color: transparent;
color: rgb(0, 0, 0);
}
QTableWidget{border:transparent;}
QTableWidget::item:alternate{ background-color: rgba(229, 247, 255, 1); }
QHeaderView::section:horizontal:frist {
padding:3px;
margin:0px;
color:#FFFFFF;
font: bold 11pt &quot;微软雅黑&quot;;
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 &quot;微软雅黑&quot;;
background: rgb(77,199,255);
border-radius:0px;
}
QHeaderView::section:horizontal:last {
padding:3px;
margin:0px;
color:#FFFFFF;
font: bold 11pt &quot;微软雅黑&quot;;
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>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_8">
<property name="spacing">
<number>0</number>
</property>
<item>
<widget class="QPushButton" name="pushButton_7">
<property name="text">
<string>PushButton</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_8">
<property name="text">
<string>TextLabel</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_9">
<property name="text">
<string>TextLabel</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_10">
<property name="text">
<string>TextLabel</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_11">
<property name="text">
<string>TextLabel</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_12">
<property name="text">
<string>TextLabel</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_7">
<property name="text">
<string>TextLabel</string>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QFrame" name="frame_2">
<property name="frameShape">
<enum>QFrame::StyledPanel</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Raised</enum>
</property>
<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="0" column="0">
<layout class="QGridLayout" name="gridLayout_2">
<property name="spacing">
<number>0</number>
</property>
<item row="5" column="0">
<spacer name="verticalSpacer_5">
<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>20</height>
</size>
</property>
</spacer>
</item>
<item row="1" column="0">
<widget class="QPushButton" name="pushButton_4">
<property name="text">
<string/>
</property>
<property name="icon">
<iconset resource="img.qrc">
<normaloff>:/new/icon/shang.png</normaloff>:/new/icon/shang.png</iconset>
</property>
<property name="iconSize">
<size>
<width>50</width>
<height>16</height>
</size>
</property>
</widget>
</item>
<item row="0" column="0">
<spacer name="verticalSpacer_6">
<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>20</height>
</size>
</property>
</spacer>
</item>
<item row="2" column="0" rowspan="2">
<widget class="QTableWidget" name="tableWidget_3">
<property name="styleSheet">
<string notr="true"> border: none;</string>
</property>
</widget>
</item>
<item row="4" column="0">
<widget class="QPushButton" name="pushButton_11">
<property name="text">
<string/>
</property>
<property name="icon">
<iconset resource="img.qrc">
<normaloff>:/new/icon/xia.png</normaloff>:/new/icon/xia.png</iconset>
</property>
<property name="iconSize">
<size>
<width>50</width>
<height>16</height>
</size>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
<customwidgets>
<customwidget>
<class>cammer</class>
<extends>QWidget</extends>
<header location="global">cammer.h</header>
<container>1</container>
</customwidget>
</customwidgets>
<resources>
<include location="img.qrc"/>
</resources>
<connections/>
</ui>