257 lines
7.2 KiB
XML
257 lines
7.2 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>DialogCameraSetting</class>
|
|
<widget class="QDialog" name="DialogCameraSetting">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>560</width>
|
|
<height>380</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>相机设置</string>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">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; }</string>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="vl_root">
|
|
<property name="spacing">
|
|
<number>18</number>
|
|
</property>
|
|
<property name="leftMargin">
|
|
<number>28</number>
|
|
</property>
|
|
<property name="topMargin">
|
|
<number>22</number>
|
|
</property>
|
|
<property name="rightMargin">
|
|
<number>28</number>
|
|
</property>
|
|
<property name="bottomMargin">
|
|
<number>22</number>
|
|
</property>
|
|
<item>
|
|
<widget class="QLabel" name="label_title">
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>-1</pointsize>
|
|
<bold>true</bold>
|
|
</font>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">color: rgb(221, 225, 233);</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>相机设置</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<layout class="QFormLayout" name="fl_main">
|
|
<property name="horizontalSpacing">
|
|
<number>18</number>
|
|
</property>
|
|
<property name="verticalSpacing">
|
|
<number>14</number>
|
|
</property>
|
|
<item row="0" column="0">
|
|
<widget class="QLabel" name="lb_ip">
|
|
<property name="text">
|
|
<string>服务端IP</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="1">
|
|
<widget class="QLineEdit" name="edit_ip">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>0</width>
|
|
<height>40</height>
|
|
</size>
|
|
</property>
|
|
<property name="placeholderText">
|
|
<string>192.168.1.10</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<widget class="QLabel" name="lb_exposure">
|
|
<property name="text">
|
|
<string>曝光时间 (μs)</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="1">
|
|
<widget class="QLineEdit" name="edit_exposure">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>0</width>
|
|
<height>40</height>
|
|
</size>
|
|
</property>
|
|
<property name="placeholderText">
|
|
<string>例如 10000</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="0">
|
|
<widget class="QLabel" name="lb_gain">
|
|
<property name="text">
|
|
<string>增益</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="1">
|
|
<widget class="QLineEdit" name="edit_gain">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>0</width>
|
|
<height>40</height>
|
|
</size>
|
|
</property>
|
|
<property name="placeholderText">
|
|
<string>例如 1.0</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<spacer name="sp_v">
|
|
<property name="orientation">
|
|
<enum>Qt::Vertical</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>20</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
<item>
|
|
<layout class="QHBoxLayout" name="hl_btn">
|
|
<property name="spacing">
|
|
<number>12</number>
|
|
</property>
|
|
<item>
|
|
<widget class="QPushButton" name="btn_reset">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>110</width>
|
|
<height>48</height>
|
|
</size>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>14</pointsize>
|
|
<bold>true</bold>
|
|
</font>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="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); }</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>重置默认</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="btn_apply">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>100</width>
|
|
<height>48</height>
|
|
</size>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>14</pointsize>
|
|
<bold>true</bold>
|
|
</font>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="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); }</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>应用</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer name="sp_btn">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>40</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="btn_ok">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>100</width>
|
|
<height>48</height>
|
|
</size>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>14</pointsize>
|
|
<bold>true</bold>
|
|
</font>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="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); }</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>确定</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="btn_cancel">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>100</width>
|
|
<height>48</height>
|
|
</size>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>14</pointsize>
|
|
<bold>true</bold>
|
|
</font>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="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); }</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>取消</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<resources/>
|
|
<connections/>
|
|
</ui>
|