deviceForm 0 0 1287 893 Form background-color: rgba(255, 255, 255, 0); 10 12 10 10 background-color: rgba(0, 0, 0, 0); Qt::Horizontal 11 0 0 16777215 16777215 background-color: rgba(0, 0, 0, 0); 10 0 0 0 0 0 279 16777215 279 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; } 0 0 0 10 15 20 18 21 16 黑体 18 75 true 设备分组 Qt::Horizontal 40 20 21 21 21 21 创建设备 :/resource/add.svg:/resource/add.svg 21 21 21 21 21 21 删除设备 :/resource/remove.svg:/resource/remove.svg 21 21 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) */ } Qt::ScrollBarAlwaysOff QAbstractItemView::DoubleClicked QAbstractItemView::DropOnly Qt::CopyAction true QAbstractItemView::ExtendedSelection QAbstractItemView::SelectRows false true 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; } 0 0 0 10 15 20 18 21 16 黑体 18 75 true 设备 Qt::Horizontal 40 20 21 21 21 21 导出设备模型 :/resource/export.svg:/resource/export.svg 21 21 21 21 21 21 创建设备 :/resource/add.svg:/resource/add.svg 21 21 21 21 21 21 删除设备 :/resource/remove.svg:/resource/remove.svg 21 21 21 21 21 21 编辑设备 :/resource/edit.svg:/resource/edit.svg 21 21 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) */ } Qt::ScrollBarAlwaysOff QAbstractItemView::NoEditTriggers QAbstractItemView::DragOnly Qt::CopyAction true QAbstractItemView::ExtendedSelection QAbstractItemView::SelectRows false true true 0 0 200 0 400 16777215 background-color: rgba(0, 0, 0, 0); 10 0 0 0 0 0 279 400 279 QWidget { background-color: white; /* 子部件的样式 */ border-radius: 9px; } 6 16 0 16 10 0 4 18 17 黑体 18 75 true 封面 Qt::Horizontal 40 20 0 1 16777214 1 background-color: rgb(241, 241, 241); 0 200 background-color: rgb(241, 241, 241); border-radius: 0px; 0 200 16777215 200 黑体 40 75 true Qt::LeftToRight color: rgb(221, 221, 221); 封面 Qt::AlignCenter 0 0 400 16777215 QWidget{ background-color: white; /* 子部件的样式 */ border-radius: 9px; } QComboBox { color: #000000 } QComboBox::drop-down { border: none } QComboBox::down-arrow { image: url(:/resource/dropdown.svg); width: 18px; height: 18px; } 0 0 0 0 10 20 18 16 黑体 18 75 true 接口 Qt::Horizontal 40 20 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) */ } Qt::ScrollBarAlwaysOff QAbstractItemView::NoEditTriggers false true QAbstractItemView::SingleSelection QAbstractItemView::SelectRows QAbstractItemView::ScrollPerItem false Qt::SolidLine true false 0 279 400 279 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; } 0 0 0 0 15 20 18 20 16 黑体 18 75 true 属性 Qt::Horizontal 40 20 21 21 21 21 添加属性 :/resource/add.svg:/resource/add.svg 21 21 21 21 21 21 删除属性 :/resource/remove.svg:/resource/remove.svg 21 21 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) */ } Qt::ScrollBarAlwaysOff true true true QAbstractItemView::SingleSelection QAbstractItemView::SelectRows false false 0 0 16777215 16777215 10 0 0 0 0 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; } 0 0 0 10 15 20 18 21 16 黑体 18 75 true 设备指令 Qt::Horizontal 40 20 21 21 21 21 编辑脚本Ctrl+E :/resource/cmd.svg:/resource/cmd.svg 21 21 Ctrl+E 21 21 21 21 运行 :/resource/run.svg:/resource/run.svg 21 21 21 21 21 21 停止 :/resource/stop.svg:/resource/stop.svg 21 21 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) */ } Qt::ScrollBarAlwaysOff QAbstractItemView::NoEditTriggers true QAbstractItemView::SingleSelection QAbstractItemView::SelectRows false true true 0 279 16777215 279 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; } 16 0 16 10 0 15 4 18 17 黑体 18 75 true 指令描述 Qt::Horizontal 40 20 0 1 16777214 1 background-color: rgb(241, 241, 241); false QTextEdit { border-radius: 0px; border-color: rgb(0, 0, 0); background-color: rgb(248, 249, 250); }