TG-PlatformPlus/ui/projectForm.ui

1559 lines
48 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>projectForm</class>
<widget class="QWidget" name="projectForm">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>1301</width>
<height>763</height>
</rect>
</property>
<property name="windowTitle">
<string>Form</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_10">
<property name="leftMargin">
<number>10</number>
</property>
<property name="topMargin">
<number>12</number>
</property>
<property name="rightMargin">
<number>10</number>
</property>
<property name="bottomMargin">
<number>10</number>
</property>
<item>
<widget class="QSplitter" name="splitter">
<property name="styleSheet">
<string notr="true">background-color: rgba(255, 255, 255, 0);</string>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="handleWidth">
<number>11</number>
</property>
<widget class="QWidget" name="w3" native="true">
<property name="minimumSize">
<size>
<width>200</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>450</width>
<height>16777215</height>
</size>
</property>
<property name="styleSheet">
<string notr="true">background-color: rgba(255, 255, 255, 0);</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_9" stretch="6,0">
<property name="spacing">
<number>10</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="QWidget" name="widget" native="true">
<property name="styleSheet">
<string notr="true"> QWidget {
background-color: white; /* 子部件的样式 */
border-radius: 9px;
}
QWidget QPushButton {
subcontrol-origin: content; /* 设置子部件的原点为content */
border-radius: 2px;
}
QWidget QPushButton:hover {
subcontrol-origin: content;
background-color: rgb(240, 240, 240); /* 鼠标悬停时的背景颜色为红色 */
border-radius: 2px; /* 鼠标悬停时的边框为红色实线 */
}
QWidget QPushButton:pressed {
subcontrol-origin: content;
background-color: rgb(240, 240, 240); /* 按钮按下时的背景颜色为红色 */
border-radius: 2px; /* 按钮按下时的边框为红色实线 */
}
QToolTip {
background-color: #FFFFE0;
color: black;
border: 1px solid black;
padding: 5px;
border-radius: 3px;
opacity: 200;
}</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_3">
<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>10</number>
</property>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_2">
<property name="spacing">
<number>15</number>
</property>
<property name="leftMargin">
<number>20</number>
</property>
<property name="topMargin">
<number>18</number>
</property>
<property name="rightMargin">
<number>30</number>
</property>
<property name="bottomMargin">
<number>16</number>
</property>
<item>
<widget class="QLabel" name="label_2">
<property name="font">
<font>
<family>黑体</family>
<pointsize>18</pointsize>
<weight>75</weight>
<bold>true</bold>
</font>
</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>
<item>
<widget class="QPushButton" name="pbAdd">
<property name="minimumSize">
<size>
<width>21</width>
<height>21</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>21</width>
<height>21</height>
</size>
</property>
<property name="text">
<string/>
</property>
<property name="icon">
<iconset resource="res.qrc">
<normaloff>:/resource/add.svg</normaloff>:/resource/add.svg</iconset>
</property>
<property name="iconSize">
<size>
<width>21</width>
<height>21</height>
</size>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pbDelete">
<property name="minimumSize">
<size>
<width>21</width>
<height>21</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>21</width>
<height>21</height>
</size>
</property>
<property name="text">
<string/>
</property>
<property name="icon">
<iconset resource="res.qrc">
<normaloff>:/resource/remove.svg</normaloff>:/resource/remove.svg</iconset>
</property>
<property name="iconSize">
<size>
<width>21</width>
<height>21</height>
</size>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pbEdit">
<property name="minimumSize">
<size>
<width>21</width>
<height>21</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>21</width>
<height>21</height>
</size>
</property>
<property name="toolTip">
<string>编辑设备</string>
</property>
<property name="text">
<string/>
</property>
<property name="icon">
<iconset resource="res.qrc">
<normaloff>:/resource/edit.svg</normaloff>:/resource/edit.svg</iconset>
</property>
<property name="iconSize">
<size>
<width>21</width>
<height>21</height>
</size>
</property>
</widget>
</item>
</layout>
</item>
<item>
<widget class="QTableView" name="tableViewPro">
<property name="styleSheet">
<string notr="true"> QWidget {
background-color: white; /* 子部件的样式 */
border-radius: 1px;
}
QTableView {
background-color: #ffffff; /* 设置表格视图的背景颜色为浅灰色 */
alternate-background-color: #F8F9FA;
selection-color: #262626; /* 设置选中行的文本颜色为白色 */
}
QTableView::item:selected {
background-color: #D9D9D9;
}
QHeaderView::section:horizontal {
background-color: #F7F7F7; /* 设置表头的背景颜色为浅灰色 */
color: #8C8C8C; /* 设置表头的文本颜色为黑色 */
border: 0; /* 移除表头的边框 */
padding: 4px; /* 设置表头的内边距 */
}
QHeaderView::section:vertical {
border: 0; /* 移除表头的边框 */
}
/* 垂直滚动条 */
QScrollBar:vertical {
background: transparent; /* 滚动条背景透明[1,2](@ref) */
width: 8px; /* 默认宽度 */
border: none; /* 去除边框[2](@ref) */
margin: 0px 0px 0px 0px; /* 边距清零 */
}
/* 水平滚动条 */
QScrollBar:horizontal {
background: transparent;
height: 8px;
border: none;
margin: 0px 0px 0px 0px;
}
/* 滑块通用样式 */
QScrollBar::handle:vertical,
QScrollBar::handle:horizontal {
background: #DDDDDD; /* 浅灰色滑块[1](@ref) */
border-radius: 4px; /* 圆角效果[2](@ref) */
min-height: 20px; /* 最小高度 */
min-width: 20px; /* 最小宽度 */
margin: 2px; /* 边距留白 */
}
/* 悬停时滑块样式 */
QScrollBar::handle:vertical:hover,
QScrollBar::handle:horizontal:hover {
background: #AAAAAA; /* 加深颜色[1](@ref) */
}
/* 隐藏上下箭头 */
QScrollBar::sub-line,
QScrollBar::add-line {
width: 0; /* 通过宽度清零隐藏箭头[1](@ref) */
height: 0;
border: none;
}
/* 滚动条背景区域样式 */
QScrollBar::add-page:vertical,
QScrollBar::sub-page:vertical,
QScrollBar::add-page:horizontal,
QScrollBar::sub-page:horizontal {
background: rgba(0,0,0,0); /* 完全透明背景[3](@ref) */
}</string>
</property>
<property name="editTriggers">
<set>QAbstractItemView::NoEditTriggers</set>
</property>
<property name="alternatingRowColors">
<bool>true</bool>
</property>
<property name="selectionMode">
<enum>QAbstractItemView::SingleSelection</enum>
</property>
<property name="selectionBehavior">
<enum>QAbstractItemView::SelectRows</enum>
</property>
<property name="showGrid">
<bool>false</bool>
</property>
<attribute name="verticalHeaderVisible">
<bool>false</bool>
</attribute>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QWidget" name="widget" native="true">
<property name="styleSheet">
<string notr="true"> QWidget {
background-color: white; /* 子部件的样式 */
border-radius: 9px;
}
QWidget QPushButton {
subcontrol-origin: content; /* 设置子部件的原点为content */
border-radius: 2px;
}
QWidget QPushButton:hover {
subcontrol-origin: content;
background-color: rgb(240, 240, 240); /* 鼠标悬停时的背景颜色为红色 */
border-radius: 2px; /* 鼠标悬停时的边框为红色实线 */
}
QWidget QPushButton:pressed {
subcontrol-origin: content;
background-color: rgb(240, 240, 240); /* 按钮按下时的背景颜色为红色 */
border-radius: 2px; /* 按钮按下时的边框为红色实线 */
}
</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_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>10</number>
</property>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_3">
<property name="spacing">
<number>15</number>
</property>
<property name="leftMargin">
<number>20</number>
</property>
<property name="topMargin">
<number>18</number>
</property>
<property name="rightMargin">
<number>30</number>
</property>
<property name="bottomMargin">
<number>16</number>
</property>
<item>
<widget class="QLabel" name="label_3">
<property name="font">
<font>
<family>黑体</family>
<pointsize>18</pointsize>
<weight>75</weight>
<bold>true</bold>
</font>
</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>
<widget class="QTreeView" name="treeViewFile">
<property name="styleSheet">
<string notr="true"> QWidget {
background-color: white; /* 子部件的样式 */
border-radius: 1px;
}
QTreeView {
background-color: #ffffff; /* 设置表格视图的背景颜色为浅灰色 */
alternate-background-color: #F8F9FA;
selection-color: #262626; /* 设置选中行的文本颜色为白色 */
}
QTreeView::item:selected {
background-color: #D9D9D9;
}
QHeaderView::section:horizontal {
background-color: #F7F7F7; /* 设置表头的背景颜色为浅灰色 */
color: #8C8C8C; /* 设置表头的文本颜色为黑色 */
border: 0; /* 移除表头的边框 */
padding: 4px; /* 设置表头的内边距 */
}
QHeaderView::section:vertical {
border: 0; /* 移除表头的边框 */
}
/* 垂直滚动条 */
QScrollBar:vertical {
background: transparent; /* 滚动条背景透明[1,2](@ref) */
width: 8px; /* 默认宽度 */
border: none; /* 去除边框[2](@ref) */
margin: 0px 0px 0px 0px; /* 边距清零 */
}
/* 水平滚动条 */
QScrollBar:horizontal {
background: transparent;
height: 8px;
border: none;
margin: 0px 0px 0px 0px;
}
/* 滑块通用样式 */
QScrollBar::handle:vertical,
QScrollBar::handle:horizontal {
background: #DDDDDD; /* 浅灰色滑块[1](@ref) */
border-radius: 4px; /* 圆角效果[2](@ref) */
min-height: 20px; /* 最小高度 */
min-width: 20px; /* 最小宽度 */
margin: 2px; /* 边距留白 */
}
/* 悬停时滑块样式 */
QScrollBar::handle:vertical:hover,
QScrollBar::handle:horizontal:hover {
background: #AAAAAA; /* 加深颜色[1](@ref) */
}
/* 隐藏上下箭头 */
QScrollBar::sub-line,
QScrollBar::add-line {
width: 0; /* 通过宽度清零隐藏箭头[1](@ref) */
height: 0;
border: none;
}
/* 滚动条背景区域样式 */
QScrollBar::add-page:vertical,
QScrollBar::sub-page:vertical,
QScrollBar::add-page:horizontal,
QScrollBar::sub-page:horizontal {
background: rgba(0,0,0,0); /* 完全透明背景[3](@ref) */
}</string>
</property>
<property name="alternatingRowColors">
<bool>true</bool>
</property>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
<widget class="QWidget" name="w2" native="true">
<property name="minimumSize">
<size>
<width>200</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>500</width>
<height>16777215</height>
</size>
</property>
<property name="styleSheet">
<string notr="true">background-color: rgba(255, 255, 255, 0);</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_8" stretch="4,6">
<property name="spacing">
<number>10</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="QWidget" name="widget" native="true">
<property name="styleSheet">
<string notr="true"> QWidget {
background-color: white; /* 子部件的样式 */
border-radius: 9px;
}
QWidget QPushButton {
subcontrol-origin: content; /* 设置子部件的原点为content */
border-radius: 2px;
}
QWidget QPushButton:hover {
subcontrol-origin: content;
background-color: rgb(240, 240, 240); /* 鼠标悬停时的背景颜色为红色 */
border-radius: 2px; /* 鼠标悬停时的边框为红色实线 */
}
QWidget QPushButton:pressed {
subcontrol-origin: content;
background-color: rgb(240, 240, 240); /* 按钮按下时的背景颜色为红色 */
border-radius: 2px; /* 按钮按下时的边框为红色实线 */
}
QToolTip {
background-color: #FFFFE0;
color: black;
border: 1px solid black;
padding: 5px;
border-radius: 3px;
opacity: 200;
}</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<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>10</number>
</property>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_4">
<property name="spacing">
<number>15</number>
</property>
<property name="leftMargin">
<number>20</number>
</property>
<property name="topMargin">
<number>18</number>
</property>
<property name="rightMargin">
<number>30</number>
</property>
<property name="bottomMargin">
<number>16</number>
</property>
<item>
<widget class="QLabel" name="label_4">
<property name="font">
<font>
<family>黑体</family>
<pointsize>18</pointsize>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text">
<string>属性</string>
</property>
</widget>
</item>
<item>
<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>
<item>
<widget class="QPushButton" name="pbAddProperty">
<property name="minimumSize">
<size>
<width>21</width>
<height>21</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>21</width>
<height>21</height>
</size>
</property>
<property name="toolTip">
<string>添加属性</string>
</property>
<property name="text">
<string/>
</property>
<property name="icon">
<iconset resource="res.qrc">
<normaloff>:/resource/add.svg</normaloff>:/resource/add.svg</iconset>
</property>
<property name="iconSize">
<size>
<width>21</width>
<height>21</height>
</size>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pbDeleteProperty">
<property name="minimumSize">
<size>
<width>21</width>
<height>21</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>21</width>
<height>21</height>
</size>
</property>
<property name="toolTip">
<string>删除属性</string>
</property>
<property name="text">
<string/>
</property>
<property name="icon">
<iconset resource="res.qrc">
<normaloff>:/resource/remove.svg</normaloff>:/resource/remove.svg</iconset>
</property>
<property name="iconSize">
<size>
<width>21</width>
<height>21</height>
</size>
</property>
</widget>
</item>
</layout>
</item>
<item>
<widget class="QTableView" name="tableViewProperty">
<property name="styleSheet">
<string notr="true"> QWidget {
background-color: white; /* 子部件的样式 */
border-radius: 1px;
}
QTableView {
background-color: #ffffff; /* 设置表格视图的背景颜色为浅灰色 */
alternate-background-color: #F8F9FA;
selection-color: #262626; /* 设置选中行的文本颜色为白色 */
}
QTableView::item:selected {
background-color: #D9D9D9;
}
QHeaderView::section:horizontal {
background-color: #F7F7F7; /* 设置表头的背景颜色为浅灰色 */
color: #8C8C8C; /* 设置表头的文本颜色为黑色 */
border: 0; /* 移除表头的边框 */
padding: 4px; /* 设置表头的内边距 */
}
QHeaderView::section:vertical {
border: 0; /* 移除表头的边框 */
}
/* 垂直滚动条 */
QScrollBar:vertical {
background: transparent; /* 滚动条背景透明[1,2](@ref) */
width: 8px; /* 默认宽度 */
border: none; /* 去除边框[2](@ref) */
margin: 0px 0px 0px 0px; /* 边距清零 */
}
/* 水平滚动条 */
QScrollBar:horizontal {
background: transparent;
height: 8px;
border: none;
margin: 0px 0px 0px 0px;
}
/* 滑块通用样式 */
QScrollBar::handle:vertical,
QScrollBar::handle:horizontal {
background: #DDDDDD; /* 浅灰色滑块[1](@ref) */
border-radius: 4px; /* 圆角效果[2](@ref) */
min-height: 20px; /* 最小高度 */
min-width: 20px; /* 最小宽度 */
margin: 2px; /* 边距留白 */
}
/* 悬停时滑块样式 */
QScrollBar::handle:vertical:hover,
QScrollBar::handle:horizontal:hover {
background: #AAAAAA; /* 加深颜色[1](@ref) */
}
/* 隐藏上下箭头 */
QScrollBar::sub-line,
QScrollBar::add-line {
width: 0; /* 通过宽度清零隐藏箭头[1](@ref) */
height: 0;
border: none;
}
/* 滚动条背景区域样式 */
QScrollBar::add-page:vertical,
QScrollBar::sub-page:vertical,
QScrollBar::add-page:horizontal,
QScrollBar::sub-page:horizontal {
background: rgba(0,0,0,0); /* 完全透明背景[3](@ref) */
}</string>
</property>
<property name="horizontalScrollBarPolicy">
<enum>Qt::ScrollBarAsNeeded</enum>
</property>
<property name="tabKeyNavigation">
<bool>true</bool>
</property>
<property name="showDropIndicator" stdset="0">
<bool>true</bool>
</property>
<property name="alternatingRowColors">
<bool>true</bool>
</property>
<property name="selectionMode">
<enum>QAbstractItemView::SingleSelection</enum>
</property>
<property name="selectionBehavior">
<enum>QAbstractItemView::SelectRows</enum>
</property>
<property name="showGrid">
<bool>false</bool>
</property>
<attribute name="verticalHeaderVisible">
<bool>false</bool>
</attribute>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QWidget" name="widget" native="true">
<property name="styleSheet">
<string notr="true"> QWidget {
background-color: white; /* 子部件的样式 */
border-radius: 9px;
}
QWidget QPushButton {
subcontrol-origin: content; /* 设置子部件的原点为content */
border-radius: 2px;
}
QWidget QPushButton:hover {
subcontrol-origin: content;
background-color: rgb(240, 240, 240); /* 鼠标悬停时的背景颜色为红色 */
border-radius: 2px; /* 鼠标悬停时的边框为红色实线 */
}
QWidget QPushButton:pressed {
subcontrol-origin: content;
background-color: rgb(240, 240, 240); /* 按钮按下时的背景颜色为红色 */
border-radius: 2px; /* 按钮按下时的边框为红色实线 */
}
</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_6">
<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>10</number>
</property>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_5">
<property name="spacing">
<number>15</number>
</property>
<property name="leftMargin">
<number>20</number>
</property>
<property name="topMargin">
<number>18</number>
</property>
<property name="rightMargin">
<number>30</number>
</property>
<property name="bottomMargin">
<number>16</number>
</property>
<item>
<widget class="QLabel" name="label_5">
<property name="font">
<font>
<family>黑体</family>
<pointsize>18</pointsize>
<weight>75</weight>
<bold>true</bold>
</font>
</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>
</layout>
</item>
<item>
<widget class="QTableView" name="tableViewHistory">
<property name="styleSheet">
<string notr="true"> QWidget {
background-color: white; /* 子部件的样式 */
border-radius: 1px;
}
QTableView {
background-color: #ffffff; /* 设置表格视图的背景颜色为浅灰色 */
alternate-background-color: #F8F9FA;
selection-color: #262626; /* 设置选中行的文本颜色为白色 */
}
QTableView::item:selected {
background-color: #D9D9D9;
}
QHeaderView::section:horizontal {
background-color: #F7F7F7; /* 设置表头的背景颜色为浅灰色 */
color: #8C8C8C; /* 设置表头的文本颜色为黑色 */
border: 0; /* 移除表头的边框 */
padding: 4px; /* 设置表头的内边距 */
}
QHeaderView::section:vertical {
border: 0; /* 移除表头的边框 */
}
/* 垂直滚动条 */
QScrollBar:vertical {
background: transparent; /* 滚动条背景透明[1,2](@ref) */
width: 8px; /* 默认宽度 */
border: none; /* 去除边框[2](@ref) */
margin: 0px 0px 0px 0px; /* 边距清零 */
}
/* 水平滚动条 */
QScrollBar:horizontal {
background: transparent;
height: 8px;
border: none;
margin: 0px 0px 0px 0px;
}
/* 滑块通用样式 */
QScrollBar::handle:vertical,
QScrollBar::handle:horizontal {
background: #DDDDDD; /* 浅灰色滑块[1](@ref) */
border-radius: 4px; /* 圆角效果[2](@ref) */
min-height: 20px; /* 最小高度 */
min-width: 20px; /* 最小宽度 */
margin: 2px; /* 边距留白 */
}
/* 悬停时滑块样式 */
QScrollBar::handle:vertical:hover,
QScrollBar::handle:horizontal:hover {
background: #AAAAAA; /* 加深颜色[1](@ref) */
}
/* 隐藏上下箭头 */
QScrollBar::sub-line,
QScrollBar::add-line {
width: 0; /* 通过宽度清零隐藏箭头[1](@ref) */
height: 0;
border: none;
}
/* 滚动条背景区域样式 */
QScrollBar::add-page:vertical,
QScrollBar::sub-page:vertical,
QScrollBar::add-page:horizontal,
QScrollBar::sub-page:horizontal {
background: rgba(0,0,0,0); /* 完全透明背景[3](@ref) */
}</string>
</property>
<property name="horizontalScrollBarPolicy">
<enum>Qt::ScrollBarAsNeeded</enum>
</property>
<property name="editTriggers">
<set>QAbstractItemView::NoEditTriggers</set>
</property>
<property name="alternatingRowColors">
<bool>true</bool>
</property>
<property name="selectionMode">
<enum>QAbstractItemView::SingleSelection</enum>
</property>
<property name="selectionBehavior">
<enum>QAbstractItemView::SelectRows</enum>
</property>
<property name="showGrid">
<bool>false</bool>
</property>
<attribute name="verticalHeaderVisible">
<bool>false</bool>
</attribute>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
<widget class="QWidget" name="w1" native="true">
<property name="styleSheet">
<string notr="true">background-color: rgba(255, 255, 255, 0);</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_7" stretch="4,6">
<property name="spacing">
<number>10</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="QWidget" name="widget" native="true">
<property name="styleSheet">
<string notr="true"> QWidget {
background-color: white; /* 子部件的样式 */
border-radius: 9px;
}
QWidget QPushButton {
subcontrol-origin: content; /* 设置子部件的原点为content */
border-radius: 2px;
}
QWidget QPushButton:hover {
subcontrol-origin: content;
background-color: rgb(240, 240, 240); /* 鼠标悬停时的背景颜色为红色 */
border-radius: 2px; /* 鼠标悬停时的边框为红色实线 */
}
QWidget QPushButton:pressed {
subcontrol-origin: content;
background-color: rgb(240, 240, 240); /* 按钮按下时的背景颜色为红色 */
border-radius: 2px; /* 按钮按下时的边框为红色实线 */
}
QToolTip {
background-color: #FFFFE0;
color: black;
border: 1px solid black;
padding: 5px;
border-radius: 3px;
opacity: 200;
}</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_2">
<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>10</number>
</property>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_7">
<property name="spacing">
<number>15</number>
</property>
<property name="leftMargin">
<number>20</number>
</property>
<property name="topMargin">
<number>18</number>
</property>
<property name="rightMargin">
<number>30</number>
</property>
<property name="bottomMargin">
<number>16</number>
</property>
<item>
<widget class="QLabel" name="label_7">
<property name="font">
<font>
<family>黑体</family>
<pointsize>18</pointsize>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text">
<string>测试用例</string>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer_7">
<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="pbInserTask">
<property name="minimumSize">
<size>
<width>21</width>
<height>21</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>21</width>
<height>21</height>
</size>
</property>
<property name="toolTip">
<string>创建</string>
</property>
<property name="text">
<string/>
</property>
<property name="icon">
<iconset resource="res.qrc">
<normaloff>:/resource/add.svg</normaloff>:/resource/add.svg</iconset>
</property>
<property name="iconSize">
<size>
<width>21</width>
<height>21</height>
</size>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pbDeleteTask">
<property name="minimumSize">
<size>
<width>21</width>
<height>21</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>21</width>
<height>21</height>
</size>
</property>
<property name="toolTip">
<string>删除</string>
</property>
<property name="text">
<string/>
</property>
<property name="icon">
<iconset resource="res.qrc">
<normaloff>:/resource/remove.svg</normaloff>:/resource/remove.svg</iconset>
</property>
<property name="iconSize">
<size>
<width>21</width>
<height>21</height>
</size>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pbStartTask">
<property name="minimumSize">
<size>
<width>21</width>
<height>21</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>21</width>
<height>21</height>
</size>
</property>
<property name="toolTip">
<string>运行</string>
</property>
<property name="text">
<string/>
</property>
<property name="icon">
<iconset resource="res.qrc">
<normaloff>:/resource/run.svg</normaloff>:/resource/run.svg</iconset>
</property>
<property name="iconSize">
<size>
<width>21</width>
<height>21</height>
</size>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pbStopTask">
<property name="minimumSize">
<size>
<width>21</width>
<height>21</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>21</width>
<height>21</height>
</size>
</property>
<property name="toolTip">
<string>停止</string>
</property>
<property name="text">
<string/>
</property>
<property name="icon">
<iconset resource="res.qrc">
<normaloff>:/resource/stop.svg</normaloff>:/resource/stop.svg</iconset>
</property>
<property name="iconSize">
<size>
<width>21</width>
<height>21</height>
</size>
</property>
</widget>
</item>
</layout>
</item>
<item>
<widget class="QTableView" name="tableViewTask">
<property name="styleSheet">
<string notr="true"> QWidget {
background-color: white; /* 子部件的样式 */
border-radius: 1px;
}
QTableView {
background-color: #ffffff; /* 设置表格视图的背景颜色为浅灰色 */
alternate-background-color: #F8F9FA;
selection-color: #262626; /* 设置选中行的文本颜色为白色 */
}
QTableView::item:selected {
background-color: #D9D9D9;
}
QHeaderView::section:horizontal {
background-color: #F7F7F7; /* 设置表头的背景颜色为浅灰色 */
color: #8C8C8C; /* 设置表头的文本颜色为黑色 */
border: 0; /* 移除表头的边框 */
padding: 4px; /* 设置表头的内边距 */
}
QHeaderView::section:vertical {
border: 0; /* 移除表头的边框 */
}
/* 垂直滚动条 */
QScrollBar:vertical {
background: transparent; /* 滚动条背景透明[1,2](@ref) */
width: 8px; /* 默认宽度 */
border: none; /* 去除边框[2](@ref) */
margin: 0px 0px 0px 0px; /* 边距清零 */
}
/* 水平滚动条 */
QScrollBar:horizontal {
background: transparent;
height: 8px;
border: none;
margin: 0px 0px 0px 0px;
}
/* 滑块通用样式 */
QScrollBar::handle:vertical,
QScrollBar::handle:horizontal {
background: #DDDDDD; /* 浅灰色滑块[1](@ref) */
border-radius: 4px; /* 圆角效果[2](@ref) */
min-height: 20px; /* 最小高度 */
min-width: 20px; /* 最小宽度 */
margin: 2px; /* 边距留白 */
}
/* 悬停时滑块样式 */
QScrollBar::handle:vertical:hover,
QScrollBar::handle:horizontal:hover {
background: #AAAAAA; /* 加深颜色[1](@ref) */
}
/* 隐藏上下箭头 */
QScrollBar::sub-line,
QScrollBar::add-line {
width: 0; /* 通过宽度清零隐藏箭头[1](@ref) */
height: 0;
border: none;
}
/* 滚动条背景区域样式 */
QScrollBar::add-page:vertical,
QScrollBar::sub-page:vertical,
QScrollBar::add-page:horizontal,
QScrollBar::sub-page:horizontal {
background: rgba(0,0,0,0); /* 完全透明背景[3](@ref) */
}</string>
</property>
<property name="horizontalScrollBarPolicy">
<enum>Qt::ScrollBarAsNeeded</enum>
</property>
<property name="editTriggers">
<set>QAbstractItemView::DoubleClicked</set>
</property>
<property name="tabKeyNavigation">
<bool>true</bool>
</property>
<property name="showDropIndicator" stdset="0">
<bool>true</bool>
</property>
<property name="alternatingRowColors">
<bool>true</bool>
</property>
<property name="selectionMode">
<enum>QAbstractItemView::MultiSelection</enum>
</property>
<property name="selectionBehavior">
<enum>QAbstractItemView::SelectRows</enum>
</property>
<property name="showGrid">
<bool>false</bool>
</property>
<attribute name="verticalHeaderVisible">
<bool>false</bool>
</attribute>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QWidget" name="widget" native="true">
<property name="styleSheet">
<string notr="true"> QWidget {
background-color: white; /* 子部件的样式 */
border-radius: 9px;
}
QWidget QPushButton {
subcontrol-origin: content; /* 设置子部件的原点为content */
border-radius: 2px;
}
QWidget QPushButton:hover {
subcontrol-origin: content;
background-color: rgb(240, 240, 240); /* 鼠标悬停时的背景颜色为红色 */
border-radius: 2px; /* 鼠标悬停时的边框为红色实线 */
}
QWidget QPushButton:pressed {
subcontrol-origin: content;
background-color: rgb(240, 240, 240); /* 按钮按下时的背景颜色为红色 */
border-radius: 2px; /* 按钮按下时的边框为红色实线 */
}
QComboBox::drop-down {
border: none
}
QComboBox::down-arrow {
image: url(:/resource/dropdown.svg);
width: 18px;
height: 18px;
}</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_4">
<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>10</number>
</property>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_8">
<property name="spacing">
<number>15</number>
</property>
<property name="leftMargin">
<number>20</number>
</property>
<property name="topMargin">
<number>18</number>
</property>
<property name="rightMargin">
<number>30</number>
</property>
<property name="bottomMargin">
<number>16</number>
</property>
<item>
<widget class="QLabel" name="label_8">
<property name="font">
<font>
<family>黑体</family>
<pointsize>18</pointsize>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text">
<string>用例功能</string>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer_8">
<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>
<widget class="QTableView" name="tableViewTaskDetail">
<property name="styleSheet">
<string notr="true"> QWidget {
background-color: white; /* 子部件的样式 */
border-radius: 1px;
}
QTableView {
background-color: #ffffff; /* 设置表格视图的背景颜色为浅灰色 */
alternate-background-color: #F8F9FA;
selection-color: #262626; /* 设置选中行的文本颜色为白色 */
}
QTableView::item:selected {
background-color: #D9D9D9;
}
QHeaderView::section:horizontal {
background-color: #F7F7F7; /* 设置表头的背景颜色为浅灰色 */
color: #8C8C8C; /* 设置表头的文本颜色为黑色 */
border: 0; /* 移除表头的边框 */
padding: 4px; /* 设置表头的内边距 */
}
QHeaderView::section:vertical {
border: 0; /* 移除表头的边框 */
}
/* 垂直滚动条 */
QScrollBar:vertical {
background: transparent; /* 滚动条背景透明[1,2](@ref) */
width: 8px; /* 默认宽度 */
border: none; /* 去除边框[2](@ref) */
margin: 0px 0px 0px 0px; /* 边距清零 */
}
/* 水平滚动条 */
QScrollBar:horizontal {
background: transparent;
height: 8px;
border: none;
margin: 0px 0px 0px 0px;
}
/* 滑块通用样式 */
QScrollBar::handle:vertical,
QScrollBar::handle:horizontal {
background: #DDDDDD; /* 浅灰色滑块[1](@ref) */
border-radius: 4px; /* 圆角效果[2](@ref) */
min-height: 20px; /* 最小高度 */
min-width: 20px; /* 最小宽度 */
margin: 2px; /* 边距留白 */
}
/* 悬停时滑块样式 */
QScrollBar::handle:vertical:hover,
QScrollBar::handle:horizontal:hover {
background: #AAAAAA; /* 加深颜色[1](@ref) */
}
/* 隐藏上下箭头 */
QScrollBar::sub-line,
QScrollBar::add-line {
width: 0; /* 通过宽度清零隐藏箭头[1](@ref) */
height: 0;
border: none;
}
/* 滚动条背景区域样式 */
QScrollBar::add-page:vertical,
QScrollBar::sub-page:vertical,
QScrollBar::add-page:horizontal,
QScrollBar::sub-page:horizontal {
background: rgba(0,0,0,0); /* 完全透明背景[3](@ref) */
}</string>
</property>
<property name="editTriggers">
<set>QAbstractItemView::NoEditTriggers</set>
</property>
<property name="alternatingRowColors">
<bool>true</bool>
</property>
<property name="selectionMode">
<enum>QAbstractItemView::SingleSelection</enum>
</property>
<property name="selectionBehavior">
<enum>QAbstractItemView::SelectRows</enum>
</property>
<property name="showGrid">
<bool>false</bool>
</property>
<attribute name="verticalHeaderVisible">
<bool>false</bool>
</attribute>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
</widget>
</item>
</layout>
</widget>
<resources>
<include location="res.qrc"/>
</resources>
<connections/>
</ui>