241 lines
6.1 KiB
XML
241 lines
6.1 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>SingleLensReflexCameraClass</class>
|
|
<widget class="QDialog" name="SingleLensReflexCameraClass">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>855</width>
|
|
<height>481</height>
|
|
</rect>
|
|
</property>
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>SingleLensReflexCamera</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: 19pt "新宋体";
|
|
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 16px;
|
|
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;
|
|
}</string>
|
|
</property>
|
|
<layout class="QGridLayout" name="gridLayout">
|
|
<item row="0" column="1">
|
|
<spacer name="verticalSpacer">
|
|
<property name="orientation">
|
|
<enum>Qt::Vertical</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>18</width>
|
|
<height>100</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<spacer name="horizontalSpacer">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>135</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
<item row="1" column="1">
|
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
|
<item>
|
|
<widget class="QPushButton" name="openSLRCamera_btn">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="text">
|
|
<string>打 开</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="closeSLRCamera_btn">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="text">
|
|
<string>关 闭</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item row="2" column="2">
|
|
<spacer name="horizontalSpacer_2">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>135</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
<item row="3" column="1">
|
|
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
|
<item>
|
|
<widget class="QLabel" name="label">
|
|
<property name="styleSheet">
|
|
<string notr="true">QLabel {
|
|
color: rgb(255, 255, 255);
|
|
}</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>数据路径</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLineEdit" name="dataFolderLineEdit">
|
|
<property name="styleSheet">
|
|
<string notr="true">QLineEdit {
|
|
background-color: #142D7F;
|
|
color: #e6eeff;
|
|
border: 1px solid #2f6bff;
|
|
border-radius: 6px;
|
|
padding: 4px 8px;
|
|
min-width: 70px;
|
|
min-height: 20px;
|
|
font-size: 13px;
|
|
}</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>./CapturedImages</string>
|
|
</property>
|
|
<property name="readOnly">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="dataFolderBtn">
|
|
<property name="text">
|
|
<string>...</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item row="4" column="1">
|
|
<spacer name="verticalSpacer_3">
|
|
<property name="orientation">
|
|
<enum>Qt::Vertical</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>18</width>
|
|
<height>100</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
<item row="2" column="1">
|
|
<layout class="QHBoxLayout" name="horizontalLayout_3">
|
|
<item>
|
|
<widget class="QPushButton" name="takePhoto_btn">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="text">
|
|
<string>拍 摄</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="stopTakePhoto_btn">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="text">
|
|
<string>停 拍</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
</layout>
|
|
<zorder>dataFolderLineEdit</zorder>
|
|
<zorder>dataFolderBtn</zorder>
|
|
<zorder>label</zorder>
|
|
<zorder>openSLRCamera_btn</zorder>
|
|
<zorder>layoutWidget</zorder>
|
|
</widget>
|
|
<layoutdefault spacing="6" margin="11"/>
|
|
<resources/>
|
|
<connections/>
|
|
</ui>
|