148 lines
7.4 KiB
XML
148 lines
7.4 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>DialogAlgoArg</class>
|
|
<widget class="QDialog" name="DialogAlgoArg">
|
|
<property name="geometry">
|
|
<rect><x>0</x><y>0</y><width>640</width><height>500</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="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>
|
|
<property name="spacing"><number>18</number></property>
|
|
<item>
|
|
<widget class="QLabel" name="label_title">
|
|
<property name="font"><font><pointsize>20</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_score"><property name="text"><string>置信度阈值</string></property></widget>
|
|
</item>
|
|
<item row="0" column="1">
|
|
<widget class="QLineEdit" name="edit_score">
|
|
<property name="minimumSize"><size><width>0</width><height>40</height></size></property>
|
|
<property name="placeholderText"><string>0.00 ~ 1.00</string></property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<widget class="QLabel" name="lb_nms"><property name="text"><string>NMS 阈值</string></property></widget>
|
|
</item>
|
|
<item row="1" column="1">
|
|
<widget class="QLineEdit" name="edit_nms">
|
|
<property name="minimumSize"><size><width>0</width><height>40</height></size></property>
|
|
<property name="placeholderText"><string>0.00 ~ 1.00</string></property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="0">
|
|
<widget class="QLabel" name="lb_width"><property name="text"><string>输入宽</string></property></widget>
|
|
</item>
|
|
<item row="2" column="1">
|
|
<widget class="QLineEdit" name="edit_width">
|
|
<property name="minimumSize"><size><width>0</width><height>40</height></size></property>
|
|
<property name="placeholderText"><string>0 ~ 8192</string></property>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="0">
|
|
<widget class="QLabel" name="lb_height"><property name="text"><string>输入高</string></property></widget>
|
|
</item>
|
|
<item row="3" column="1">
|
|
<widget class="QLineEdit" name="edit_height">
|
|
<property name="minimumSize"><size><width>0</width><height>40</height></size></property>
|
|
<property name="placeholderText"><string>0 ~ 8192</string></property>
|
|
</widget>
|
|
</item>
|
|
<item row="4" column="0">
|
|
<widget class="QLabel" name="lb_modelType"><property name="text"><string>模型类型</string></property></widget>
|
|
</item>
|
|
<item row="4" column="1">
|
|
<widget class="QLineEdit" name="edit_modelType">
|
|
<property name="minimumSize"><size><width>0</width><height>40</height></size></property>
|
|
<property name="placeholderText"><string>0 ~ 10</string></property>
|
|
</widget>
|
|
</item>
|
|
<item row="5" column="0">
|
|
<widget class="QLabel" name="lb_model"><property name="text"><string>模型路径</string></property></widget>
|
|
</item>
|
|
<item row="5" column="1">
|
|
<widget class="QLineEdit" name="edit_model">
|
|
<property name="minimumSize"><size><width>0</width><height>40</height></size></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>
|