diagramView 0 0 266 455 Dialog 0 0 0 0 0 12 QTabWidget::pane { border: 1px solid #e2e8f0; border-radius: 4px; background-color: white; margin-top: 4px; } /* 标签栏 */ QTabWidget::tab-bar { alignment: left; padding: 1px 1px 0 1px; } /* 单个标签 */ QTabBar::tab { background-color: #f8fafc; color: #94a3b8; border: 1px solid #e2e8f0; border-bottom: none; border-top-left-radius: 3px; border-top-right-radius: 3px; padding: 6px 16px; margin-right: 2px; font-size: 11px; font-weight: 500; } /* 标签悬停 */ QTabBar::tab:hover { background-color: #f1f5f9; color: #64748b; border-color: #cbd5e1; } /* 标签选中 */ QTabBar::tab:selected { background-color: white; color: #1e293b; border-color: #e2e8f0; border-bottom-color: white; font-weight: 500; margin-bottom: -1px; padding-top: 7px; } 0 基模组态 1 0 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; /* 浅灰色文字 */ } 新建项目 0 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; /* 浅灰色文字 */ } 加载项目 0 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; /* 浅灰色文字 */ } 保存设置 工程模组态