HyperImagerControl 0 0 437 372 Color Adjust QGroupBox { border: 12px solid transparent; /*border-top: 12px solid transparent; border-right: 0px solid transparent; border-bottom: 0px solid transparent; border-left: 0px solid transparent;*/ color: #ACCDFF; } QPushButton { /*width: 172px; height: 56px;*/ font: 10pt "新宋体"; background-color: qlineargradient( spread:pad, x1:0.5, y1:0, x2:0.5, y2:1, stop:0 #283D86, stop:1 #0F1A40 ); color: white; border: none; padding: 8px 8px; border-radius: 4px; } QPushButton:hover { background-color: qlineargradient( spread:pad, x1:0, y1:0, x2:1, y2:0, stop:0 #3A4875, stop:1 #5F6B91 ); } /* 按下时的效果 */ QPushButton:pressed { background-color: qlineargradient( spread:pad, x1:0, y1:0, x2:1, y2:0, stop:0 #1A254F, stop:1 #3A466B ); /* 可选:添加下压效果 */ padding-top: 9px; padding-bottom: 7px; } QLabel { color: rgb(255, 255, 255); } QSlider::groove:horizontal { height: 10px; background: #1e2a44; border-radius: 3px; } /* 已滑过:渐变蓝 */ QSlider::sub-page:horizontal { background: qlineargradient( x1:0, y1:0, x2:1, y2:0, stop:0 #1f4fff, stop:0.5 #2f6bff, stop:1 #5fa0ff ); border-radius: 3px; } /* 未滑过 */ QSlider::add-page:horizontal { height: 10px; background: #2a3550; border-radius: 3px; } /* ===== 滑块按钮 ===== */ QSlider::handle:horizontal { width: 15px; height: 10px; /* 蓝色实心 */ background: #2f6bff; /* 白色外圈 */ border: 2px solid #ffffff; border-radius: 5px; /* 垂直居中 */ margin: -5px 0; } /* 悬停 */ QSlider::handle:horizontal:hover { background: #4d8dff; } /* 按下 */ QSlider::handle:horizontal:pressed { background: #1f4fff; } 0 0 0 0 16 0 0 2 0 0 Qt::Horizontal 0 0 0 0 16777215 16777215 color: rgb(255, 255, 255); gain Qt::AlignCenter 0 0 16777215 16777215 color: rgb(255, 255, 255); 积分时间 Qt::AlignCenter 0 0 2 0 0 Qt::Horizontal 0 0 2 0 0 Qt::Horizontal 0 0 0 0 16777215 16777215 color: rgb(255, 255, 255); 帧率 Qt::AlignCenter hz ms AspectRatioLabel QLabel
AspectRatioLabel.h
QDoubleSlider QSlider
qdoubleslider.h