367 lines
10 KiB
XML
367 lines
10 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
||
<ui version="4.0">
|
||
<class>addshu</class>
|
||
<widget class="QWidget" name="addshu">
|
||
<property name="geometry">
|
||
<rect>
|
||
<x>0</x>
|
||
<y>0</y>
|
||
<width>609</width>
|
||
<height>394</height>
|
||
</rect>
|
||
</property>
|
||
<property name="windowTitle">
|
||
<string>新增菌属</string>
|
||
</property>
|
||
<property name="styleSheet">
|
||
<string notr="true">border-top-left-radius: 12px;
|
||
border-top-right-radius: 12px;</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>
|
||
<property name="spacing">
|
||
<number>0</number>
|
||
</property>
|
||
<item row="0" column="0">
|
||
<widget class="QFrame" name="frame">
|
||
<property name="styleSheet">
|
||
<string notr="true"> border-radius: 12px;
|
||
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>
|
||
<property name="spacing">
|
||
<number>0</number>
|
||
</property>
|
||
<item row="1" column="3">
|
||
<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="2" colspan="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="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="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="2" column="1">
|
||
<widget class="QLineEdit" name="lineEdit_2">
|
||
<property name="styleSheet">
|
||
<string notr="true">QLineEdit {
|
||
border: 1px solid rgb(175, 175, 175) ; /* 设置1px宽的灰色实线边框 */
|
||
border-radius: 2px; /* 边框圆角半径为4像素,实现倒角效果 */
|
||
padding: 2px 4px; /* 可选,设置内部文字的内边距,这里示例上下2像素,左右4像素 */
|
||
}</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="1" column="1">
|
||
<spacer name="verticalSpacer_4">
|
||
<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>16</height>
|
||
</size>
|
||
</property>
|
||
</spacer>
|
||
</item>
|
||
</layout>
|
||
</item>
|
||
<item row="2" column="4">
|
||
<spacer name="horizontalSpacer_7">
|
||
<property name="orientation">
|
||
<enum>Qt::Horizontal</enum>
|
||
</property>
|
||
<property name="sizeHint" stdset="0">
|
||
<size>
|
||
<width>174</width>
|
||
<height>20</height>
|
||
</size>
|
||
</property>
|
||
</spacer>
|
||
</item>
|
||
<item row="3" column="2">
|
||
<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="5" column="1">
|
||
<spacer name="verticalSpacer_3">
|
||
<property name="orientation">
|
||
<enum>Qt::Vertical</enum>
|
||
</property>
|
||
<property name="sizeType">
|
||
<enum>QSizePolicy::Expanding</enum>
|
||
</property>
|
||
<property name="sizeHint" stdset="0">
|
||
<size>
|
||
<width>20</width>
|
||
<height>10</height>
|
||
</size>
|
||
</property>
|
||
</spacer>
|
||
</item>
|
||
<item row="4" column="0" colspan="5">
|
||
<layout class="QHBoxLayout" name="horizontalLayout">
|
||
<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>
|
||
<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">
|
||
<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_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="0" column="0" colspan="6">
|
||
<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_3">
|
||
<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>
|
||
<item row="2" column="0">
|
||
<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>
|
||
</layout>
|
||
</widget>
|
||
</item>
|
||
</layout>
|
||
</widget>
|
||
<resources/>
|
||
<connections>
|
||
<connection>
|
||
<sender>pushButton_2</sender>
|
||
<signal>clicked()</signal>
|
||
<receiver>addshu</receiver>
|
||
<slot>close()</slot>
|
||
<hints>
|
||
<hint type="sourcelabel">
|
||
<x>406</x>
|
||
<y>294</y>
|
||
</hint>
|
||
<hint type="destinationlabel">
|
||
<x>304</x>
|
||
<y>196</y>
|
||
</hint>
|
||
</hints>
|
||
</connection>
|
||
</connections>
|
||
</ui>
|