342 lines
9.0 KiB
XML
342 lines
9.0 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>HyperImagerControl</class>
|
|
<widget class="QWidget" name="HyperImagerControl">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>437</width>
|
|
<height>372</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>Color Adjust</string>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">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;
|
|
}</string>
|
|
</property>
|
|
<layout class="QGridLayout" name="gridLayout_2" rowstretch="3,2">
|
|
<item row="0" column="0">
|
|
<widget class="AspectRatioLabel" name="imagerPictureLabel">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Ignored" vsizetype="Ignored">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<widget class="QWidget" name="widget_3" native="true">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<layout class="QGridLayout" name="gridLayout">
|
|
<property name="horizontalSpacing">
|
|
<number>16</number>
|
|
</property>
|
|
<item row="0" column="1">
|
|
<widget class="QDoubleSpinBox" name="framerate_spinBox">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="decimals">
|
|
<number>2</number>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="2">
|
|
<widget class="QDoubleSlider" name="FramerateSlider">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="0">
|
|
<widget class="QLabel" name="label_3">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Maximum" vsizetype="Preferred">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>0</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>16777215</width>
|
|
<height>16777215</height>
|
|
</size>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">color: rgb(255, 255, 255);</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>gain</string>
|
|
</property>
|
|
<property name="alignment">
|
|
<set>Qt::AlignCenter</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<widget class="QLabel" name="label_2">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Maximum" vsizetype="Preferred">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>16777215</width>
|
|
<height>16777215</height>
|
|
</size>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">color: rgb(255, 255, 255);</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>积分时间</string>
|
|
</property>
|
|
<property name="alignment">
|
|
<set>Qt::AlignCenter</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="1">
|
|
<widget class="QDoubleSpinBox" name="gain_spinBox">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="decimals">
|
|
<number>2</number>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="2">
|
|
<widget class="QSlider" name="GainSlider">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="1">
|
|
<widget class="QDoubleSpinBox" name="integratioin_time_spinBox">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="decimals">
|
|
<number>2</number>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="2">
|
|
<widget class="QDoubleSlider" name="IntegratioinTimeSlider">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="0">
|
|
<widget class="QLabel" name="label">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Maximum" vsizetype="Preferred">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>0</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>16777215</width>
|
|
<height>16777215</height>
|
|
</size>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">color: rgb(255, 255, 255);</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>帧率</string>
|
|
</property>
|
|
<property name="alignment">
|
|
<set>Qt::AlignCenter</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="3">
|
|
<widget class="QLabel" name="label_4">
|
|
<property name="text">
|
|
<string>hz</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="3">
|
|
<widget class="QLabel" name="label_5">
|
|
<property name="text">
|
|
<string>ms</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<customwidgets>
|
|
<customwidget>
|
|
<class>AspectRatioLabel</class>
|
|
<extends>QLabel</extends>
|
|
<header>AspectRatioLabel.h</header>
|
|
</customwidget>
|
|
<customwidget>
|
|
<class>QDoubleSlider</class>
|
|
<extends>QSlider</extends>
|
|
<header location="global">qdoubleslider.h</header>
|
|
</customwidget>
|
|
</customwidgets>
|
|
<resources/>
|
|
<connections/>
|
|
</ui>
|