diagramConnectSetting 0 0 414 588 12 Dialog 0 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 302 18 /* 标签页容器 */ 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 HTTP设置 8 HTTP服务器配置 8 连接名称: ms 超时时间: Qt::Orientation::Vertical 20 40 服务器地址: Qt::Orientation::Horizontal 217 20 50 16777215 连接测试 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 状态: 未连接 Qt::Orientation::Horizontal 40 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; /* 浅灰色文字 */ } 测试数据服务 状态: 未连接 WebSoket设置 WebSocket服务器配置 8 Qt::Orientation::Horizontal 214 20 服务器地址 连接名称: ms 50 16777215 超时时间: 心跳间隔: 50 16777215 Qt::Orientation::Vertical 20 40 ms Qt::Orientation::Horizontal 217 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 状态: 未连接 Qt::Orientation::Horizontal 40 20 操作日志 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; /* 浅灰色文字 */ } 取消