728 lines
24 KiB
Plaintext
728 lines
24 KiB
Plaintext
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|||
|
|
<ui version="4.0">
|
|||
|
|
<class>insertInstructionDlg</class>
|
|||
|
|
<widget class="QDialog" name="insertInstructionDlg">
|
|||
|
|
<property name="geometry">
|
|||
|
|
<rect>
|
|||
|
|
<x>0</x>
|
|||
|
|
<y>0</y>
|
|||
|
|
<width>1181</width>
|
|||
|
|
<height>718</height>
|
|||
|
|
</rect>
|
|||
|
|
</property>
|
|||
|
|
<property name="windowTitle">
|
|||
|
|
<string>Dialog</string>
|
|||
|
|
</property>
|
|||
|
|
<layout class="QVBoxLayout" name="verticalLayout_7">
|
|||
|
|
<item>
|
|||
|
|
<layout class="QHBoxLayout" name="horizontalLayout_5">
|
|||
|
|
<item>
|
|||
|
|
<layout class="QVBoxLayout" name="verticalLayout_6">
|
|||
|
|
<item>
|
|||
|
|
<widget class="QGroupBox" name="groupBox_4">
|
|||
|
|
<property name="title">
|
|||
|
|
<string>设备分组</string>
|
|||
|
|
</property>
|
|||
|
|
<layout class="QVBoxLayout" name="verticalLayout_5">
|
|||
|
|
<property name="leftMargin">
|
|||
|
|
<number>0</number>
|
|||
|
|
</property>
|
|||
|
|
<property name="topMargin">
|
|||
|
|
<number>2</number>
|
|||
|
|
</property>
|
|||
|
|
<property name="rightMargin">
|
|||
|
|
<number>0</number>
|
|||
|
|
</property>
|
|||
|
|
<property name="bottomMargin">
|
|||
|
|
<number>0</number>
|
|||
|
|
</property>
|
|||
|
|
<item>
|
|||
|
|
<layout class="QHBoxLayout" name="horizontalLayout_4">
|
|||
|
|
<item>
|
|||
|
|
<widget class="QLineEdit" name="leSearchDevGroup">
|
|||
|
|
<property name="inputMask">
|
|||
|
|
<string/>
|
|||
|
|
</property>
|
|||
|
|
<property name="text">
|
|||
|
|
<string/>
|
|||
|
|
</property>
|
|||
|
|
<property name="placeholderText">
|
|||
|
|
<string>请输入关键词查询</string>
|
|||
|
|
</property>
|
|||
|
|
</widget>
|
|||
|
|
</item>
|
|||
|
|
</layout>
|
|||
|
|
</item>
|
|||
|
|
<item>
|
|||
|
|
<widget class="QTableView" name="tableViewDevGroup">
|
|||
|
|
<property name="minimumSize">
|
|||
|
|
<size>
|
|||
|
|
<width>200</width>
|
|||
|
|
<height>0</height>
|
|||
|
|
</size>
|
|||
|
|
</property>
|
|||
|
|
<property name="maximumSize">
|
|||
|
|
<size>
|
|||
|
|
<width>200</width>
|
|||
|
|
<height>16777215</height>
|
|||
|
|
</size>
|
|||
|
|
</property>
|
|||
|
|
<property name="styleSheet">
|
|||
|
|
<string notr="true">
|
|||
|
|
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: #BFBFBF; /* 设置垂直滚动条的背景颜色为浅灰色 */
|
|||
|
|
width: 5px; /* 设置滚动条的宽度 */
|
|||
|
|
margin: 0px 0px 0px 0px; /* 设置滚动条的外边距 */
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QScrollBar::handle:vertical {
|
|||
|
|
background: #c0c0c0; /* 设置滚动条拖动手柄的背景颜色为灰色 */
|
|||
|
|
min-height: 34px; /* 设置滚动条拖动手柄的最小高度 */
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QScrollBar::add-line:vertical {
|
|||
|
|
height: 0px; /* 设置垂直滚动条向下箭头的高度为0,即不显示 */
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QScrollBar::sub-line:vertical {
|
|||
|
|
height: 0px; /* 设置垂直滚动条向上箭头的高度为0,即不显示 */
|
|||
|
|
}
|
|||
|
|
QScrollBar:horizontal {
|
|||
|
|
background: #BFBFBF; /* 设置横向滚动条的背景颜色为浅灰色 */
|
|||
|
|
height: 5px; /* 设置滚动条的高度 */
|
|||
|
|
margin: 0px 0px 0px 0px; /* 设置滚动条的外边距 */
|
|||
|
|
}
|
|||
|
|
QScrollBar::handle:horizontal {
|
|||
|
|
background: #c0c0c0; /* 设置滚动条拖动手柄的背景颜色为灰色 */
|
|||
|
|
min-width: 34px; /* 设置滚动条拖动手柄的最小宽度 */
|
|||
|
|
}
|
|||
|
|
QScrollBar::add-line:horizontal {
|
|||
|
|
width: 0px; /* 设置横向滚动条向右箭头的宽度为0,即不显示 */
|
|||
|
|
}
|
|||
|
|
QScrollBar::sub-line:horizontal {
|
|||
|
|
width: 0px; /* 设置横向滚动条向左箭头的宽度为0,即不显示 */
|
|||
|
|
}</string>
|
|||
|
|
</property>
|
|||
|
|
<property name="editTriggers">
|
|||
|
|
<set>QAbstractItemView::NoEditTriggers</set>
|
|||
|
|
</property>
|
|||
|
|
<property name="dragDropOverwriteMode">
|
|||
|
|
<bool>false</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>
|
|||
|
|
<property name="sortingEnabled">
|
|||
|
|
<bool>true</bool>
|
|||
|
|
</property>
|
|||
|
|
<attribute name="horizontalHeaderVisible">
|
|||
|
|
<bool>false</bool>
|
|||
|
|
</attribute>
|
|||
|
|
<attribute name="verticalHeaderVisible">
|
|||
|
|
<bool>false</bool>
|
|||
|
|
</attribute>
|
|||
|
|
<attribute name="verticalHeaderHighlightSections">
|
|||
|
|
<bool>false</bool>
|
|||
|
|
</attribute>
|
|||
|
|
</widget>
|
|||
|
|
</item>
|
|||
|
|
</layout>
|
|||
|
|
</widget>
|
|||
|
|
</item>
|
|||
|
|
<item>
|
|||
|
|
<widget class="QGroupBox" name="groupBox">
|
|||
|
|
<property name="title">
|
|||
|
|
<string>设备</string>
|
|||
|
|
</property>
|
|||
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|||
|
|
<property name="leftMargin">
|
|||
|
|
<number>0</number>
|
|||
|
|
</property>
|
|||
|
|
<property name="topMargin">
|
|||
|
|
<number>2</number>
|
|||
|
|
</property>
|
|||
|
|
<property name="rightMargin">
|
|||
|
|
<number>0</number>
|
|||
|
|
</property>
|
|||
|
|
<property name="bottomMargin">
|
|||
|
|
<number>0</number>
|
|||
|
|
</property>
|
|||
|
|
<item>
|
|||
|
|
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
|||
|
|
<item>
|
|||
|
|
<widget class="QLineEdit" name="leSearchDevice">
|
|||
|
|
<property name="inputMask">
|
|||
|
|
<string/>
|
|||
|
|
</property>
|
|||
|
|
<property name="text">
|
|||
|
|
<string/>
|
|||
|
|
</property>
|
|||
|
|
<property name="placeholderText">
|
|||
|
|
<string>请输入关键词查询</string>
|
|||
|
|
</property>
|
|||
|
|
</widget>
|
|||
|
|
</item>
|
|||
|
|
</layout>
|
|||
|
|
</item>
|
|||
|
|
<item>
|
|||
|
|
<widget class="QTableView" name="tableViewDevice">
|
|||
|
|
<property name="minimumSize">
|
|||
|
|
<size>
|
|||
|
|
<width>200</width>
|
|||
|
|
<height>0</height>
|
|||
|
|
</size>
|
|||
|
|
</property>
|
|||
|
|
<property name="maximumSize">
|
|||
|
|
<size>
|
|||
|
|
<width>200</width>
|
|||
|
|
<height>16777215</height>
|
|||
|
|
</size>
|
|||
|
|
</property>
|
|||
|
|
<property name="styleSheet">
|
|||
|
|
<string notr="true">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: #BFBFBF; /* 设置垂直滚动条的背景颜色为浅灰色 */
|
|||
|
|
width: 5px; /* 设置滚动条的宽度 */
|
|||
|
|
margin: 0px 0px 0px 0px; /* 设置滚动条的外边距 */
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QScrollBar::handle:vertical {
|
|||
|
|
background: #c0c0c0; /* 设置滚动条拖动手柄的背景颜色为灰色 */
|
|||
|
|
min-height: 34px; /* 设置滚动条拖动手柄的最小高度 */
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QScrollBar::add-line:vertical {
|
|||
|
|
height: 0px; /* 设置垂直滚动条向下箭头的高度为0,即不显示 */
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QScrollBar::sub-line:vertical {
|
|||
|
|
height: 0px; /* 设置垂直滚动条向上箭头的高度为0,即不显示 */
|
|||
|
|
}
|
|||
|
|
QScrollBar:horizontal {
|
|||
|
|
background: #BFBFBF; /* 设置横向滚动条的背景颜色为浅灰色 */
|
|||
|
|
height: 5px; /* 设置滚动条的高度 */
|
|||
|
|
margin: 0px 0px 0px 0px; /* 设置滚动条的外边距 */
|
|||
|
|
}
|
|||
|
|
QScrollBar::handle:horizontal {
|
|||
|
|
background: #c0c0c0; /* 设置滚动条拖动手柄的背景颜色为灰色 */
|
|||
|
|
min-width: 34px; /* 设置滚动条拖动手柄的最小宽度 */
|
|||
|
|
}
|
|||
|
|
QScrollBar::add-line:horizontal {
|
|||
|
|
width: 0px; /* 设置横向滚动条向右箭头的宽度为0,即不显示 */
|
|||
|
|
}
|
|||
|
|
QScrollBar::sub-line:horizontal {
|
|||
|
|
width: 0px; /* 设置横向滚动条向左箭头的宽度为0,即不显示 */
|
|||
|
|
}</string>
|
|||
|
|
</property>
|
|||
|
|
<property name="editTriggers">
|
|||
|
|
<set>QAbstractItemView::NoEditTriggers</set>
|
|||
|
|
</property>
|
|||
|
|
<property name="dragDropOverwriteMode">
|
|||
|
|
<bool>false</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>
|
|||
|
|
<property name="gridStyle">
|
|||
|
|
<enum>Qt::SolidLine</enum>
|
|||
|
|
</property>
|
|||
|
|
<property name="sortingEnabled">
|
|||
|
|
<bool>true</bool>
|
|||
|
|
</property>
|
|||
|
|
<attribute name="horizontalHeaderVisible">
|
|||
|
|
<bool>false</bool>
|
|||
|
|
</attribute>
|
|||
|
|
<attribute name="verticalHeaderVisible">
|
|||
|
|
<bool>false</bool>
|
|||
|
|
</attribute>
|
|||
|
|
<attribute name="verticalHeaderHighlightSections">
|
|||
|
|
<bool>false</bool>
|
|||
|
|
</attribute>
|
|||
|
|
</widget>
|
|||
|
|
</item>
|
|||
|
|
</layout>
|
|||
|
|
</widget>
|
|||
|
|
</item>
|
|||
|
|
</layout>
|
|||
|
|
</item>
|
|||
|
|
<item>
|
|||
|
|
<widget class="QGroupBox" name="groupBox_2">
|
|||
|
|
<property name="title">
|
|||
|
|
<string>功能</string>
|
|||
|
|
</property>
|
|||
|
|
<layout class="QVBoxLayout" name="verticalLayout_2">
|
|||
|
|
<property name="leftMargin">
|
|||
|
|
<number>0</number>
|
|||
|
|
</property>
|
|||
|
|
<property name="topMargin">
|
|||
|
|
<number>2</number>
|
|||
|
|
</property>
|
|||
|
|
<property name="rightMargin">
|
|||
|
|
<number>0</number>
|
|||
|
|
</property>
|
|||
|
|
<property name="bottomMargin">
|
|||
|
|
<number>0</number>
|
|||
|
|
</property>
|
|||
|
|
<item>
|
|||
|
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
|||
|
|
<item>
|
|||
|
|
<widget class="QLineEdit" name="leSearchInstruction">
|
|||
|
|
<property name="toolTip">
|
|||
|
|
<string/>
|
|||
|
|
</property>
|
|||
|
|
<property name="inputMask">
|
|||
|
|
<string/>
|
|||
|
|
</property>
|
|||
|
|
<property name="text">
|
|||
|
|
<string/>
|
|||
|
|
</property>
|
|||
|
|
<property name="placeholderText">
|
|||
|
|
<string>请输入关键词查询</string>
|
|||
|
|
</property>
|
|||
|
|
</widget>
|
|||
|
|
</item>
|
|||
|
|
</layout>
|
|||
|
|
</item>
|
|||
|
|
<item>
|
|||
|
|
<widget class="QTableView" name="tableViewDevInstruction">
|
|||
|
|
<property name="minimumSize">
|
|||
|
|
<size>
|
|||
|
|
<width>480</width>
|
|||
|
|
<height>0</height>
|
|||
|
|
</size>
|
|||
|
|
</property>
|
|||
|
|
<property name="styleSheet">
|
|||
|
|
<string notr="true">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: #BFBFBF; /* 设置垂直滚动条的背景颜色为浅灰色 */
|
|||
|
|
width: 5px; /* 设置滚动条的宽度 */
|
|||
|
|
margin: 0px 0px 0px 0px; /* 设置滚动条的外边距 */
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QScrollBar::handle:vertical {
|
|||
|
|
background: #c0c0c0; /* 设置滚动条拖动手柄的背景颜色为灰色 */
|
|||
|
|
min-height: 34px; /* 设置滚动条拖动手柄的最小高度 */
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QScrollBar::add-line:vertical {
|
|||
|
|
height: 0px; /* 设置垂直滚动条向下箭头的高度为0,即不显示 */
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QScrollBar::sub-line:vertical {
|
|||
|
|
height: 0px; /* 设置垂直滚动条向上箭头的高度为0,即不显示 */
|
|||
|
|
}
|
|||
|
|
QScrollBar:horizontal {
|
|||
|
|
background: #BFBFBF; /* 设置横向滚动条的背景颜色为浅灰色 */
|
|||
|
|
height: 5px; /* 设置滚动条的高度 */
|
|||
|
|
margin: 0px 0px 0px 0px; /* 设置滚动条的外边距 */
|
|||
|
|
}
|
|||
|
|
QScrollBar::handle:horizontal {
|
|||
|
|
background: #c0c0c0; /* 设置滚动条拖动手柄的背景颜色为灰色 */
|
|||
|
|
min-width: 34px; /* 设置滚动条拖动手柄的最小宽度 */
|
|||
|
|
}
|
|||
|
|
QScrollBar::add-line:horizontal {
|
|||
|
|
width: 0px; /* 设置横向滚动条向右箭头的宽度为0,即不显示 */
|
|||
|
|
}
|
|||
|
|
QScrollBar::sub-line:horizontal {
|
|||
|
|
width: 0px; /* 设置横向滚动条向左箭头的宽度为0,即不显示 */
|
|||
|
|
}</string>
|
|||
|
|
</property>
|
|||
|
|
<property name="editTriggers">
|
|||
|
|
<set>QAbstractItemView::NoEditTriggers</set>
|
|||
|
|
</property>
|
|||
|
|
<property name="dragDropOverwriteMode">
|
|||
|
|
<bool>false</bool>
|
|||
|
|
</property>
|
|||
|
|
<property name="alternatingRowColors">
|
|||
|
|
<bool>true</bool>
|
|||
|
|
</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>false</bool>
|
|||
|
|
</attribute>
|
|||
|
|
<attribute name="verticalHeaderHighlightSections">
|
|||
|
|
<bool>false</bool>
|
|||
|
|
</attribute>
|
|||
|
|
</widget>
|
|||
|
|
</item>
|
|||
|
|
</layout>
|
|||
|
|
</widget>
|
|||
|
|
</item>
|
|||
|
|
<item>
|
|||
|
|
<layout class="QVBoxLayout" name="verticalLayout_3">
|
|||
|
|
<item>
|
|||
|
|
<spacer name="verticalSpacer_2">
|
|||
|
|
<property name="orientation">
|
|||
|
|
<enum>Qt::Vertical</enum>
|
|||
|
|
</property>
|
|||
|
|
<property name="sizeHint" stdset="0">
|
|||
|
|
<size>
|
|||
|
|
<width>20</width>
|
|||
|
|
<height>40</height>
|
|||
|
|
</size>
|
|||
|
|
</property>
|
|||
|
|
</spacer>
|
|||
|
|
</item>
|
|||
|
|
<item>
|
|||
|
|
<widget class="QPushButton" name="pbUp">
|
|||
|
|
<property name="minimumSize">
|
|||
|
|
<size>
|
|||
|
|
<width>30</width>
|
|||
|
|
<height>30</height>
|
|||
|
|
</size>
|
|||
|
|
</property>
|
|||
|
|
<property name="maximumSize">
|
|||
|
|
<size>
|
|||
|
|
<width>30</width>
|
|||
|
|
<height>30</height>
|
|||
|
|
</size>
|
|||
|
|
</property>
|
|||
|
|
<property name="styleSheet">
|
|||
|
|
<string notr="true">background-color: rgb(255, 255, 255);</string>
|
|||
|
|
</property>
|
|||
|
|
<property name="text">
|
|||
|
|
<string>⬆</string>
|
|||
|
|
</property>
|
|||
|
|
</widget>
|
|||
|
|
</item>
|
|||
|
|
<item>
|
|||
|
|
<widget class="QPushButton" name="pbRight">
|
|||
|
|
<property name="minimumSize">
|
|||
|
|
<size>
|
|||
|
|
<width>30</width>
|
|||
|
|
<height>30</height>
|
|||
|
|
</size>
|
|||
|
|
</property>
|
|||
|
|
<property name="maximumSize">
|
|||
|
|
<size>
|
|||
|
|
<width>30</width>
|
|||
|
|
<height>30</height>
|
|||
|
|
</size>
|
|||
|
|
</property>
|
|||
|
|
<property name="styleSheet">
|
|||
|
|
<string notr="true">background-color: rgb(255, 255, 255);</string>
|
|||
|
|
</property>
|
|||
|
|
<property name="text">
|
|||
|
|
<string>➡️</string>
|
|||
|
|
</property>
|
|||
|
|
</widget>
|
|||
|
|
</item>
|
|||
|
|
<item>
|
|||
|
|
<widget class="QPushButton" name="pbLeft">
|
|||
|
|
<property name="minimumSize">
|
|||
|
|
<size>
|
|||
|
|
<width>30</width>
|
|||
|
|
<height>30</height>
|
|||
|
|
</size>
|
|||
|
|
</property>
|
|||
|
|
<property name="maximumSize">
|
|||
|
|
<size>
|
|||
|
|
<width>30</width>
|
|||
|
|
<height>30</height>
|
|||
|
|
</size>
|
|||
|
|
</property>
|
|||
|
|
<property name="styleSheet">
|
|||
|
|
<string notr="true">background-color: rgb(255, 255, 255);</string>
|
|||
|
|
</property>
|
|||
|
|
<property name="text">
|
|||
|
|
<string>⬅️</string>
|
|||
|
|
</property>
|
|||
|
|
</widget>
|
|||
|
|
</item>
|
|||
|
|
<item>
|
|||
|
|
<widget class="QPushButton" name="pbDown">
|
|||
|
|
<property name="maximumSize">
|
|||
|
|
<size>
|
|||
|
|
<width>30</width>
|
|||
|
|
<height>30</height>
|
|||
|
|
</size>
|
|||
|
|
</property>
|
|||
|
|
<property name="styleSheet">
|
|||
|
|
<string notr="true">background-color: rgb(255, 255, 255);</string>
|
|||
|
|
</property>
|
|||
|
|
<property name="text">
|
|||
|
|
<string>⬇</string>
|
|||
|
|
</property>
|
|||
|
|
</widget>
|
|||
|
|
</item>
|
|||
|
|
<item>
|
|||
|
|
<spacer name="verticalSpacer">
|
|||
|
|
<property name="orientation">
|
|||
|
|
<enum>Qt::Vertical</enum>
|
|||
|
|
</property>
|
|||
|
|
<property name="sizeHint" stdset="0">
|
|||
|
|
<size>
|
|||
|
|
<width>20</width>
|
|||
|
|
<height>40</height>
|
|||
|
|
</size>
|
|||
|
|
</property>
|
|||
|
|
</spacer>
|
|||
|
|
</item>
|
|||
|
|
</layout>
|
|||
|
|
</item>
|
|||
|
|
<item>
|
|||
|
|
<widget class="QGroupBox" name="groupBox_3">
|
|||
|
|
<property name="title">
|
|||
|
|
<string>指令</string>
|
|||
|
|
</property>
|
|||
|
|
<layout class="QVBoxLayout" name="verticalLayout_4">
|
|||
|
|
<property name="leftMargin">
|
|||
|
|
<number>0</number>
|
|||
|
|
</property>
|
|||
|
|
<property name="topMargin">
|
|||
|
|
<number>2</number>
|
|||
|
|
</property>
|
|||
|
|
<property name="rightMargin">
|
|||
|
|
<number>0</number>
|
|||
|
|
</property>
|
|||
|
|
<property name="bottomMargin">
|
|||
|
|
<number>0</number>
|
|||
|
|
</property>
|
|||
|
|
<item>
|
|||
|
|
<widget class="QTableView" name="tableViewInstruction">
|
|||
|
|
<property name="minimumSize">
|
|||
|
|
<size>
|
|||
|
|
<width>450</width>
|
|||
|
|
<height>0</height>
|
|||
|
|
</size>
|
|||
|
|
</property>
|
|||
|
|
<property name="styleSheet">
|
|||
|
|
<string notr="true">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: #BFBFBF; /* 设置垂直滚动条的背景颜色为浅灰色 */
|
|||
|
|
width: 5px; /* 设置滚动条的宽度 */
|
|||
|
|
margin: 0px 0px 0px 0px; /* 设置滚动条的外边距 */
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QScrollBar::handle:vertical {
|
|||
|
|
background: #c0c0c0; /* 设置滚动条拖动手柄的背景颜色为灰色 */
|
|||
|
|
min-height: 34px; /* 设置滚动条拖动手柄的最小高度 */
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QScrollBar::add-line:vertical {
|
|||
|
|
height: 0px; /* 设置垂直滚动条向下箭头的高度为0,即不显示 */
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QScrollBar::sub-line:vertical {
|
|||
|
|
height: 0px; /* 设置垂直滚动条向上箭头的高度为0,即不显示 */
|
|||
|
|
}
|
|||
|
|
QScrollBar:horizontal {
|
|||
|
|
background: #BFBFBF; /* 设置横向滚动条的背景颜色为浅灰色 */
|
|||
|
|
height: 5px; /* 设置滚动条的高度 */
|
|||
|
|
margin: 0px 0px 0px 0px; /* 设置滚动条的外边距 */
|
|||
|
|
}
|
|||
|
|
QScrollBar::handle:horizontal {
|
|||
|
|
background: #c0c0c0; /* 设置滚动条拖动手柄的背景颜色为灰色 */
|
|||
|
|
min-width: 34px; /* 设置滚动条拖动手柄的最小宽度 */
|
|||
|
|
}
|
|||
|
|
QScrollBar::add-line:horizontal {
|
|||
|
|
width: 0px; /* 设置横向滚动条向右箭头的宽度为0,即不显示 */
|
|||
|
|
}
|
|||
|
|
QScrollBar::sub-line:horizontal {
|
|||
|
|
width: 0px; /* 设置横向滚动条向左箭头的宽度为0,即不显示 */
|
|||
|
|
}</string>
|
|||
|
|
</property>
|
|||
|
|
<property name="editTriggers">
|
|||
|
|
<set>QAbstractItemView::NoEditTriggers</set>
|
|||
|
|
</property>
|
|||
|
|
<property name="alternatingRowColors">
|
|||
|
|
<bool>true</bool>
|
|||
|
|
</property>
|
|||
|
|
<property name="selectionBehavior">
|
|||
|
|
<enum>QAbstractItemView::SelectRows</enum>
|
|||
|
|
</property>
|
|||
|
|
<property name="showGrid">
|
|||
|
|
<bool>false</bool>
|
|||
|
|
</property>
|
|||
|
|
<attribute name="horizontalHeaderVisible">
|
|||
|
|
<bool>true</bool>
|
|||
|
|
</attribute>
|
|||
|
|
<attribute name="verticalHeaderVisible">
|
|||
|
|
<bool>false</bool>
|
|||
|
|
</attribute>
|
|||
|
|
</widget>
|
|||
|
|
</item>
|
|||
|
|
</layout>
|
|||
|
|
</widget>
|
|||
|
|
</item>
|
|||
|
|
</layout>
|
|||
|
|
</item>
|
|||
|
|
<item>
|
|||
|
|
<layout class="QHBoxLayout" name="horizontalLayout_3">
|
|||
|
|
<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="pbSave">
|
|||
|
|
<property name="styleSheet">
|
|||
|
|
<string notr="true">background-color: rgb(255, 255, 255);
|
|||
|
|
color: rgb(0, 0, 0);</string>
|
|||
|
|
</property>
|
|||
|
|
<property name="text">
|
|||
|
|
<string>添加</string>
|
|||
|
|
</property>
|
|||
|
|
</widget>
|
|||
|
|
</item>
|
|||
|
|
<item>
|
|||
|
|
<widget class="QPushButton" name="pbCancel">
|
|||
|
|
<property name="styleSheet">
|
|||
|
|
<string notr="true">background-color: rgb(255, 255, 255);
|
|||
|
|
color: rgb(0, 0, 0);</string>
|
|||
|
|
</property>
|
|||
|
|
<property name="text">
|
|||
|
|
<string>取消</string>
|
|||
|
|
</property>
|
|||
|
|
</widget>
|
|||
|
|
</item>
|
|||
|
|
</layout>
|
|||
|
|
</item>
|
|||
|
|
</layout>
|
|||
|
|
</widget>
|
|||
|
|
<resources/>
|
|||
|
|
<connections/>
|
|||
|
|
</ui>
|