customHMIGenerateDlg 0 0 935 667 12 Dialog 0 0 0 0 16777215 21 QWidget { background: #2c5282; color: white; border: none; } QWidget QLabel { color: white; font-size: 12px; background: transparent; } 0 0 自定义生成 Qt::Orientation::Horizontal 586 6 系统图工作区 对象列表 效果预览 控制面板 4 6 6 6 6 布局模式 相对位置 自动优化 Qt::Orientation::Horizontal 40 20 Qt::Orientation::Horizontal HMI名称 Qt::Orientation::Horizontal 40 20 尺寸 90 0 1920*1080 1600*1200 1280*960 800*600 400*300 Qt::Orientation::Horizontal 40 20 Qt::Orientation::Vertical 20 40 Qt::Orientation::Horizontal 40 20 60 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; /* 浅灰色文字 */ } 返回 Qt::Orientation::Horizontal 40 20 60 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; /* 浅灰色文字 */ } 生成 Qt::Orientation::Horizontal 40 20