DialogCameraSetting 0 0 560 380 相机设置 QDialog { background-color: rgb(38, 40, 47); } QLabel { color: rgb(239, 241, 245); font-size: 18px; background: none; } QLineEdit { color: rgb(239, 241, 245); background-color: rgb(47, 48, 52); border: 1px solid rgb(70, 72, 78); border-radius: 4px; padding: 6px; font-size: 18px; } 18 28 22 28 22 -1 true color: rgb(221, 225, 233); 相机设置 18 14 服务端IP 0 40 192.168.1.10 曝光时间 (μs) 0 40 例如 10000 增益 0 40 例如 1.0 Qt::Vertical 20 20 12 110 48 14 true QPushButton { background-color: rgb(120, 80, 80); color: rgb(221, 225, 233); border: none; border-radius: 4px; } QPushButton:hover { background-color: rgb(140, 100, 100); } QPushButton:pressed { background-color: rgb(100, 60, 60); } 重置默认 100 48 14 true QPushButton { background-color: rgb(60, 120, 80); color: rgb(221, 225, 233); border: none; border-radius: 4px; } QPushButton:hover { background-color: rgb(80, 140, 100); } QPushButton:pressed { background-color: rgb(40, 100, 60); } 应用 Qt::Horizontal 40 20 100 48 14 true QPushButton { background-color: rgb(60, 120, 180); color: rgb(221, 225, 233); border: none; border-radius: 4px; } QPushButton:hover { background-color: rgb(80, 140, 200); } QPushButton:pressed { background-color: rgb(40, 100, 160); } 确定 100 48 14 true QPushButton { background-color: rgb(120, 120, 120); color: rgb(221, 225, 233); border: none; border-radius: 4px; } QPushButton:hover { background-color: rgb(140, 140, 140); } QPushButton:pressed { background-color: rgb(100, 100, 100); } 取消