TG-PlatformPlus/ui/taskForm.ui

1610 lines
49 KiB
Plaintext
Raw Permalink Normal View History

2026-03-02 14:29:58 +08:00
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>taskForm</class>
<widget class="QWidget" name="taskForm">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>1996</width>
<height>1051</height>
</rect>
</property>
<property name="windowTitle">
<string>Form</string>
</property>
<property name="styleSheet">
<string notr="true">background-color: rgba(255, 255, 255, 0);</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<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(0, 0, 0, 0)</string>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="handleWidth">
<number>11</number>
</property>
<property name="childrenCollapsible">
<bool>true</bool>
</property>
<widget class="QFrame" name="w1">
<property name="minimumSize">
<size>
<width>230</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>230</width>
<height>16777215</height>
</size>
</property>
<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>
<property name="frameShape">
<enum>QFrame::StyledPanel</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Raised</enum>
</property>
<layout class="QVBoxLayout" name="verticalLayout_2">
<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">
<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>21</number>
</property>
<property name="bottomMargin">
<number>16</number>
</property>
<item>
<widget class="QLabel" name="label">
<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">
<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="pbCreateGroup">
<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="pbDeleteGroup">
<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="tableViewTaskGroup">
<property name="styleSheet">
<string notr="true">QWidget {
background-color: #ffffff; /* 子部件的样式 */
border-radius: 0px;
}
QTableView {
background-color: #ffffff; /* 设置表格视图的背景颜色为浅灰色 */
alternate-background-color: #F8F9FA;
selection-color: #262626; /* 设置选中行的文本颜色为白色 */
}
QTableView::item:selected {
background-color: #D9D9D9;
}
QTableView QTableCornerButton::section { /*左上角的button样式*/
background-color: #F7F7F7; /*背景颜色与表头一致*/
border: 0px;
border-radius:0px;
}
QHeaderView::section:horizontal {
background-color: #F7F7F7; /* 设置表头的背景颜色为浅灰色 */
color: #8C8C8C; /* 设置表头的文本颜色为黑色 */
border: 0; /* 移除表头的边框 */
padding: 4px; /* 设置表头的内边距 */
}
QHeaderView::section:vertical {
background-color: #FFFFFF; /* 设置表头的背景颜色为浅灰色 */
color: #8C8C8C; /* 设置表头的文本颜色为黑色 */
border: 0; /* 移除表头的边框 */
padding: 4px; /* 设置表头的内边距 */
}
/* 垂直滚动条 */
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::DoubleClicked</set>
</property>
<property name="dragEnabled">
<bool>true</bool>
</property>
<property name="dragDropMode">
<enum>QAbstractItemView::DropOnly</enum>
</property>
<property name="defaultDropAction">
<enum>Qt::MoveAction</enum>
</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>
<property name="sortingEnabled">
<bool>true</bool>
</property>
<attribute name="verticalHeaderVisible">
<bool>true</bool>
</attribute>
<attribute name="verticalHeaderCascadingSectionResizes">
<bool>false</bool>
</attribute>
<attribute name="verticalHeaderHighlightSections">
<bool>false</bool>
</attribute>
</widget>
</item>
</layout>
</widget>
<widget class="QFrame" name="w2">
<property name="minimumSize">
<size>
<width>200</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>600</width>
<height>16777215</height>
</size>
</property>
<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>
<property name="frameShape">
<enum>QFrame::StyledPanel</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Raised</enum>
</property>
<layout class="QVBoxLayout" name="verticalLayout_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>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="pbExportTask">
<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/export.svg</normaloff>:/resource/export.svg</iconset>
</property>
<property name="iconSize">
<size>
<width>21</width>
<height>21</height>
</size>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pbCreateTask">
<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="pbCopyTask">
<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/copy.svg</normaloff>:/resource/copy.svg</iconset>
</property>
<property name="iconSize">
<size>
<width>21</width>
<height>21</height>
</size>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pbEditTask">
<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>
<item>
<widget class="QPushButton" name="pbEditTaskScript">
<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>编辑脚本Ctrl+T</string>
</property>
<property name="text">
<string/>
</property>
<property name="icon">
<iconset resource="res.qrc">
<normaloff>:/resource/cmd.svg</normaloff>:/resource/cmd.svg</iconset>
</property>
<property name="iconSize">
<size>
<width>21</width>
<height>21</height>
</size>
</property>
<property name="shortcut">
<string>Ctrl+T</string>
</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: #ffffff; /* 子部件的样式 */
border-radius: 0px;
}
QTableView {
background-color: #ffffff; /* 设置表格视图的背景颜色为浅灰色 */
alternate-background-color: #F8F9FA;
selection-color: #262626; /* 设置选中行的文本颜色为白色 */
}
QTableView::item:selected {
background-color: #D9D9D9;
}
QTableView QTableCornerButton::section { /*左上角的button样式*/
background-color: #F7F7F7; /*背景颜色与表头一致*/
border: 0px;
border-radius:0px;
}
QHeaderView::section:horizontal {
background-color: #F7F7F7; /* 设置表头的背景颜色为浅灰色 */
color: #8C8C8C; /* 设置表头的文本颜色为黑色 */
border: 0; /* 移除表头的边框 */
padding: 4px; /* 设置表头的内边距 */
}
QHeaderView::section:vertical {
background-color: #FFFFFF; /* 设置表头的背景颜色为浅灰色 */
color: #8C8C8C; /* 设置表头的文本颜色为黑色 */
border: 0; /* 移除表头的边框 */
padding: 4px; /* 设置表头的内边距 */
}
/* 垂直滚动条 */
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::DoubleClicked</set>
</property>
<property name="dragEnabled">
<bool>true</bool>
</property>
<property name="dragDropOverwriteMode">
<bool>false</bool>
</property>
<property name="dragDropMode">
<enum>QAbstractItemView::DragOnly</enum>
</property>
<property name="defaultDropAction">
<enum>Qt::CopyAction</enum>
</property>
<property name="alternatingRowColors">
<bool>true</bool>
</property>
<property name="selectionMode">
<enum>QAbstractItemView::ExtendedSelection</enum>
</property>
<property name="selectionBehavior">
<enum>QAbstractItemView::SelectRows</enum>
</property>
<property name="showGrid">
<bool>false</bool>
</property>
<property name="sortingEnabled">
<bool>true</bool>
</property>
<attribute name="horizontalHeaderVisible">
<bool>true</bool>
</attribute>
<attribute name="verticalHeaderVisible">
<bool>true</bool>
</attribute>
<attribute name="verticalHeaderHighlightSections">
<bool>true</bool>
</attribute>
<attribute name="verticalHeaderShowSortIndicator" stdset="0">
<bool>false</bool>
</attribute>
</widget>
</item>
</layout>
</widget>
<widget class="QFrame" name="w3">
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="frameShape">
<enum>QFrame::StyledPanel</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Raised</enum>
</property>
<layout class="QVBoxLayout" name="verticalLayout_5" stretch="7,3">
<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;
}
QComboBox {
color: #000000
}
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="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>25</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>
<item>
<widget class="QPushButton" name="pbEditScript">
<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>编辑脚本Ctrl+E</string>
</property>
<property name="text">
<string/>
</property>
<property name="icon">
<iconset resource="res.qrc">
<normaloff>:/resource/cmd.svg</normaloff>:/resource/cmd.svg</iconset>
</property>
<property name="iconSize">
<size>
<width>21</width>
<height>21</height>
</size>
</property>
<property name="shortcut">
<string>Ctrl+E</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pbInsertTask">
<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/addqueue.svg</normaloff>:/resource/addqueue.svg</iconset>
</property>
<property name="iconSize">
<size>
<width>21</width>
<height>21</height>
</size>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pbInsertInstruction">
<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="pbDeleteTaskDetail">
<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="pbSort">
<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/sort.svg</normaloff>:/resource/sort.svg</iconset>
</property>
<property name="iconSize">
<size>
<width>21</width>
<height>21</height>
</size>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pbUp">
<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/up.svg</normaloff>:/resource/up.svg</iconset>
</property>
<property name="iconSize">
<size>
<width>21</width>
<height>21</height>
</size>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pbDown">
<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/down.svg</normaloff>:/resource/down.svg</iconset>
</property>
<property name="iconSize">
<size>
<width>21</width>
<height>21</height>
</size>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pbSaveSort">
<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/ok.svg</normaloff>:/resource/ok.svg</iconset>
</property>
<property name="iconSize">
<size>
<width>21</width>
<height>21</height>
</size>
</property>
</widget>
</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 {
background-color: #FFFFFF; /* 设置表头的背景颜色为浅灰色 */
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="dragEnabled">
<bool>false</bool>
</property>
<property name="dragDropOverwriteMode">
<bool>true</bool>
</property>
<property name="dragDropMode">
<enum>QAbstractItemView::NoDragDrop</enum>
</property>
<property name="defaultDropAction">
<enum>Qt::MoveAction</enum>
</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="w3_2" native="true">
<property name="minimumSize">
<size>
<width>0</width>
<height>279</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>279</height>
</size>
</property>
<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_8">
<property name="leftMargin">
<number>16</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>16</number>
</property>
<property name="bottomMargin">
<number>10</number>
</property>
<item>
<layout class="QVBoxLayout" name="verticalLayout_12">
<property name="spacing">
<number>0</number>
</property>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_4">
<property name="spacing">
<number>15</number>
</property>
<property name="leftMargin">
<number>4</number>
</property>
<property name="topMargin">
<number>18</number>
</property>
<property name="bottomMargin">
<number>17</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_9">
<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="QWidget" name="widget_4" native="true">
<property name="minimumSize">
<size>
<width>0</width>
<height>1</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777214</width>
<height>1</height>
</size>
</property>
<property name="styleSheet">
<string notr="true">background-color: rgb(241, 241, 241);</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<widget class="QStackedWidget" name="stackedWidgetDescription">
<property name="currentIndex">
<number>1</number>
</property>
<widget class="QWidget" name="page1">
<layout class="QVBoxLayout" name="verticalLayout_7">
<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="QTextEdit" name="textEditDescription">
<property name="enabled">
<bool>false</bool>
</property>
<property name="styleSheet">
<string notr="true">
QTextEdit {
border-radius: 0px;
border-color: rgb(0, 0, 0);
background-color: rgb(248, 249, 250);
}</string>
</property>
</widget>
</item>
</layout>
</widget>
<widget class="QWidget" name="page2">
<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>0</number>
</property>
<item>
<widget class="QTreeView" name="treeViewDescription">
<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>
</widget>
</item>
</layout>
</widget>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
</widget>
</item>
</layout>
</widget>
<resources>
<include location="res.qrc"/>
</resources>
<connections/>
</ui>