382 lines
11 KiB
XML
382 lines
11 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
||
<ui version="4.0">
|
||
<class>addzhong</class>
|
||
<widget class="QWidget" name="addzhong">
|
||
<property name="geometry">
|
||
<rect>
|
||
<x>0</x>
|
||
<y>0</y>
|
||
<width>386</width>
|
||
<height>349</height>
|
||
</rect>
|
||
</property>
|
||
<property name="windowTitle">
|
||
<string>新增菌种</string>
|
||
</property>
|
||
<property name="styleSheet">
|
||
<string notr="true">QWidget{
|
||
border:transparent;
|
||
border-radius: 4px;
|
||
background-color: rgb(247, 247, 247)
|
||
|
||
}
|
||
QPushButton{
|
||
|
||
|
||
|
||
}
|
||
QLabel{
|
||
|
||
border:transparent;
|
||
}</string>
|
||
</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>
|
||
<item row="0" column="0">
|
||
<widget class="QFrame" name="frame">
|
||
<property name="styleSheet">
|
||
<string notr="true">border-radius: 12px;
|
||
border:transparent;
|
||
background-color: rgb(255, 255, 255);</string>
|
||
</property>
|
||
<property name="frameShape">
|
||
<enum>QFrame::StyledPanel</enum>
|
||
</property>
|
||
<property name="frameShadow">
|
||
<enum>QFrame::Raised</enum>
|
||
</property>
|
||
<layout class="QGridLayout" name="gridLayout_4">
|
||
<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="1" column="1">
|
||
<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>20</height>
|
||
</size>
|
||
</property>
|
||
</spacer>
|
||
</item>
|
||
<item row="2" column="0">
|
||
<spacer name="horizontalSpacer_2">
|
||
<property name="orientation">
|
||
<enum>Qt::Horizontal</enum>
|
||
</property>
|
||
<property name="sizeHint" stdset="0">
|
||
<size>
|
||
<width>81</width>
|
||
<height>20</height>
|
||
</size>
|
||
</property>
|
||
</spacer>
|
||
</item>
|
||
<item row="7" column="1">
|
||
<spacer name="verticalSpacer_3">
|
||
<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="3" column="2">
|
||
<spacer name="horizontalSpacer">
|
||
<property name="orientation">
|
||
<enum>Qt::Horizontal</enum>
|
||
</property>
|
||
<property name="sizeHint" stdset="0">
|
||
<size>
|
||
<width>81</width>
|
||
<height>20</height>
|
||
</size>
|
||
</property>
|
||
</spacer>
|
||
</item>
|
||
<item row="5" column="1">
|
||
<layout class="QHBoxLayout" name="horizontalLayout">
|
||
<item>
|
||
<spacer name="horizontalSpacer_6">
|
||
<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">
|
||
<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_5">
|
||
<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">background-color: rgb(255, 255, 255);
|
||
border: 1px solid rgb(175, 175, 175) ;
|
||
border-radius: 4px;</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>
|
||
</layout>
|
||
</item>
|
||
<item row="2" column="1" rowspan="2">
|
||
<layout class="QGridLayout" name="gridLayout">
|
||
<item row="0" column="0">
|
||
<widget class="QLabel" name="label">
|
||
<property name="styleSheet">
|
||
<string notr="true">font:12pt;</string>
|
||
</property>
|
||
<property name="text">
|
||
<string>项目名称:</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="0" column="1">
|
||
<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>真菌药敏试剂盒</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="1" column="0">
|
||
<widget class="QLabel" name="label_3">
|
||
<property name="styleSheet">
|
||
<string notr="true">font:12pt;</string>
|
||
</property>
|
||
<property name="text">
|
||
<string>菌属名称:</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="1" column="1">
|
||
<widget class="QComboBox" name="comboBox">
|
||
<property name="styleSheet">
|
||
<string notr="true">/*QCombobox主体*/
|
||
QComboBox{
|
||
border: 1px solid rgb(175, 175, 175) ;
|
||
border-radius: 2px;
|
||
|
||
}
|
||
/*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 row="2" column="0">
|
||
<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 row="2" column="1">
|
||
<widget class="QLineEdit" name="lineEdit_2">
|
||
<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>
|
||
</widget>
|
||
</item>
|
||
</layout>
|
||
</item>
|
||
<item row="4" column="1">
|
||
<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>20</height>
|
||
</size>
|
||
</property>
|
||
</spacer>
|
||
</item>
|
||
<item row="0" column="0" colspan="3">
|
||
<widget class="QWidget" name="widget" native="true">
|
||
<property name="styleSheet">
|
||
<string notr="true">QWidget{
|
||
border-top-left-radius: 12px;
|
||
border-top-right-radius: 12px;
|
||
color: rgb(0, 0, 0);
|
||
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)
|
||
|
||
);
|
||
border-bottom-left-radius: 0px;
|
||
|
||
border-top-left-radius: 12px;
|
||
border-top-right-radius: 12px;
|
||
border-bottom-right-radius: 0px;
|
||
}
|
||
QLabel{
|
||
background: transparent;
|
||
|
||
}
|
||
QPushButton{
|
||
|
||
background: transparent;
|
||
}</string>
|
||
</property>
|
||
<layout class="QGridLayout" name="gridLayout_2">
|
||
<property name="leftMargin">
|
||
<number>9</number>
|
||
</property>
|
||
<property name="bottomMargin">
|
||
<number>9</number>
|
||
</property>
|
||
<item row="0" column="0">
|
||
<widget class="QLabel" name="label_4">
|
||
<property name="styleSheet">
|
||
<string notr="true">font: bold 20px;
|
||
color: rgb(255, 255, 255);</string>
|
||
</property>
|
||
<property name="text">
|
||
<string>新增菌种</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="0" column="1">
|
||
<spacer name="horizontalSpacer_4">
|
||
<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>
|
||
</widget>
|
||
</item>
|
||
</layout>
|
||
</widget>
|
||
</item>
|
||
</layout>
|
||
</widget>
|
||
<resources/>
|
||
<connections/>
|
||
</ui>
|