projectDiagramNameInput 0 0 330 138 12 Dialog 0 0 0 0 0 0 25 16777215 25 QWidget { background: #2c5282; color: white; border: none; } QWidget QLabel { color: white; font-size: 12px; background: transparent; } 0 0 -1 输入组态图名称 Qt::Orientation::Horizontal 227 20 6 10 10 Qt::Orientation::Vertical 20 40 12 color: rgb(0, 0, 0); 名称 Qt::Orientation::Vertical 20 40 12 color: rgb(0, 0, 0); 提示: 60 0 12 color: rgb(0, 0, 0); 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; /* 浅灰色文字 */ } 确定 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; /* 浅灰色文字 */ } 取消