433 lines
22 KiB
Python
433 lines
22 KiB
Python
# Form implementation generated from reading ui file 'c:\Qt6Pro\TG-PlatformPlus\ui\insertInstructionDlg.ui'
|
||
#
|
||
# Created by: PyQt6 UI code generator 6.7.1
|
||
#
|
||
# WARNING: Any manual changes made to this file will be lost when pyuic6 is
|
||
# run again. Do not edit this file unless you know what you are doing.
|
||
|
||
|
||
from PyQt6 import QtCore, QtGui, QtWidgets
|
||
|
||
|
||
class Ui_insertInstructionDlg(object):
|
||
def setupUi(self, insertInstructionDlg):
|
||
insertInstructionDlg.setObjectName("insertInstructionDlg")
|
||
insertInstructionDlg.resize(1181, 718)
|
||
self.verticalLayout_7 = QtWidgets.QVBoxLayout(insertInstructionDlg)
|
||
self.verticalLayout_7.setObjectName("verticalLayout_7")
|
||
self.horizontalLayout_5 = QtWidgets.QHBoxLayout()
|
||
self.horizontalLayout_5.setObjectName("horizontalLayout_5")
|
||
self.verticalLayout_6 = QtWidgets.QVBoxLayout()
|
||
self.verticalLayout_6.setObjectName("verticalLayout_6")
|
||
self.groupBox_4 = QtWidgets.QGroupBox(parent=insertInstructionDlg)
|
||
self.groupBox_4.setObjectName("groupBox_4")
|
||
self.verticalLayout_5 = QtWidgets.QVBoxLayout(self.groupBox_4)
|
||
self.verticalLayout_5.setContentsMargins(0, 2, 0, 0)
|
||
self.verticalLayout_5.setObjectName("verticalLayout_5")
|
||
self.horizontalLayout_4 = QtWidgets.QHBoxLayout()
|
||
self.horizontalLayout_4.setObjectName("horizontalLayout_4")
|
||
self.leSearchDevGroup = QtWidgets.QLineEdit(parent=self.groupBox_4)
|
||
self.leSearchDevGroup.setInputMask("")
|
||
self.leSearchDevGroup.setText("")
|
||
self.leSearchDevGroup.setObjectName("leSearchDevGroup")
|
||
self.horizontalLayout_4.addWidget(self.leSearchDevGroup)
|
||
self.verticalLayout_5.addLayout(self.horizontalLayout_4)
|
||
self.tableViewDevGroup = QtWidgets.QTableView(parent=self.groupBox_4)
|
||
self.tableViewDevGroup.setMinimumSize(QtCore.QSize(200, 0))
|
||
self.tableViewDevGroup.setMaximumSize(QtCore.QSize(200, 16777215))
|
||
self.tableViewDevGroup.setStyleSheet(" \n"
|
||
"QTableView {\n"
|
||
" background-color: #ffffff; /* 设置表格视图的背景颜色为浅灰色 */\n"
|
||
" alternate-background-color: #F8F9FA;\n"
|
||
" selection-color: #262626; /* 设置选中行的文本颜色为白色 */\n"
|
||
"}\n"
|
||
"QTableView::item:selected {\n"
|
||
" background-color: #D9D9D9;\n"
|
||
" \n"
|
||
"}\n"
|
||
"QTableView QTableCornerButton::section { /*左上角的button样式*/ \n"
|
||
" background-color: #F7F7F7; /*背景颜色与表头一致*/ \n"
|
||
" border: 0px; \n"
|
||
" border-radius:0px; \n"
|
||
"} \n"
|
||
"\n"
|
||
"QHeaderView::section:horizontal {\n"
|
||
" background-color: #F7F7F7; /* 设置表头的背景颜色为浅灰色 */\n"
|
||
" color: #8C8C8C; /* 设置表头的文本颜色为黑色 */\n"
|
||
" border: 0; /* 移除表头的边框 */\n"
|
||
" padding: 4px; /* 设置表头的内边距 */\n"
|
||
"}\n"
|
||
"QHeaderView::section:vertical {\n"
|
||
" background-color: #FFFFFF; /* 设置表头的背景颜色为浅灰色 */\n"
|
||
" color: #8C8C8C; /* 设置表头的文本颜色为黑色 */\n"
|
||
" border: 0; /* 移除表头的边框 */\n"
|
||
" padding: 4px; /* 设置表头的内边距 */\n"
|
||
"}\n"
|
||
"QScrollBar:vertical {\n"
|
||
" background: #BFBFBF; /* 设置垂直滚动条的背景颜色为浅灰色 */\n"
|
||
" width: 5px; /* 设置滚动条的宽度 */\n"
|
||
" margin: 0px 0px 0px 0px; /* 设置滚动条的外边距 */\n"
|
||
"}\n"
|
||
"\n"
|
||
"QScrollBar::handle:vertical {\n"
|
||
" background: #c0c0c0; /* 设置滚动条拖动手柄的背景颜色为灰色 */\n"
|
||
" min-height: 34px; /* 设置滚动条拖动手柄的最小高度 */\n"
|
||
"}\n"
|
||
"\n"
|
||
"QScrollBar::add-line:vertical {\n"
|
||
" height: 0px; /* 设置垂直滚动条向下箭头的高度为0,即不显示 */\n"
|
||
"}\n"
|
||
"\n"
|
||
"QScrollBar::sub-line:vertical {\n"
|
||
" height: 0px; /* 设置垂直滚动条向上箭头的高度为0,即不显示 */\n"
|
||
"}\n"
|
||
" QScrollBar:horizontal {\n"
|
||
" background: #BFBFBF; /* 设置横向滚动条的背景颜色为浅灰色 */\n"
|
||
" height: 5px; /* 设置滚动条的高度 */\n"
|
||
" margin: 0px 0px 0px 0px; /* 设置滚动条的外边距 */\n"
|
||
" }\n"
|
||
" QScrollBar::handle:horizontal {\n"
|
||
" background: #c0c0c0; /* 设置滚动条拖动手柄的背景颜色为灰色 */\n"
|
||
" min-width: 34px; /* 设置滚动条拖动手柄的最小宽度 */\n"
|
||
" }\n"
|
||
" QScrollBar::add-line:horizontal {\n"
|
||
" width: 0px; /* 设置横向滚动条向右箭头的宽度为0,即不显示 */\n"
|
||
" }\n"
|
||
" QScrollBar::sub-line:horizontal {\n"
|
||
" width: 0px; /* 设置横向滚动条向左箭头的宽度为0,即不显示 */\n"
|
||
" }")
|
||
self.tableViewDevGroup.setEditTriggers(QtWidgets.QAbstractItemView.EditTrigger.NoEditTriggers)
|
||
self.tableViewDevGroup.setDragDropOverwriteMode(False)
|
||
self.tableViewDevGroup.setAlternatingRowColors(True)
|
||
self.tableViewDevGroup.setSelectionMode(QtWidgets.QAbstractItemView.SelectionMode.SingleSelection)
|
||
self.tableViewDevGroup.setSelectionBehavior(QtWidgets.QAbstractItemView.SelectionBehavior.SelectRows)
|
||
self.tableViewDevGroup.setShowGrid(False)
|
||
self.tableViewDevGroup.setSortingEnabled(True)
|
||
self.tableViewDevGroup.setObjectName("tableViewDevGroup")
|
||
self.tableViewDevGroup.horizontalHeader().setVisible(False)
|
||
self.tableViewDevGroup.verticalHeader().setVisible(False)
|
||
self.tableViewDevGroup.verticalHeader().setHighlightSections(False)
|
||
self.verticalLayout_5.addWidget(self.tableViewDevGroup)
|
||
self.verticalLayout_6.addWidget(self.groupBox_4)
|
||
self.groupBox = QtWidgets.QGroupBox(parent=insertInstructionDlg)
|
||
self.groupBox.setObjectName("groupBox")
|
||
self.verticalLayout = QtWidgets.QVBoxLayout(self.groupBox)
|
||
self.verticalLayout.setContentsMargins(0, 2, 0, 0)
|
||
self.verticalLayout.setObjectName("verticalLayout")
|
||
self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
|
||
self.horizontalLayout_2.setObjectName("horizontalLayout_2")
|
||
self.leSearchDevice = QtWidgets.QLineEdit(parent=self.groupBox)
|
||
self.leSearchDevice.setInputMask("")
|
||
self.leSearchDevice.setText("")
|
||
self.leSearchDevice.setObjectName("leSearchDevice")
|
||
self.horizontalLayout_2.addWidget(self.leSearchDevice)
|
||
self.verticalLayout.addLayout(self.horizontalLayout_2)
|
||
self.tableViewDevice = QtWidgets.QTableView(parent=self.groupBox)
|
||
self.tableViewDevice.setMinimumSize(QtCore.QSize(200, 0))
|
||
self.tableViewDevice.setMaximumSize(QtCore.QSize(200, 16777215))
|
||
self.tableViewDevice.setStyleSheet("QTableView {\n"
|
||
" background-color: #ffffff; /* 设置表格视图的背景颜色为浅灰色 */\n"
|
||
" alternate-background-color: #F8F9FA;\n"
|
||
" selection-color: #262626; /* 设置选中行的文本颜色为白色 */\n"
|
||
"}\n"
|
||
"QTableView::item:selected {\n"
|
||
" background-color: #D9D9D9;\n"
|
||
" \n"
|
||
"}\n"
|
||
"QTableView QTableCornerButton::section { /*左上角的button样式*/ \n"
|
||
" background-color: #F7F7F7; /*背景颜色与表头一致*/ \n"
|
||
" border: 0px; \n"
|
||
" border-radius:0px; \n"
|
||
"} \n"
|
||
"\n"
|
||
"QHeaderView::section:horizontal {\n"
|
||
" background-color: #F7F7F7; /* 设置表头的背景颜色为浅灰色 */\n"
|
||
" color: #8C8C8C; /* 设置表头的文本颜色为黑色 */\n"
|
||
" border: 0; /* 移除表头的边框 */\n"
|
||
" padding: 4px; /* 设置表头的内边距 */\n"
|
||
"}\n"
|
||
"QHeaderView::section:vertical {\n"
|
||
" background-color: #FFFFFF; /* 设置表头的背景颜色为浅灰色 */\n"
|
||
" color: #8C8C8C; /* 设置表头的文本颜色为黑色 */\n"
|
||
" border: 0; /* 移除表头的边框 */\n"
|
||
" padding: 4px; /* 设置表头的内边距 */\n"
|
||
"}\n"
|
||
"QScrollBar:vertical {\n"
|
||
" background: #BFBFBF; /* 设置垂直滚动条的背景颜色为浅灰色 */\n"
|
||
" width: 5px; /* 设置滚动条的宽度 */\n"
|
||
" margin: 0px 0px 0px 0px; /* 设置滚动条的外边距 */\n"
|
||
"}\n"
|
||
"\n"
|
||
"QScrollBar::handle:vertical {\n"
|
||
" background: #c0c0c0; /* 设置滚动条拖动手柄的背景颜色为灰色 */\n"
|
||
" min-height: 34px; /* 设置滚动条拖动手柄的最小高度 */\n"
|
||
"}\n"
|
||
"\n"
|
||
"QScrollBar::add-line:vertical {\n"
|
||
" height: 0px; /* 设置垂直滚动条向下箭头的高度为0,即不显示 */\n"
|
||
"}\n"
|
||
"\n"
|
||
"QScrollBar::sub-line:vertical {\n"
|
||
" height: 0px; /* 设置垂直滚动条向上箭头的高度为0,即不显示 */\n"
|
||
"}\n"
|
||
" QScrollBar:horizontal {\n"
|
||
" background: #BFBFBF; /* 设置横向滚动条的背景颜色为浅灰色 */\n"
|
||
" height: 5px; /* 设置滚动条的高度 */\n"
|
||
" margin: 0px 0px 0px 0px; /* 设置滚动条的外边距 */\n"
|
||
" }\n"
|
||
" QScrollBar::handle:horizontal {\n"
|
||
" background: #c0c0c0; /* 设置滚动条拖动手柄的背景颜色为灰色 */\n"
|
||
" min-width: 34px; /* 设置滚动条拖动手柄的最小宽度 */\n"
|
||
" }\n"
|
||
" QScrollBar::add-line:horizontal {\n"
|
||
" width: 0px; /* 设置横向滚动条向右箭头的宽度为0,即不显示 */\n"
|
||
" }\n"
|
||
" QScrollBar::sub-line:horizontal {\n"
|
||
" width: 0px; /* 设置横向滚动条向左箭头的宽度为0,即不显示 */\n"
|
||
" }")
|
||
self.tableViewDevice.setEditTriggers(QtWidgets.QAbstractItemView.EditTrigger.NoEditTriggers)
|
||
self.tableViewDevice.setDragDropOverwriteMode(False)
|
||
self.tableViewDevice.setAlternatingRowColors(True)
|
||
self.tableViewDevice.setSelectionMode(QtWidgets.QAbstractItemView.SelectionMode.SingleSelection)
|
||
self.tableViewDevice.setSelectionBehavior(QtWidgets.QAbstractItemView.SelectionBehavior.SelectRows)
|
||
self.tableViewDevice.setShowGrid(False)
|
||
self.tableViewDevice.setGridStyle(QtCore.Qt.PenStyle.SolidLine)
|
||
self.tableViewDevice.setSortingEnabled(True)
|
||
self.tableViewDevice.setObjectName("tableViewDevice")
|
||
self.tableViewDevice.horizontalHeader().setVisible(False)
|
||
self.tableViewDevice.verticalHeader().setVisible(False)
|
||
self.tableViewDevice.verticalHeader().setHighlightSections(False)
|
||
self.verticalLayout.addWidget(self.tableViewDevice)
|
||
self.verticalLayout_6.addWidget(self.groupBox)
|
||
self.horizontalLayout_5.addLayout(self.verticalLayout_6)
|
||
self.groupBox_2 = QtWidgets.QGroupBox(parent=insertInstructionDlg)
|
||
self.groupBox_2.setObjectName("groupBox_2")
|
||
self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.groupBox_2)
|
||
self.verticalLayout_2.setContentsMargins(0, 2, 0, 0)
|
||
self.verticalLayout_2.setObjectName("verticalLayout_2")
|
||
self.horizontalLayout = QtWidgets.QHBoxLayout()
|
||
self.horizontalLayout.setObjectName("horizontalLayout")
|
||
self.leSearchInstruction = QtWidgets.QLineEdit(parent=self.groupBox_2)
|
||
self.leSearchInstruction.setToolTip("")
|
||
self.leSearchInstruction.setInputMask("")
|
||
self.leSearchInstruction.setText("")
|
||
self.leSearchInstruction.setObjectName("leSearchInstruction")
|
||
self.horizontalLayout.addWidget(self.leSearchInstruction)
|
||
self.verticalLayout_2.addLayout(self.horizontalLayout)
|
||
self.tableViewDevInstruction = QtWidgets.QTableView(parent=self.groupBox_2)
|
||
self.tableViewDevInstruction.setMinimumSize(QtCore.QSize(480, 0))
|
||
self.tableViewDevInstruction.setStyleSheet("QTableView {\n"
|
||
" background-color: #ffffff; /* 设置表格视图的背景颜色为浅灰色 */\n"
|
||
" alternate-background-color: #F8F9FA;\n"
|
||
" selection-color: #262626; /* 设置选中行的文本颜色为白色 */\n"
|
||
"}\n"
|
||
"QTableView::item:selected {\n"
|
||
" background-color: #D9D9D9;\n"
|
||
" \n"
|
||
"}\n"
|
||
"QTableView QTableCornerButton::section { /*左上角的button样式*/ \n"
|
||
" background-color: #F7F7F7; /*背景颜色与表头一致*/ \n"
|
||
" border: 0px; \n"
|
||
" border-radius:0px; \n"
|
||
"} \n"
|
||
"\n"
|
||
"QHeaderView::section:horizontal {\n"
|
||
" background-color: #F7F7F7; /* 设置表头的背景颜色为浅灰色 */\n"
|
||
" color: #8C8C8C; /* 设置表头的文本颜色为黑色 */\n"
|
||
" border: 0; /* 移除表头的边框 */\n"
|
||
" padding: 4px; /* 设置表头的内边距 */\n"
|
||
"}\n"
|
||
"QHeaderView::section:vertical {\n"
|
||
" background-color: #FFFFFF; /* 设置表头的背景颜色为浅灰色 */\n"
|
||
" color: #8C8C8C; /* 设置表头的文本颜色为黑色 */\n"
|
||
" border: 0; /* 移除表头的边框 */\n"
|
||
" padding: 4px; /* 设置表头的内边距 */\n"
|
||
"}\n"
|
||
"QScrollBar:vertical {\n"
|
||
" background: #BFBFBF; /* 设置垂直滚动条的背景颜色为浅灰色 */\n"
|
||
" width: 5px; /* 设置滚动条的宽度 */\n"
|
||
" margin: 0px 0px 0px 0px; /* 设置滚动条的外边距 */\n"
|
||
"}\n"
|
||
"\n"
|
||
"QScrollBar::handle:vertical {\n"
|
||
" background: #c0c0c0; /* 设置滚动条拖动手柄的背景颜色为灰色 */\n"
|
||
" min-height: 34px; /* 设置滚动条拖动手柄的最小高度 */\n"
|
||
"}\n"
|
||
"\n"
|
||
"QScrollBar::add-line:vertical {\n"
|
||
" height: 0px; /* 设置垂直滚动条向下箭头的高度为0,即不显示 */\n"
|
||
"}\n"
|
||
"\n"
|
||
"QScrollBar::sub-line:vertical {\n"
|
||
" height: 0px; /* 设置垂直滚动条向上箭头的高度为0,即不显示 */\n"
|
||
"}\n"
|
||
" QScrollBar:horizontal {\n"
|
||
" background: #BFBFBF; /* 设置横向滚动条的背景颜色为浅灰色 */\n"
|
||
" height: 5px; /* 设置滚动条的高度 */\n"
|
||
" margin: 0px 0px 0px 0px; /* 设置滚动条的外边距 */\n"
|
||
" }\n"
|
||
" QScrollBar::handle:horizontal {\n"
|
||
" background: #c0c0c0; /* 设置滚动条拖动手柄的背景颜色为灰色 */\n"
|
||
" min-width: 34px; /* 设置滚动条拖动手柄的最小宽度 */\n"
|
||
" }\n"
|
||
" QScrollBar::add-line:horizontal {\n"
|
||
" width: 0px; /* 设置横向滚动条向右箭头的宽度为0,即不显示 */\n"
|
||
" }\n"
|
||
" QScrollBar::sub-line:horizontal {\n"
|
||
" width: 0px; /* 设置横向滚动条向左箭头的宽度为0,即不显示 */\n"
|
||
" }")
|
||
self.tableViewDevInstruction.setEditTriggers(QtWidgets.QAbstractItemView.EditTrigger.NoEditTriggers)
|
||
self.tableViewDevInstruction.setDragDropOverwriteMode(False)
|
||
self.tableViewDevInstruction.setAlternatingRowColors(True)
|
||
self.tableViewDevInstruction.setSelectionBehavior(QtWidgets.QAbstractItemView.SelectionBehavior.SelectRows)
|
||
self.tableViewDevInstruction.setShowGrid(False)
|
||
self.tableViewDevInstruction.setSortingEnabled(True)
|
||
self.tableViewDevInstruction.setObjectName("tableViewDevInstruction")
|
||
self.tableViewDevInstruction.horizontalHeader().setVisible(True)
|
||
self.tableViewDevInstruction.verticalHeader().setVisible(False)
|
||
self.tableViewDevInstruction.verticalHeader().setHighlightSections(False)
|
||
self.verticalLayout_2.addWidget(self.tableViewDevInstruction)
|
||
self.horizontalLayout_5.addWidget(self.groupBox_2)
|
||
self.verticalLayout_3 = QtWidgets.QVBoxLayout()
|
||
self.verticalLayout_3.setObjectName("verticalLayout_3")
|
||
spacerItem = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Policy.Minimum, QtWidgets.QSizePolicy.Policy.Expanding)
|
||
self.verticalLayout_3.addItem(spacerItem)
|
||
self.pbUp = QtWidgets.QPushButton(parent=insertInstructionDlg)
|
||
self.pbUp.setMinimumSize(QtCore.QSize(30, 30))
|
||
self.pbUp.setMaximumSize(QtCore.QSize(30, 30))
|
||
self.pbUp.setStyleSheet("background-color: rgb(255, 255, 255);")
|
||
self.pbUp.setObjectName("pbUp")
|
||
self.verticalLayout_3.addWidget(self.pbUp)
|
||
self.pbRight = QtWidgets.QPushButton(parent=insertInstructionDlg)
|
||
self.pbRight.setMinimumSize(QtCore.QSize(30, 30))
|
||
self.pbRight.setMaximumSize(QtCore.QSize(30, 30))
|
||
self.pbRight.setStyleSheet("background-color: rgb(255, 255, 255);")
|
||
self.pbRight.setObjectName("pbRight")
|
||
self.verticalLayout_3.addWidget(self.pbRight)
|
||
self.pbLeft = QtWidgets.QPushButton(parent=insertInstructionDlg)
|
||
self.pbLeft.setMinimumSize(QtCore.QSize(30, 30))
|
||
self.pbLeft.setMaximumSize(QtCore.QSize(30, 30))
|
||
self.pbLeft.setStyleSheet("background-color: rgb(255, 255, 255);")
|
||
self.pbLeft.setObjectName("pbLeft")
|
||
self.verticalLayout_3.addWidget(self.pbLeft)
|
||
self.pbDown = QtWidgets.QPushButton(parent=insertInstructionDlg)
|
||
self.pbDown.setMaximumSize(QtCore.QSize(30, 30))
|
||
self.pbDown.setStyleSheet("background-color: rgb(255, 255, 255);")
|
||
self.pbDown.setObjectName("pbDown")
|
||
self.verticalLayout_3.addWidget(self.pbDown)
|
||
spacerItem1 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Policy.Minimum, QtWidgets.QSizePolicy.Policy.Expanding)
|
||
self.verticalLayout_3.addItem(spacerItem1)
|
||
self.horizontalLayout_5.addLayout(self.verticalLayout_3)
|
||
self.groupBox_3 = QtWidgets.QGroupBox(parent=insertInstructionDlg)
|
||
self.groupBox_3.setObjectName("groupBox_3")
|
||
self.verticalLayout_4 = QtWidgets.QVBoxLayout(self.groupBox_3)
|
||
self.verticalLayout_4.setContentsMargins(0, 2, 0, 0)
|
||
self.verticalLayout_4.setObjectName("verticalLayout_4")
|
||
self.tableViewInstruction = QtWidgets.QTableView(parent=self.groupBox_3)
|
||
self.tableViewInstruction.setMinimumSize(QtCore.QSize(450, 0))
|
||
self.tableViewInstruction.setStyleSheet("QTableView {\n"
|
||
" background-color: #ffffff; /* 设置表格视图的背景颜色为浅灰色 */\n"
|
||
" alternate-background-color: #F8F9FA;\n"
|
||
" selection-color: #262626; /* 设置选中行的文本颜色为白色 */\n"
|
||
"}\n"
|
||
"QTableView::item:selected {\n"
|
||
" background-color: #D9D9D9;\n"
|
||
" \n"
|
||
"}\n"
|
||
"QTableView QTableCornerButton::section { /*左上角的button样式*/ \n"
|
||
" background-color: #F7F7F7; /*背景颜色与表头一致*/ \n"
|
||
" border: 0px; \n"
|
||
" border-radius:0px; \n"
|
||
"} \n"
|
||
"\n"
|
||
"QHeaderView::section:horizontal {\n"
|
||
" background-color: #F7F7F7; /* 设置表头的背景颜色为浅灰色 */\n"
|
||
" color: #8C8C8C; /* 设置表头的文本颜色为黑色 */\n"
|
||
" border: 0; /* 移除表头的边框 */\n"
|
||
" padding: 4px; /* 设置表头的内边距 */\n"
|
||
"}\n"
|
||
"QHeaderView::section:vertical {\n"
|
||
" background-color: #FFFFFF; /* 设置表头的背景颜色为浅灰色 */\n"
|
||
" color: #8C8C8C; /* 设置表头的文本颜色为黑色 */\n"
|
||
" border: 0; /* 移除表头的边框 */\n"
|
||
" padding: 4px; /* 设置表头的内边距 */\n"
|
||
"}\n"
|
||
"QScrollBar:vertical {\n"
|
||
" background: #BFBFBF; /* 设置垂直滚动条的背景颜色为浅灰色 */\n"
|
||
" width: 5px; /* 设置滚动条的宽度 */\n"
|
||
" margin: 0px 0px 0px 0px; /* 设置滚动条的外边距 */\n"
|
||
"}\n"
|
||
"\n"
|
||
"QScrollBar::handle:vertical {\n"
|
||
" background: #c0c0c0; /* 设置滚动条拖动手柄的背景颜色为灰色 */\n"
|
||
" min-height: 34px; /* 设置滚动条拖动手柄的最小高度 */\n"
|
||
"}\n"
|
||
"\n"
|
||
"QScrollBar::add-line:vertical {\n"
|
||
" height: 0px; /* 设置垂直滚动条向下箭头的高度为0,即不显示 */\n"
|
||
"}\n"
|
||
"\n"
|
||
"QScrollBar::sub-line:vertical {\n"
|
||
" height: 0px; /* 设置垂直滚动条向上箭头的高度为0,即不显示 */\n"
|
||
"}\n"
|
||
" QScrollBar:horizontal {\n"
|
||
" background: #BFBFBF; /* 设置横向滚动条的背景颜色为浅灰色 */\n"
|
||
" height: 5px; /* 设置滚动条的高度 */\n"
|
||
" margin: 0px 0px 0px 0px; /* 设置滚动条的外边距 */\n"
|
||
" }\n"
|
||
" QScrollBar::handle:horizontal {\n"
|
||
" background: #c0c0c0; /* 设置滚动条拖动手柄的背景颜色为灰色 */\n"
|
||
" min-width: 34px; /* 设置滚动条拖动手柄的最小宽度 */\n"
|
||
" }\n"
|
||
" QScrollBar::add-line:horizontal {\n"
|
||
" width: 0px; /* 设置横向滚动条向右箭头的宽度为0,即不显示 */\n"
|
||
" }\n"
|
||
" QScrollBar::sub-line:horizontal {\n"
|
||
" width: 0px; /* 设置横向滚动条向左箭头的宽度为0,即不显示 */\n"
|
||
" }")
|
||
self.tableViewInstruction.setEditTriggers(QtWidgets.QAbstractItemView.EditTrigger.NoEditTriggers)
|
||
self.tableViewInstruction.setAlternatingRowColors(True)
|
||
self.tableViewInstruction.setSelectionBehavior(QtWidgets.QAbstractItemView.SelectionBehavior.SelectRows)
|
||
self.tableViewInstruction.setShowGrid(False)
|
||
self.tableViewInstruction.setObjectName("tableViewInstruction")
|
||
self.tableViewInstruction.horizontalHeader().setVisible(True)
|
||
self.tableViewInstruction.verticalHeader().setVisible(False)
|
||
self.verticalLayout_4.addWidget(self.tableViewInstruction)
|
||
self.horizontalLayout_5.addWidget(self.groupBox_3)
|
||
self.verticalLayout_7.addLayout(self.horizontalLayout_5)
|
||
self.horizontalLayout_3 = QtWidgets.QHBoxLayout()
|
||
self.horizontalLayout_3.setObjectName("horizontalLayout_3")
|
||
spacerItem2 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Minimum)
|
||
self.horizontalLayout_3.addItem(spacerItem2)
|
||
self.pbSave = QtWidgets.QPushButton(parent=insertInstructionDlg)
|
||
self.pbSave.setStyleSheet("background-color: rgb(255, 255, 255);\n"
|
||
"color: rgb(0, 0, 0);")
|
||
self.pbSave.setObjectName("pbSave")
|
||
self.horizontalLayout_3.addWidget(self.pbSave)
|
||
self.pbCancel = QtWidgets.QPushButton(parent=insertInstructionDlg)
|
||
self.pbCancel.setStyleSheet("background-color: rgb(255, 255, 255);\n"
|
||
"color: rgb(0, 0, 0);")
|
||
self.pbCancel.setObjectName("pbCancel")
|
||
self.horizontalLayout_3.addWidget(self.pbCancel)
|
||
self.verticalLayout_7.addLayout(self.horizontalLayout_3)
|
||
|
||
self.retranslateUi(insertInstructionDlg)
|
||
QtCore.QMetaObject.connectSlotsByName(insertInstructionDlg)
|
||
|
||
def retranslateUi(self, insertInstructionDlg):
|
||
_translate = QtCore.QCoreApplication.translate
|
||
insertInstructionDlg.setWindowTitle(_translate("insertInstructionDlg", "Dialog"))
|
||
self.groupBox_4.setTitle(_translate("insertInstructionDlg", "设备分组"))
|
||
self.leSearchDevGroup.setPlaceholderText(_translate("insertInstructionDlg", "请输入关键词查询"))
|
||
self.groupBox.setTitle(_translate("insertInstructionDlg", "设备"))
|
||
self.leSearchDevice.setPlaceholderText(_translate("insertInstructionDlg", "请输入关键词查询"))
|
||
self.groupBox_2.setTitle(_translate("insertInstructionDlg", "功能"))
|
||
self.leSearchInstruction.setPlaceholderText(_translate("insertInstructionDlg", "请输入关键词查询"))
|
||
self.pbUp.setText(_translate("insertInstructionDlg", "⬆"))
|
||
self.pbRight.setText(_translate("insertInstructionDlg", "➡️"))
|
||
self.pbLeft.setText(_translate("insertInstructionDlg", "⬅️"))
|
||
self.pbDown.setText(_translate("insertInstructionDlg", "⬇"))
|
||
self.groupBox_3.setTitle(_translate("insertInstructionDlg", "指令"))
|
||
self.pbSave.setText(_translate("insertInstructionDlg", "添加"))
|
||
self.pbCancel.setText(_translate("insertInstructionDlg", "取消"))
|