1072 lines
34 KiB
XML
1072 lines
34 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
||
<ui version="4.0">
|
||
<class>DialogAlgoarg</class>
|
||
<widget class="QWidget" name="DialogAlgoarg">
|
||
<property name="geometry">
|
||
<rect>
|
||
<x>0</x>
|
||
<y>0</y>
|
||
<width>889</width>
|
||
<height>635</height>
|
||
</rect>
|
||
</property>
|
||
<property name="windowTitle">
|
||
<string>算法参数配置</string>
|
||
</property>
|
||
<property name="styleSheet">
|
||
<string notr="true">background-color: rgb(25, 26, 28);</string>
|
||
</property>
|
||
<widget class="QLabel" name="label_title">
|
||
<property name="geometry">
|
||
<rect>
|
||
<x>40</x>
|
||
<y>20</y>
|
||
<width>820</width>
|
||
<height>41</height>
|
||
</rect>
|
||
</property>
|
||
<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>
|
||
<widget class="QTabWidget" name="tabWidget">
|
||
<property name="geometry">
|
||
<rect>
|
||
<x>40</x>
|
||
<y>80</y>
|
||
<width>821</width>
|
||
<height>481</height>
|
||
</rect>
|
||
</property>
|
||
<property name="font">
|
||
<font>
|
||
<pointsize>14</pointsize>
|
||
</font>
|
||
</property>
|
||
<property name="styleSheet">
|
||
<string notr="true">QTabWidget::pane { border: 1px solid rgb(100, 100, 100); }
|
||
QTabBar::tab { background-color: rgb(47, 48, 52); color: rgb(221, 225, 233); padding: 8px; min-width: 100px; }
|
||
QTabBar::tab:selected { background-color: rgb(70, 72, 78); border-bottom: 2px solid rgb(100, 150, 200); }
|
||
QLineEdit { color: rgb(221, 225, 233); background-color: rgb(47, 48, 52); border: 1px solid rgb(70, 72, 78); padding: 4px; }
|
||
QLabel { color: rgb(221, 225, 233); }
|
||
QGroupBox { color: rgb(221, 225, 233); border: 1px solid rgb(100, 100, 100); border-radius: 4px; margin-top: 12px; padding-top: 8px; }
|
||
QGroupBox::title { subcontrol-origin: margin; left: 10px; padding: 0 3px 0 3px; }</string>
|
||
</property>
|
||
<property name="currentIndex">
|
||
<number>0</number>
|
||
</property>
|
||
<widget class="QWidget" name="tab_workpieceSizes">
|
||
<property name="font">
|
||
<font>
|
||
<pointsize>16</pointsize>
|
||
</font>
|
||
</property>
|
||
<property name="styleSheet">
|
||
<string notr="true">QTableWidget, QHeaderView, QLineEdit, QPushButton, QToolButton, QComboBox, QLabel { font-size: 16pt; }
|
||
QTableWidget { color: rgb(221,225,233); background-color: rgb(47,48,52); gridline-color: rgb(70,72,78); selection-background-color: rgb(60,120,180); }
|
||
QHeaderView::section { color: rgb(221,225,233); background-color: rgb(70,72,78); padding: 6px; }
|
||
QPushButton, QToolButton, QComboBox { color: rgb(221,225,233); background-color: rgb(47,48,52); border: 1px solid rgb(100,100,100); border-radius: 4px; padding: 6px; }
|
||
QPushButton:disabled, QToolButton:disabled { color: rgb(100,100,100); }
|
||
QComboBox QAbstractItemView { color: rgb(221,225,233); background-color: rgb(47,48,52); selection-background-color: rgb(60,120,180); }</string>
|
||
</property>
|
||
<attribute name="title">
|
||
<string>工件尺寸</string>
|
||
</attribute>
|
||
<layout class="QVBoxLayout" name="verticalLayout_workpieceSizes">
|
||
<property name="spacing">
|
||
<number>12</number>
|
||
</property>
|
||
<property name="leftMargin">
|
||
<number>20</number>
|
||
</property>
|
||
<property name="topMargin">
|
||
<number>20</number>
|
||
</property>
|
||
<property name="rightMargin">
|
||
<number>20</number>
|
||
</property>
|
||
<property name="bottomMargin">
|
||
<number>20</number>
|
||
</property>
|
||
<item>
|
||
<widget class="QTableWidget" name="tableWidget_workpieceSizes">
|
||
<property name="font">
|
||
<font>
|
||
<pointsize>16</pointsize>
|
||
</font>
|
||
</property>
|
||
<property name="editTriggers">
|
||
<set>QAbstractItemView::DoubleClicked</set>
|
||
</property>
|
||
<property name="selectionMode">
|
||
<enum>QAbstractItemView::SingleSelection</enum>
|
||
</property>
|
||
<property name="selectionBehavior">
|
||
<enum>QAbstractItemView::SelectRows</enum>
|
||
</property>
|
||
<property name="sortingEnabled">
|
||
<bool>false</bool>
|
||
</property>
|
||
<attribute name="horizontalHeaderDefaultSectionSize">
|
||
<number>160</number>
|
||
</attribute>
|
||
<attribute name="horizontalHeaderStretchLastSection">
|
||
<bool>true</bool>
|
||
</attribute>
|
||
<attribute name="verticalHeaderVisible">
|
||
<bool>false</bool>
|
||
</attribute>
|
||
<attribute name="verticalHeaderDefaultSectionSize">
|
||
<number>42</number>
|
||
</attribute>
|
||
<column>
|
||
<property name="text">
|
||
<string>工件序号</string>
|
||
</property>
|
||
</column>
|
||
<column>
|
||
<property name="text">
|
||
<string>半径 (mm)</string>
|
||
</property>
|
||
</column>
|
||
<column>
|
||
<property name="text">
|
||
<string>高度 (mm)</string>
|
||
</property>
|
||
</column>
|
||
<column>
|
||
<property name="text">
|
||
<string>操作</string>
|
||
</property>
|
||
</column>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<layout class="QHBoxLayout" name="horizontalLayout_workpieceActions">
|
||
<item>
|
||
<widget class="QPushButton" name="btn_workpieceAdd">
|
||
<property name="text">
|
||
<string> 新增 </string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<spacer name="spacer_workpieceActions">
|
||
<property name="orientation">
|
||
<enum>Qt::Horizontal</enum>
|
||
</property>
|
||
<property name="sizeHint" stdset="0">
|
||
<size>
|
||
<width>20</width>
|
||
<height>20</height>
|
||
</size>
|
||
</property>
|
||
</spacer>
|
||
</item>
|
||
<item>
|
||
<widget class="QLabel" name="label_defaultWorkpiece">
|
||
<property name="text">
|
||
<string>默认工件</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<widget class="QComboBox" name="comboBox_defaultWorkpiece">
|
||
<property name="minimumSize">
|
||
<size>
|
||
<width>90</width>
|
||
<height>0</height>
|
||
</size>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
</layout>
|
||
</item>
|
||
</layout>
|
||
</widget>
|
||
<widget class="QWidget" name="tab">
|
||
<attribute name="title">
|
||
<string>转子参数</string>
|
||
</attribute>
|
||
<widget class="QGroupBox" name="groupBox_binDetection">
|
||
<property name="geometry">
|
||
<rect>
|
||
<x>20</x>
|
||
<y>20</y>
|
||
<width>781</width>
|
||
<height>321</height>
|
||
</rect>
|
||
</property>
|
||
<property name="font">
|
||
<font>
|
||
<pointsize>16</pointsize>
|
||
</font>
|
||
</property>
|
||
<property name="title">
|
||
<string>转子钢芯算法参数</string>
|
||
</property>
|
||
<layout class="QFormLayout" name="formLayout_binDetection">
|
||
<property name="horizontalSpacing">
|
||
<number>8</number>
|
||
</property>
|
||
<property name="verticalSpacing">
|
||
<number>8</number>
|
||
</property>
|
||
<item row="2" column="0">
|
||
<widget class="QLabel" name="label_spacerLength">
|
||
<property name="font">
|
||
<font>
|
||
<pointsize>16</pointsize>
|
||
</font>
|
||
</property>
|
||
<property name="text">
|
||
<string>隔板标称长度</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="2" column="1">
|
||
<widget class="QLineEdit" name="lineEdit_spacerLength">
|
||
<property name="font">
|
||
<font>
|
||
<pointsize>16</pointsize>
|
||
</font>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="3" column="0">
|
||
<widget class="QLabel" name="label_spacerWidth">
|
||
<property name="font">
|
||
<font>
|
||
<pointsize>16</pointsize>
|
||
</font>
|
||
</property>
|
||
<property name="text">
|
||
<string>隔板标称宽度</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="3" column="1">
|
||
<widget class="QLineEdit" name="lineEdit_spacerWidth">
|
||
<property name="font">
|
||
<font>
|
||
<pointsize>16</pointsize>
|
||
</font>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="6" column="0">
|
||
<widget class="QLabel" name="label_groundRemoveOffset">
|
||
<property name="font">
|
||
<font>
|
||
<pointsize>16</pointsize>
|
||
</font>
|
||
</property>
|
||
<property name="text">
|
||
<string>地面去除Z偏置</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="6" column="1">
|
||
<widget class="QLineEdit" name="lineEdit_groundRemoveOffset">
|
||
<property name="font">
|
||
<font>
|
||
<pointsize>16</pointsize>
|
||
</font>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="4" column="0">
|
||
<widget class="QLabel" name="label_layerRatio">
|
||
<property name="font">
|
||
<font>
|
||
<pointsize>16</pointsize>
|
||
</font>
|
||
</property>
|
||
<property name="text">
|
||
<string>分层系数</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="4" column="1">
|
||
<widget class="QLineEdit" name="lineEdit_layerRatio">
|
||
<property name="font">
|
||
<font>
|
||
<pointsize>16</pointsize>
|
||
</font>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="5" column="0">
|
||
<widget class="QLabel" name="label_distToSideRatio">
|
||
<property name="font">
|
||
<font>
|
||
<pointsize>16</pointsize>
|
||
</font>
|
||
</property>
|
||
<property name="text">
|
||
<string>边距系数</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="5" column="1">
|
||
<widget class="QLineEdit" name="lineEdit_distToSideRatio">
|
||
<property name="font">
|
||
<font>
|
||
<pointsize>16</pointsize>
|
||
</font>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="7" column="0">
|
||
<widget class="QLabel" name="label_toolNormalMode">
|
||
<property name="font">
|
||
<font>
|
||
<pointsize>16</pointsize>
|
||
</font>
|
||
</property>
|
||
<property name="text">
|
||
<string>工具法向方式</string>
|
||
</property>
|
||
<property name="buddy">
|
||
<cstring>comboBox_toolNormalMode</cstring>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="7" column="1">
|
||
<widget class="QComboBox" name="comboBox_toolNormalMode">
|
||
<property name="font">
|
||
<font>
|
||
<pointsize>16</pointsize>
|
||
</font>
|
||
</property>
|
||
<property name="toolTip">
|
||
<string>选择算法使用的法向:工件自身法向,或调平后的地面法向。</string>
|
||
</property>
|
||
<property name="styleSheet">
|
||
<string notr="true">QComboBox {
|
||
color: rgb(221, 225, 233);
|
||
background-color: rgb(47, 48, 52);
|
||
border: 1px solid rgb(70, 72, 78);
|
||
border-radius: 4px;
|
||
padding: 4px;
|
||
}
|
||
QComboBox QAbstractItemView {
|
||
color: rgb(221, 225, 233);
|
||
background-color: rgb(47, 48, 52);
|
||
selection-color: rgb(255, 255, 255);
|
||
selection-background-color: rgb(60, 120, 180);
|
||
}</string>
|
||
</property>
|
||
<property name="currentIndex">
|
||
<number>0</number>
|
||
</property>
|
||
<item>
|
||
<property name="text">
|
||
<string>工件自身法向</string>
|
||
</property>
|
||
</item>
|
||
<item>
|
||
<property name="text">
|
||
<string>调平后的地面法向</string>
|
||
</property>
|
||
</item>
|
||
</widget>
|
||
</item>
|
||
</layout>
|
||
</widget>
|
||
</widget>
|
||
<widget class="QWidget" name="tab_modelDetection">
|
||
<property name="font">
|
||
<font>
|
||
<pointsize>16</pointsize>
|
||
</font>
|
||
</property>
|
||
<property name="styleSheet">
|
||
<string notr="true">QTableWidget, QHeaderView, QLineEdit, QPushButton, QToolButton, QComboBox, QLabel, QDoubleSpinBox, QSpinBox { font-size: 16pt; }</string>
|
||
</property>
|
||
<attribute name="title">
|
||
<string>模型检测</string>
|
||
</attribute>
|
||
<layout class="QVBoxLayout" name="verticalLayout_modelDetection">
|
||
<property name="spacing">
|
||
<number>10</number>
|
||
</property>
|
||
<property name="leftMargin">
|
||
<number>24</number>
|
||
</property>
|
||
<property name="topMargin">
|
||
<number>24</number>
|
||
</property>
|
||
<property name="rightMargin">
|
||
<number>24</number>
|
||
</property>
|
||
<property name="bottomMargin">
|
||
<number>24</number>
|
||
</property>
|
||
<item>
|
||
<widget class="QGroupBox" name="groupBox_graySelection">
|
||
<property name="font"><font><pointsize>16</pointsize></font></property>
|
||
<property name="styleSheet">
|
||
<string notr="true">QGroupBox, QLabel { color: rgb(221, 225, 233); }
|
||
QDoubleSpinBox { color: rgb(221, 225, 233); background-color: rgb(47, 48, 52); border: 1px solid rgb(100, 100, 100); padding: 4px; }</string>
|
||
</property>
|
||
<property name="title"><string>灰度选优</string></property>
|
||
<layout class="QGridLayout" name="gridLayout_graySelection">
|
||
<item row="0" column="0">
|
||
<widget class="QLabel" name="label_targetGray">
|
||
<property name="text"><string>目标灰度</string></property>
|
||
<property name="buddy"><cstring>doubleSpinBox_targetGray</cstring></property>
|
||
</widget>
|
||
</item>
|
||
<item row="0" column="1">
|
||
<widget class="QDoubleSpinBox" name="doubleSpinBox_targetGray">
|
||
<property name="font"><font><pointsize>16</pointsize></font></property>
|
||
<property name="decimals"><number>1</number></property>
|
||
<property name="maximum"><double>255.000000000000000</double></property>
|
||
<property name="value"><double>128.000000000000000</double></property>
|
||
<property name="toolTip"><string>遍历曝光、增益和阈值列表,选择工件平均灰度最接近此值的一组。</string></property>
|
||
</widget>
|
||
</item>
|
||
<item row="0" column="2">
|
||
<widget class="QLabel" name="label_maxGrayDeviation">
|
||
<property name="text"><string>允许偏差</string></property>
|
||
<property name="buddy"><cstring>doubleSpinBox_maxGrayDeviation</cstring></property>
|
||
</widget>
|
||
</item>
|
||
<item row="0" column="3">
|
||
<widget class="QDoubleSpinBox" name="doubleSpinBox_maxGrayDeviation">
|
||
<property name="font"><font><pointsize>16</pointsize></font></property>
|
||
<property name="decimals"><number>1</number></property>
|
||
<property name="maximum"><double>255.000000000000000</double></property>
|
||
<property name="value"><double>20.000000000000000</double></property>
|
||
<property name="toolTip"><string>优先参数的平均灰度与目标值之差超过此值时,重新遍历列表。无目标或无有效灰度也会重新遍历。</string></property>
|
||
</widget>
|
||
</item>
|
||
</layout>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<widget class="QGroupBox" name="groupBox_modelDetectionRegion">
|
||
<property name="font"><font><pointsize>16</pointsize></font></property>
|
||
<property name="styleSheet">
|
||
<string notr="true">QGroupBox, QLabel { color: rgb(221, 225, 233); }
|
||
QGroupBox#groupBox_modelDetectionRegion { border: 1px solid rgb(100, 100, 100); border-radius: 4px; margin-top: 20px; padding-top: 12px; spacing: 10px; }
|
||
QGroupBox#groupBox_modelDetectionRegion::title { subcontrol-origin: margin; subcontrol-position: top left; left: 10px; padding: 0px 8px; }
|
||
QGroupBox#groupBox_modelDetectionRegion::indicator { width: 28px; height: 28px; border: 2px solid rgb(180, 190, 205); border-radius: 3px; background-color: rgb(47, 48, 52); }
|
||
QGroupBox#groupBox_modelDetectionRegion::indicator:unchecked { image: none; }
|
||
QGroupBox#groupBox_modelDetectionRegion::indicator:checked { background-color: rgb(40, 120, 180); border-color: rgb(130, 190, 240); image: url(:/common/resource/checkbox_check.png); }
|
||
QGroupBox#groupBox_modelDetectionRegion::indicator:hover { border-color: rgb(230, 240, 255); }
|
||
QGroupBox#groupBox_modelDetectionRegion::indicator:disabled { background-color: rgb(60, 65, 75); border-color: rgb(110, 120, 135); }
|
||
QSpinBox { color: rgb(221, 225, 233); background-color: rgb(47, 48, 52); border: 1px solid rgb(100, 100, 100); padding: 4px; }</string>
|
||
</property>
|
||
<property name="title"><string>2D采图区域(左目全图像素)</string></property>
|
||
<property name="checkable"><bool>true</bool></property>
|
||
<property name="checked"><bool>false</bool></property>
|
||
<layout class="QGridLayout" name="gridLayout_modelDetectionRegion">
|
||
<item row="0" column="0">
|
||
<widget class="QLabel" name="label_modelRegionLeft">
|
||
<property name="text"><string>左</string></property>
|
||
<property name="buddy"><cstring>spinBox_modelRegionLeft</cstring></property>
|
||
</widget>
|
||
</item>
|
||
<item row="0" column="1">
|
||
<widget class="QSpinBox" name="spinBox_modelRegionLeft">
|
||
<property name="maximum"><number>10000</number></property>
|
||
</widget>
|
||
</item>
|
||
<item row="0" column="2">
|
||
<widget class="QLabel" name="label_modelRegionTop">
|
||
<property name="text"><string>上</string></property>
|
||
<property name="buddy"><cstring>spinBox_modelRegionTop</cstring></property>
|
||
</widget>
|
||
</item>
|
||
<item row="0" column="3">
|
||
<widget class="QSpinBox" name="spinBox_modelRegionTop">
|
||
<property name="maximum"><number>10000</number></property>
|
||
</widget>
|
||
</item>
|
||
<item row="0" column="4">
|
||
<widget class="QLabel" name="label_modelRegionRight">
|
||
<property name="text"><string>右</string></property>
|
||
<property name="buddy"><cstring>spinBox_modelRegionRight</cstring></property>
|
||
</widget>
|
||
</item>
|
||
<item row="0" column="5">
|
||
<widget class="QSpinBox" name="spinBox_modelRegionRight">
|
||
<property name="maximum"><number>10000</number></property>
|
||
</widget>
|
||
</item>
|
||
<item row="0" column="6">
|
||
<widget class="QLabel" name="label_modelRegionBottom">
|
||
<property name="text"><string>下</string></property>
|
||
<property name="buddy"><cstring>spinBox_modelRegionBottom</cstring></property>
|
||
</widget>
|
||
</item>
|
||
<item row="0" column="7">
|
||
<widget class="QSpinBox" name="spinBox_modelRegionBottom">
|
||
<property name="maximum"><number>10000</number></property>
|
||
</widget>
|
||
</item>
|
||
</layout>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<widget class="QTableWidget" name="tableWidget_modelParams">
|
||
<property name="sizePolicy">
|
||
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
|
||
<horstretch>1</horstretch>
|
||
<verstretch>1</verstretch>
|
||
</sizepolicy>
|
||
</property>
|
||
<property name="minimumSize">
|
||
<size>
|
||
<width>0</width>
|
||
<height>130</height>
|
||
</size>
|
||
</property>
|
||
<property name="font">
|
||
<font>
|
||
<pointsize>16</pointsize>
|
||
</font>
|
||
</property>
|
||
<property name="styleSheet">
|
||
<string notr="true">QTableWidget { color: rgb(221, 225, 233); background-color: rgb(47, 48, 52); gridline-color: rgb(70, 72, 78); selection-color: rgb(255, 255, 255); selection-background-color: rgb(60, 120, 180); }
|
||
QTableWidget::item { color: rgb(221, 225, 233); }
|
||
QTableWidget::item:selected { color: rgb(255, 255, 255); }
|
||
QHeaderView::section { color: rgb(221, 225, 233); background-color: rgb(70, 72, 78); padding: 3px; font-size: 16pt; }</string>
|
||
</property>
|
||
<property name="horizontalScrollBarPolicy">
|
||
<enum>Qt::ScrollBarAlwaysOff</enum>
|
||
</property>
|
||
<property name="editTriggers">
|
||
<set>QAbstractItemView::DoubleClicked</set>
|
||
</property>
|
||
<property name="selectionMode">
|
||
<enum>QAbstractItemView::SingleSelection</enum>
|
||
</property>
|
||
<property name="selectionBehavior">
|
||
<enum>QAbstractItemView::SelectRows</enum>
|
||
</property>
|
||
<property name="sortingEnabled">
|
||
<bool>false</bool>
|
||
</property>
|
||
<property name="wordWrap">
|
||
<bool>false</bool>
|
||
</property>
|
||
<attribute name="horizontalHeaderDefaultSectionSize">
|
||
<number>160</number>
|
||
</attribute>
|
||
<attribute name="horizontalHeaderStretchLastSection">
|
||
<bool>true</bool>
|
||
</attribute>
|
||
<attribute name="verticalHeaderVisible">
|
||
<bool>false</bool>
|
||
</attribute>
|
||
<attribute name="verticalHeaderDefaultSectionSize">
|
||
<number>42</number>
|
||
</attribute>
|
||
<column>
|
||
<property name="text">
|
||
<string>参数序号</string>
|
||
</property>
|
||
</column>
|
||
<column>
|
||
<property name="text">
|
||
<string>曝光</string>
|
||
</property>
|
||
</column>
|
||
<column>
|
||
<property name="text">
|
||
<string>增益</string>
|
||
</property>
|
||
</column>
|
||
<column>
|
||
<property name="text">
|
||
<string>置信度阈值</string>
|
||
</property>
|
||
</column>
|
||
<column>
|
||
<property name="text">
|
||
<string>操作</string>
|
||
</property>
|
||
</column>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<widget class="QPushButton" name="btn_modelParamAdd">
|
||
<property name="font">
|
||
<font>
|
||
<pointsize>16</pointsize>
|
||
</font>
|
||
</property>
|
||
<property name="styleSheet">
|
||
<string notr="true">QPushButton { color: rgb(221, 225, 233); background-color: rgb(47, 48, 52); border: 1px solid rgb(100, 100, 100); border-radius: 4px; padding: 4px 12px; }
|
||
QPushButton:hover { background-color: rgb(70, 72, 78); }
|
||
QPushButton:pressed { background-color: rgb(60, 120, 180); }
|
||
QPushButton:disabled { color: rgb(100, 100, 100); }</string>
|
||
</property>
|
||
<property name="text">
|
||
<string>新增模型参数</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
</layout>
|
||
</widget>
|
||
<widget class="QWidget" name="tab_toolExtrinsic">
|
||
<attribute name="title">
|
||
<string>工具参数</string>
|
||
</attribute>
|
||
<layout class="QVBoxLayout" name="verticalLayout_toolExtrinsicHost">
|
||
<item>
|
||
<widget class="ToolExtrinsicWidget" name="toolExtrinsicWidget" native="true"/>
|
||
</item>
|
||
</layout>
|
||
</widget>
|
||
<widget class="QWidget" name="tab_calibMatrix">
|
||
<property name="layoutDirection">
|
||
<enum>Qt::LeftToRight</enum>
|
||
</property>
|
||
<attribute name="title">
|
||
<string>手眼标定</string>
|
||
</attribute>
|
||
<layout class="QVBoxLayout" name="verticalLayout_handEyeCalibHost">
|
||
<item>
|
||
<widget class="HandEyeCalibWidget" name="handEyeCalibWidget" native="true"/>
|
||
</item>
|
||
<item>
|
||
<widget class="QGroupBox" name="groupBox_calibMatrix">
|
||
<property name="font">
|
||
<font>
|
||
<pointsize>16</pointsize>
|
||
</font>
|
||
</property>
|
||
<property name="visible">
|
||
<bool>false</bool>
|
||
</property>
|
||
<property name="title">
|
||
<string>手眼标定矩阵 (4x4)</string>
|
||
</property>
|
||
<widget class="QWidget" name="gridWidget_calib">
|
||
<property name="geometry">
|
||
<rect>
|
||
<x>20</x>
|
||
<y>40</y>
|
||
<width>631</width>
|
||
<height>200</height>
|
||
</rect>
|
||
</property>
|
||
<layout class="QGridLayout" name="gridLayout_calibMatrix">
|
||
<item row="0" column="0">
|
||
<widget class="QLineEdit" name="lineEdit_calib_0_0">
|
||
<property name="font">
|
||
<font>
|
||
<pointsize>16</pointsize>
|
||
</font>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="0" column="1">
|
||
<widget class="QLineEdit" name="lineEdit_calib_0_1">
|
||
<property name="font">
|
||
<font>
|
||
<pointsize>12</pointsize>
|
||
</font>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="0" column="2">
|
||
<widget class="QLineEdit" name="lineEdit_calib_0_2">
|
||
<property name="font">
|
||
<font>
|
||
<pointsize>12</pointsize>
|
||
</font>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="0" column="3">
|
||
<widget class="QLineEdit" name="lineEdit_calib_0_3">
|
||
<property name="font">
|
||
<font>
|
||
<pointsize>12</pointsize>
|
||
</font>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="1" column="0">
|
||
<widget class="QLineEdit" name="lineEdit_calib_1_0">
|
||
<property name="font">
|
||
<font>
|
||
<pointsize>12</pointsize>
|
||
</font>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="1" column="1">
|
||
<widget class="QLineEdit" name="lineEdit_calib_1_1">
|
||
<property name="font">
|
||
<font>
|
||
<pointsize>12</pointsize>
|
||
</font>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="1" column="2">
|
||
<widget class="QLineEdit" name="lineEdit_calib_1_2">
|
||
<property name="font">
|
||
<font>
|
||
<pointsize>12</pointsize>
|
||
</font>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="1" column="3">
|
||
<widget class="QLineEdit" name="lineEdit_calib_1_3">
|
||
<property name="font">
|
||
<font>
|
||
<pointsize>12</pointsize>
|
||
</font>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="2" column="0">
|
||
<widget class="QLineEdit" name="lineEdit_calib_2_0">
|
||
<property name="font">
|
||
<font>
|
||
<pointsize>12</pointsize>
|
||
</font>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="2" column="1">
|
||
<widget class="QLineEdit" name="lineEdit_calib_2_1">
|
||
<property name="font">
|
||
<font>
|
||
<pointsize>12</pointsize>
|
||
</font>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="2" column="2">
|
||
<widget class="QLineEdit" name="lineEdit_calib_2_2">
|
||
<property name="font">
|
||
<font>
|
||
<pointsize>12</pointsize>
|
||
</font>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="2" column="3">
|
||
<widget class="QLineEdit" name="lineEdit_calib_2_3">
|
||
<property name="font">
|
||
<font>
|
||
<pointsize>12</pointsize>
|
||
</font>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="3" column="0">
|
||
<widget class="QLineEdit" name="lineEdit_calib_3_0">
|
||
<property name="font">
|
||
<font>
|
||
<pointsize>12</pointsize>
|
||
</font>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="3" column="1">
|
||
<widget class="QLineEdit" name="lineEdit_calib_3_1">
|
||
<property name="font">
|
||
<font>
|
||
<pointsize>12</pointsize>
|
||
</font>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="3" column="2">
|
||
<widget class="QLineEdit" name="lineEdit_calib_3_2">
|
||
<property name="font">
|
||
<font>
|
||
<pointsize>12</pointsize>
|
||
</font>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="3" column="3">
|
||
<widget class="QLineEdit" name="lineEdit_calib_3_3">
|
||
<property name="font">
|
||
<font>
|
||
<pointsize>12</pointsize>
|
||
</font>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
</layout>
|
||
</widget>
|
||
<widget class="QPushButton" name="btn_loadCalibMatrix">
|
||
<property name="geometry">
|
||
<rect>
|
||
<x>430</x>
|
||
<y>260</y>
|
||
<width>200</width>
|
||
<height>40</height>
|
||
</rect>
|
||
</property>
|
||
<property name="font">
|
||
<font>
|
||
<pointsize>14</pointsize>
|
||
</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);
|
||
}</string>
|
||
</property>
|
||
<property name="text">
|
||
<string>从INI文件导入</string>
|
||
</property>
|
||
</widget>
|
||
<widget class="QLabel" name="label_eulerOrder">
|
||
<property name="geometry">
|
||
<rect>
|
||
<x>20</x>
|
||
<y>260</y>
|
||
<width>80</width>
|
||
<height>40</height>
|
||
</rect>
|
||
</property>
|
||
<property name="font">
|
||
<font>
|
||
<pointsize>12</pointsize>
|
||
</font>
|
||
</property>
|
||
<property name="styleSheet">
|
||
<string notr="true">color: rgb(221, 225, 233);</string>
|
||
</property>
|
||
<property name="text">
|
||
<string>旋转顺序:</string>
|
||
</property>
|
||
<property name="alignment">
|
||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||
</property>
|
||
</widget>
|
||
<widget class="QComboBox" name="comboBox_eulerOrder">
|
||
<property name="geometry">
|
||
<rect>
|
||
<x>110</x>
|
||
<y>260</y>
|
||
<width>241</width>
|
||
<height>40</height>
|
||
</rect>
|
||
</property>
|
||
<property name="font">
|
||
<font>
|
||
<pointsize>12</pointsize>
|
||
</font>
|
||
</property>
|
||
<property name="styleSheet">
|
||
<string notr="true">QComboBox {
|
||
background-color: rgb(50, 52, 56);
|
||
color: rgb(221, 225, 233);
|
||
border: 1px solid rgb(80, 82, 86);
|
||
border-radius: 4px;
|
||
padding: 5px;
|
||
}
|
||
QComboBox::drop-down {
|
||
border: none;
|
||
}
|
||
QComboBox QAbstractItemView {
|
||
background-color: rgb(50, 52, 56);
|
||
color: rgb(221, 225, 233);
|
||
selection-background-color: rgb(60, 120, 180);
|
||
}</string>
|
||
</property>
|
||
</widget>
|
||
</widget>
|
||
</item>
|
||
</layout>
|
||
</widget>
|
||
<widget class="QWidget" name="tab_networkConfig">
|
||
<attribute name="title">
|
||
<string>网络配置</string>
|
||
</attribute>
|
||
<layout class="QVBoxLayout" name="verticalLayout_networkConfigHost">
|
||
<property name="leftMargin">
|
||
<number>20</number>
|
||
</property>
|
||
<property name="topMargin">
|
||
<number>10</number>
|
||
</property>
|
||
<property name="rightMargin">
|
||
<number>20</number>
|
||
</property>
|
||
<property name="bottomMargin">
|
||
<number>10</number>
|
||
</property>
|
||
<item>
|
||
<widget class="RotorNetworkConfigWidget" name="networkConfigWidget" native="true"/>
|
||
</item>
|
||
</layout>
|
||
</widget>
|
||
<widget class="PointCloudFilterWidget" name="pointCloudFilterWidget">
|
||
<attribute name="title">
|
||
<string>点云过滤</string>
|
||
</attribute>
|
||
</widget>
|
||
</widget>
|
||
<widget class="QWidget" name="layoutWidget">
|
||
<property name="geometry">
|
||
<rect>
|
||
<x>40</x>
|
||
<y>580</y>
|
||
<width>821</width>
|
||
<height>44</height>
|
||
</rect>
|
||
</property>
|
||
<layout class="QHBoxLayout" name="horizontalLayout">
|
||
<item>
|
||
<spacer name="horizontalSpacer">
|
||
<property name="orientation">
|
||
<enum>Qt::Horizontal</enum>
|
||
</property>
|
||
<property name="sizeHint" stdset="0">
|
||
<size>
|
||
<width>178</width>
|
||
<height>20</height>
|
||
</size>
|
||
</property>
|
||
</spacer>
|
||
</item>
|
||
<item>
|
||
<widget class="QPushButton" name="btn_camer_ok">
|
||
<property name="font">
|
||
<font>
|
||
<pointsize>16</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;
|
||
padding: 8px;
|
||
}
|
||
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>
|
||
<spacer name="horizontalSpacer_3">
|
||
<property name="orientation">
|
||
<enum>Qt::Horizontal</enum>
|
||
</property>
|
||
<property name="sizeHint" stdset="0">
|
||
<size>
|
||
<width>50</width>
|
||
<height>20</height>
|
||
</size>
|
||
</property>
|
||
</spacer>
|
||
</item>
|
||
<item>
|
||
<widget class="QPushButton" name="btn_camer_cancel">
|
||
<property name="font">
|
||
<font>
|
||
<pointsize>16</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;
|
||
padding: 8px;
|
||
}
|
||
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>
|
||
<item>
|
||
<spacer name="horizontalSpacer_2">
|
||
<property name="orientation">
|
||
<enum>Qt::Horizontal</enum>
|
||
</property>
|
||
<property name="sizeHint" stdset="0">
|
||
<size>
|
||
<width>178</width>
|
||
<height>20</height>
|
||
</size>
|
||
</property>
|
||
</spacer>
|
||
</item>
|
||
</layout>
|
||
</widget>
|
||
</widget>
|
||
<customwidgets>
|
||
<customwidget>
|
||
<class>ToolExtrinsicWidget</class>
|
||
<extends>QWidget</extends>
|
||
<header>ToolExtrinsicWidget.h</header>
|
||
</customwidget>
|
||
<customwidget>
|
||
<class>HandEyeCalibWidget</class>
|
||
<extends>QWidget</extends>
|
||
<header>HandEyeCalibWidget.h</header>
|
||
</customwidget>
|
||
<customwidget>
|
||
<class>RotorNetworkConfigWidget</class>
|
||
<extends>QWidget</extends>
|
||
<header>rotornetworkconfigwidget.h</header>
|
||
</customwidget>
|
||
<customwidget>
|
||
<class>PointCloudFilterWidget</class>
|
||
<extends>QWidget</extends>
|
||
<header>PointCloudFilterWidget.h</header>
|
||
</customwidget>
|
||
</customwidgets>
|
||
<tabstops>
|
||
<tabstop>lineEdit_spacerLength</tabstop>
|
||
<tabstop>lineEdit_spacerWidth</tabstop>
|
||
<tabstop>lineEdit_layerRatio</tabstop>
|
||
<tabstop>lineEdit_distToSideRatio</tabstop>
|
||
<tabstop>lineEdit_groundRemoveOffset</tabstop>
|
||
<tabstop>comboBox_toolNormalMode</tabstop>
|
||
</tabstops>
|
||
<resources/>
|
||
<connections/>
|
||
</ui>
|