monitorDisplaySettingDlg 0 0 500 453 12 Dialog 4 0 0 0 0 0 21 16777215 21 QWidget { background: #2c5282; color: white; border: none; } QWidget QLabel { color: white; font-size: 12px; background: transparent; } 0 6 0 0 0 图元状态配置 Qt::Orientation::Horizontal 584 18 40 40 设备: Qt::Orientation::Horizontal 40 20 状态: 状态预览 160 160 border:1px solid grey; Qt::Orientation::Horizontal Qt::Orientation::Vertical 20 80 状态设置 6 效果设置: 颜色设置: 0 0 0 0 0 0 辅助颜色: 选择颜色 闪烁 QPushButton { background-color: #5a79a1; /* 中性灰蓝,不刺眼 */ color: white; border: none; /* 无边框,扁平化 */ border-radius: 4px; /* 小圆角,扁平感 */ font-size: 13px; /* 适中字号 */ font-weight: 500; /* 中等字重 */ } QPushButton:hover { background-color: #4a5d7e; /* 稍深的灰蓝 */ } QPushButton:pressed { background-color: #3d4e6b; /* 更深的灰蓝 */ } QPushButton:disabled { background-color: #a0b3d1; /* 灰调的浅蓝 */ color: #d1dce9; /* 浅灰色文字 */ } 选择图标 尺寸 4 4 4 4 4 宽: 高: QPushButton { background-color: #5a79a1; /* 中性灰蓝,不刺眼 */ color: white; border: none; /* 无边框,扁平化 */ border-radius: 4px; /* 小圆角,扁平感 */ font-size: 13px; /* 适中字号 */ font-weight: 500; /* 中等字重 */ } QPushButton:hover { background-color: #4a5d7e; /* 稍深的灰蓝 */ } QPushButton:pressed { background-color: #3d4e6b; /* 更深的灰蓝 */ } QPushButton:disabled { background-color: #a0b3d1; /* 灰调的浅蓝 */ color: #d1dce9; /* 浅灰色文字 */ } 选择颜色 图标设置: 启用自定义 Qt::Orientation::Vertical 20 40 Qt::Orientation::Horizontal 40 20 80 20 QPushButton { background-color: #5a79a1; /* 中性灰蓝,不刺眼 */ color: white; border: none; /* 无边框,扁平化 */ border-radius: 4px; /* 小圆角,扁平感 */ font-size: 13px; /* 适中字号 */ font-weight: 500; /* 中等字重 */ } QPushButton:hover { background-color: #4a5d7e; /* 稍深的灰蓝 */ } QPushButton:pressed { background-color: #3d4e6b; /* 更深的灰蓝 */ } QPushButton:disabled { background-color: #a0b3d1; /* 灰调的浅蓝 */ color: #d1dce9; /* 浅灰色文字 */ } 保存 Qt::Orientation::Horizontal 40 20 80 20 QPushButton { background-color: #5a79a1; /* 中性灰蓝,不刺眼 */ color: white; border: none; /* 无边框,扁平化 */ border-radius: 4px; /* 小圆角,扁平感 */ font-size: 13px; /* 适中字号 */ font-weight: 500; /* 中等字重 */ } QPushButton:hover { background-color: #4a5d7e; /* 稍深的灰蓝 */ } QPushButton:pressed { background-color: #3d4e6b; /* 更深的灰蓝 */ } QPushButton:disabled { background-color: #a0b3d1; /* 灰调的浅蓝 */ color: #d1dce9; /* 浅灰色文字 */ } 取消 Qt::Orientation::Horizontal 40 20 MonitorItemPreviewDlg QWidget
monitorItemPreviewDlg.h
1