bacteria 0 0 1920 703 Form QSlider#horizontalSlider::groove:horizontal { border: none; height: 6px; border-radius: 3px; background: lightgray; } QSlider#horizontalSlider::handle:horizontal { border: none; margin: -5px 0px; /* 上下边距和左右边距*/ width: 16px; height: 16px; border-radius: 8px; background: rgb(35, 215, 255); } /*划过部分*/ QSlider#horizontalSlider::sub-page:horizontal { background: rgb(0, 170, 255); height: 4px; border-radius: 1px; } /*未划过部分*/ QSlider#horizontalSlider::add-page:horizontal { background: rgb(255, 255, 255); height: 4px; border-radius: 3px; } 0 QFrame::StyledPanel QFrame::Raised 0 border: none; :/new/icon/shang.png:/new/icon/shang.png 60 16 :/new/icon/xia.png:/new/icon/xia.png 60 16 QFrame::StyledPanel QFrame::Raised background-color: rgb(0, 0, 0); QFrame::StyledPanel QFrame::Raised 0 0 0 0 0 margin-left: 0px; 0 background-color: rgb(0, 0, 0); 111 background-color: rgb(0, 0, 0); TextLabel 0 Qt::Horizontal QSizePolicy::Fixed 350 20 QPushButton { background-color: qlineargradient(spread:pad, x1:0, y1:0, x2:1, y2:1, stop:0 rgba(0, 255, 255, 255) , stop:1 rgba(0, 144, 209, 255) ); color: rgb(255, 255, 255); border-radius: 4px; font: bold 10pt ; } 拍照 :/new/icon/Vector (3).png:/new/icon/Vector (3).png QPushButton { background-color: qlineargradient(spread:pad, x1:0, y1:0, x2:1, y2:1, stop:0 rgba(0, 255, 255, 255) , stop:1 rgba(0, 144, 209, 255) ); color: rgb(255, 255, 255); border-radius: 4px; } 重新拍照 :/new/icon/Vector (3).png:/new/icon/Vector (3).png PushButton Qt::Horizontal QSizePolicy::Expanding 720 20 font:10pt; 计数结果: font:12pt; Qt::Horizontal QSizePolicy::Fixed 30 20 QPushButton { background-color: qlineargradient(spread:pad, x1:0, y1:0, x2:1, y2:1, stop:0 rgba(0, 255, 255, 255) , stop:1 rgba(0, 144, 209, 255) ); color: rgb(255, 255, 255); border-radius: 4px; } 计数 :/new/icon/Frame (3).png:/new/icon/Frame (3).png QPushButton { background-color: qlineargradient(spread:pad, x1:0, y1:0, x2:1, y2:1, stop:0 rgba(0, 255, 255, 255) , stop:1 rgba(0, 144, 209, 255) ); color: rgb(255, 255, 255); border-radius: 4px; font: bold 10pt ; } 读取文件 :/new/icon/Frame (3).png:/new/icon/Frame (3).png Qt::Horizontal QSizePolicy::Fixed 280 20 0 9 0 0 0 QPushButton { background-color: qlineargradient(spread:pad, x1:0, y1:0, x2:1, y2:1, stop:0 rgba(0, 255, 255, 255) , stop:1 rgba(0, 144, 209, 255) ); color: rgb(255, 255, 255); border-radius: 4px; font: bold 10pt ; } 连接相机 :/new/icon/Vector (2).png:/new/icon/Vector (2).png Qt::Horizontal QSizePolicy::Fixed 40 20 QPushButton { background-color: qlineargradient(spread:pad, x1:0, y1:0, x2:1, y2:1, stop:0 rgba(0, 255, 255, 255) , stop:1 rgba(0, 144, 209, 255) ); color: rgb(255, 255, 255); border-radius: 4px; font: bold 10pt ; } 审查模式 QPushButton { background-color: qlineargradient(spread:pad, x1:0, y1:0, x2:1, y2:1, stop:0 rgba(0, 255, 255, 255) , stop:1 rgba(0, 144, 209, 255) ); color: rgb(255, 255, 255); border-radius: 4px; font: bold 10pt ; } 保存 0 Qt::Horizontal QSizePolicy::Fixed 10 20 PushButton dayin PushButton 上光源 QSlider::groove:horizontal { border: none; height: 6px; border-radius: 3px; background: lightgray; } QSlider::handle:horizontal { border: none; margin: -5px 0px; /* 上下边距和左右边距*/ width: 16px; height: 16px; border-radius: 8px; image: url(:/new/icon/yuan.png); } /*划过部分*/ QSlider::sub-page:horizontal { background-color: rgb(0, 170, 255); height: 4px; border-radius:3px; } /*未划过部分*/ QSlider::add-page:horizontal { background: rgb(208, 208, 208); height: 4px; border-radius: 3px; } 255 76 Qt::Horizontal QSlider::NoTicks 0 下光源 QSlider::groove:horizontal { border: none; height: 6px; border-radius: 3px; background: lightgray; } QSlider::handle:horizontal { border: none; margin: -5px 0px; /* 上下边距和左右边距*/ width: 16px; height: 16px; border-radius: 8px; image: url(:/new/icon/yuan.png); } /*划过部分*/ QSlider::sub-page:horizontal { background-color: rgb(0, 170, 255); height: 4px; border-radius:3px; } /*未划过部分*/ QSlider::add-page:horizontal { background: rgb(208, 208, 208); height: 4px; border-radius: 3px; } 255 0 Qt::Horizontal 0 检测半径 QSlider::groove:horizontal { border: none; height: 6px; border-radius: 3px; background: lightgray; } QSlider::handle:horizontal { border: none; margin: -5px 0px; /* 上下边距和左右边距*/ width: 16px; height: 16px; border-radius: 8px; image: url(:/new/icon/yuan.png); } /*划过部分*/ QSlider::sub-page:horizontal { background-color: rgb(0, 170, 255); height: 4px; border-radius:3px; } /*未划过部分*/ QSlider::add-page:horizontal { background: rgb(208, 208, 208); height: 4px; border-radius: 3px; } 100 92 Qt::Horizontal 10 TextLabel 阈值下限 QSlider::groove:horizontal { border: none; height: 6px; border-radius: 3px; background: lightgray; } QSlider::handle:horizontal { border: none; margin: -5px 0px; /* 上下边距和左右边距*/ width: 16px; height: 16px; border-radius: 8px; image: url(:/new/icon/yuan.png); } /*划过部分*/ QSlider::sub-page:horizontal { background-color: rgb(0, 170, 255); height: 4px; border-radius:3px; } /*未划过部分*/ QSlider::add-page:horizontal { background: rgb(208, 208, 208); height: 4px; border-radius: 3px; } 1 43 Qt::Horizontal QSlider::NoTicks 10 阈值上限 QSlider::groove:horizontal { border: none; height: 6px; border-radius: 3px; background: lightgray; } QSlider::handle:horizontal { border: none; margin: -5px 0px; /* 上下边距和左右边距*/ width: 16px; height: 16px; border-radius: 8px; image: url(:/new/icon/yuan.png); } /*划过部分*/ QSlider::sub-page:horizontal { background-color: rgb(0, 170, 255); height: 4px; border-radius:3px; } /*未划过部分*/ QSlider::add-page:horizontal { background: rgb(208, 208, 208); height: 4px; border-radius: 3px; } 99 Qt::Horizontal border: 1px solid rgb(175, 175, 175) ; 历史记录 Qt::Horizontal QSizePolicy::Fixed 40 20 Qt::Horizontal QSizePolicy::Fixed 10 20 cammer QWidget
cammer.h
1