|
|
|
|
@ -6,37 +6,25 @@
|
|
|
|
|
<rect>
|
|
|
|
|
<x>0</x>
|
|
|
|
|
<y>0</y>
|
|
|
|
|
<width>1025</width>
|
|
|
|
|
<height>684</height>
|
|
|
|
|
<width>985</width>
|
|
|
|
|
<height>691</height>
|
|
|
|
|
</rect>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="windowTitle">
|
|
|
|
|
<string>QModelMgrDlg</string>
|
|
|
|
|
</property>
|
|
|
|
|
<layout class="QGridLayout" name="gridLayout_6">
|
|
|
|
|
<item row="1" column="1">
|
|
|
|
|
<widget class="QGroupBox" name="ModelMgr_groupBox">
|
|
|
|
|
<property name="sizePolicy">
|
|
|
|
|
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
|
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
|
</sizepolicy>
|
|
|
|
|
</property>
|
|
|
|
|
<layout class="QGridLayout" name="gridLayout_8">
|
|
|
|
|
<item row="0" column="0">
|
|
|
|
|
<widget class="QGroupBox" name="ModelMgr_groupBox_5">
|
|
|
|
|
<property name="font">
|
|
|
|
|
<font>
|
|
|
|
|
<pointsize>11</pointsize>
|
|
|
|
|
</font>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="autoFillBackground">
|
|
|
|
|
<bool>true</bool>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="title">
|
|
|
|
|
<string>轮毂信息:</string>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="flat">
|
|
|
|
|
<bool>false</bool>
|
|
|
|
|
<string>模板型号查询</string>
|
|
|
|
|
</property>
|
|
|
|
|
<layout class="QGridLayout" name="gridLayout_9">
|
|
|
|
|
<layout class="QGridLayout" name="gridLayout_5">
|
|
|
|
|
<property name="leftMargin">
|
|
|
|
|
<number>6</number>
|
|
|
|
|
</property>
|
|
|
|
|
@ -49,100 +37,207 @@
|
|
|
|
|
<property name="bottomMargin">
|
|
|
|
|
<number>6</number>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="spacing">
|
|
|
|
|
<property name="horizontalSpacing">
|
|
|
|
|
<number>6</number>
|
|
|
|
|
</property>
|
|
|
|
|
<item row="0" column="0">
|
|
|
|
|
<widget class="QLabel" name="ModelMgr_label_2">
|
|
|
|
|
<layout class="QFormLayout" name="formLayout">
|
|
|
|
|
<item row="0" column="0">
|
|
|
|
|
<widget class="QLabel" name="ModelMgr_label_7">
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string>查找:</string>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
<item row="0" column="1">
|
|
|
|
|
<widget class="QLineEdit" name="ModelMgr_find_lineEdit">
|
|
|
|
|
<property name="sizePolicy">
|
|
|
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
|
</sizepolicy>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="minimumSize">
|
|
|
|
|
<size>
|
|
|
|
|
<width>0</width>
|
|
|
|
|
<height>0</height>
|
|
|
|
|
<height>25</height>
|
|
|
|
|
</size>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="font">
|
|
|
|
|
<font>
|
|
|
|
|
<pointsize>11</pointsize>
|
|
|
|
|
</font>
|
|
|
|
|
<property name="maximumSize">
|
|
|
|
|
<size>
|
|
|
|
|
<width>117</width>
|
|
|
|
|
<height>20</height>
|
|
|
|
|
</size>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
</layout>
|
|
|
|
|
</item>
|
|
|
|
|
<item row="2" column="0">
|
|
|
|
|
<widget class="QLabel" name="ModelMgr_label_Model_number">
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string>型号</string>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="alignment">
|
|
|
|
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
|
|
|
|
<string>数量</string>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
<item row="0" column="1" colspan="2">
|
|
|
|
|
<widget class="QLineEdit" name="ModelMgr_model_edit">
|
|
|
|
|
<property name="minimumSize">
|
|
|
|
|
<item row="1" column="0">
|
|
|
|
|
<widget class="QTableView" name="ModelMgr_Models_tableView">
|
|
|
|
|
<property name="sizePolicy">
|
|
|
|
|
<sizepolicy hsizetype="Minimum" vsizetype="Expanding">
|
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
|
</sizepolicy>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="maximumSize">
|
|
|
|
|
<size>
|
|
|
|
|
<width>0</width>
|
|
|
|
|
<height>25</height>
|
|
|
|
|
<width>161</width>
|
|
|
|
|
<height>16777215</height>
|
|
|
|
|
</size>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="wheel_prop_tableview_header" stdset="0">
|
|
|
|
|
<stringlist>
|
|
|
|
|
<string>modelID</string>
|
|
|
|
|
</stringlist>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
</layout>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
<item row="0" column="1">
|
|
|
|
|
<layout class="QGridLayout" name="gridLayout_7">
|
|
|
|
|
<item row="0" column="0" colspan="2">
|
|
|
|
|
<widget class="QGroupBox" name="groupBox_2">
|
|
|
|
|
<property name="font">
|
|
|
|
|
<font>
|
|
|
|
|
<pointsize>11</pointsize>
|
|
|
|
|
</font>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="readOnly">
|
|
|
|
|
<bool>true</bool>
|
|
|
|
|
<property name="title">
|
|
|
|
|
<string>图片显示:</string>
|
|
|
|
|
</property>
|
|
|
|
|
<layout class="QGridLayout" name="gridLayout">
|
|
|
|
|
<item row="1" column="0">
|
|
|
|
|
<widget class="QLabel" name="label_imgNum">
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string/>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
<item row="10" column="4">
|
|
|
|
|
<widget class="QLabel" name="ModelMgr_Num">
|
|
|
|
|
<property name="minimumSize">
|
|
|
|
|
<item row="0" column="0">
|
|
|
|
|
<widget class="QListWidget" name="listWidget"/>
|
|
|
|
|
</item>
|
|
|
|
|
<item row="0" column="1" rowspan="2">
|
|
|
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
|
|
|
<item>
|
|
|
|
|
<widget class="QPushButton" name="m_pbAddPic">
|
|
|
|
|
<property name="sizePolicy">
|
|
|
|
|
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
|
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
|
</sizepolicy>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="maximumSize">
|
|
|
|
|
<size>
|
|
|
|
|
<width>30</width>
|
|
|
|
|
<height>0</height>
|
|
|
|
|
<width>41</width>
|
|
|
|
|
<height>41</height>
|
|
|
|
|
</size>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="toolTip">
|
|
|
|
|
<string>添加已裁剪的轮毂图片</string>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="statusTip">
|
|
|
|
|
<string>添加已裁剪的轮毂图片</string>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string>0%</string>
|
|
|
|
|
<string>追加</string>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="default">
|
|
|
|
|
<bool>false</bool>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="flat">
|
|
|
|
|
<bool>false</bool>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
<item row="10" column="0">
|
|
|
|
|
<widget class="QLabel" name="ModelMgr_label_12">
|
|
|
|
|
<item>
|
|
|
|
|
<spacer name="verticalSpacer">
|
|
|
|
|
<property name="orientation">
|
|
|
|
|
<enum>Qt::Vertical</enum>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="sizeHint" stdset="0">
|
|
|
|
|
<size>
|
|
|
|
|
<width>20</width>
|
|
|
|
|
<height>40</height>
|
|
|
|
|
</size>
|
|
|
|
|
</property>
|
|
|
|
|
</spacer>
|
|
|
|
|
</item>
|
|
|
|
|
<item>
|
|
|
|
|
<widget class="QPushButton" name="m_pbDelAll">
|
|
|
|
|
<property name="sizePolicy">
|
|
|
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
|
</sizepolicy>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="toolTip">
|
|
|
|
|
<string>删除所有模板</string>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="statusTip">
|
|
|
|
|
<string>删除所有模板</string>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string>阈值调节</string>
|
|
|
|
|
<string/>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
<item row="9" column="1">
|
|
|
|
|
<widget class="QLabel" name="label">
|
|
|
|
|
</layout>
|
|
|
|
|
</item>
|
|
|
|
|
</layout>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
<item row="1" column="0">
|
|
|
|
|
<widget class="QGroupBox" name="ModelMgr_groupBox">
|
|
|
|
|
<property name="sizePolicy">
|
|
|
|
|
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
|
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
|
</sizepolicy>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="font">
|
|
|
|
|
<font>
|
|
|
|
|
<pointsize>11</pointsize>
|
|
|
|
|
</font>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string>严格</string>
|
|
|
|
|
<property name="autoFillBackground">
|
|
|
|
|
<bool>true</bool>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
<item row="10" column="1" colspan="3">
|
|
|
|
|
<widget class="QSlider" name="ModelMgr_horizontalSlider">
|
|
|
|
|
<property name="orientation">
|
|
|
|
|
<enum>Qt::Horizontal</enum>
|
|
|
|
|
<property name="title">
|
|
|
|
|
<string>轮毂信息:</string>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
<item row="8" column="0">
|
|
|
|
|
<widget class="QLabel" name="label_3">
|
|
|
|
|
<property name="flat">
|
|
|
|
|
<bool>false</bool>
|
|
|
|
|
</property>
|
|
|
|
|
<layout class="QGridLayout" name="gridLayout_6">
|
|
|
|
|
<item row="0" column="0">
|
|
|
|
|
<layout class="QGridLayout" name="gridLayout_2">
|
|
|
|
|
<item row="2" column="0">
|
|
|
|
|
<widget class="QLabel" name="ModelMgr_label_4">
|
|
|
|
|
<property name="font">
|
|
|
|
|
<font>
|
|
|
|
|
<pointsize>11</pointsize>
|
|
|
|
|
</font>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string>旋转次数</string>
|
|
|
|
|
<string>直径(mm)</string>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="alignment">
|
|
|
|
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
<item row="8" column="1">
|
|
|
|
|
<item row="3" column="1">
|
|
|
|
|
<widget class="QSpinBox" name="ModelMgr_model_Repet_spinBox">
|
|
|
|
|
<property name="font">
|
|
|
|
|
<font>
|
|
|
|
|
@ -151,73 +246,89 @@
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
<item row="0" column="3" rowspan="9" colspan="2">
|
|
|
|
|
<layout class="QGridLayout" name="gridLayout_3">
|
|
|
|
|
<item row="1" column="0">
|
|
|
|
|
<widget class="QLabel" name="ModelMgr_modelpic_lable">
|
|
|
|
|
<property name="minimumSize">
|
|
|
|
|
<size>
|
|
|
|
|
<width>129</width>
|
|
|
|
|
<height>129</height>
|
|
|
|
|
</size>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="acceptDrops">
|
|
|
|
|
<bool>true</bool>
|
|
|
|
|
<widget class="QLabel" name="ModelMgr_label_5">
|
|
|
|
|
<property name="font">
|
|
|
|
|
<font>
|
|
|
|
|
<pointsize>11</pointsize>
|
|
|
|
|
</font>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string/>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="textFormat">
|
|
|
|
|
<enum>Qt::PlainText</enum>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="pixmap">
|
|
|
|
|
<pixmap>:/image/none.jpg</pixmap>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="scaledContents">
|
|
|
|
|
<bool>false</bool>
|
|
|
|
|
<string>厚度(mm)</string>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="alignment">
|
|
|
|
|
<set>Qt::AlignCenter</set>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="wordWrap">
|
|
|
|
|
<bool>false</bool>
|
|
|
|
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
<item row="0" column="0">
|
|
|
|
|
<widget class="QLabel" name="ModelMgr_label_6">
|
|
|
|
|
<widget class="QLabel" name="ModelMgr_label_2">
|
|
|
|
|
<property name="minimumSize">
|
|
|
|
|
<size>
|
|
|
|
|
<width>0</width>
|
|
|
|
|
<height>0</height>
|
|
|
|
|
</size>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="font">
|
|
|
|
|
<font>
|
|
|
|
|
<pointsize>11</pointsize>
|
|
|
|
|
</font>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string>缩略图</string>
|
|
|
|
|
<string>型号</string>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="alignment">
|
|
|
|
|
<set>Qt::AlignCenter</set>
|
|
|
|
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
</layout>
|
|
|
|
|
<item row="0" column="1">
|
|
|
|
|
<widget class="QLineEdit" name="ModelMgr_model_edit">
|
|
|
|
|
<property name="minimumSize">
|
|
|
|
|
<size>
|
|
|
|
|
<width>0</width>
|
|
|
|
|
<height>25</height>
|
|
|
|
|
</size>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="font">
|
|
|
|
|
<font>
|
|
|
|
|
<pointsize>11</pointsize>
|
|
|
|
|
</font>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="readOnly">
|
|
|
|
|
<bool>true</bool>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
<item row="9" column="3">
|
|
|
|
|
<widget class="QLabel" name="label_2">
|
|
|
|
|
<item row="3" column="0">
|
|
|
|
|
<widget class="QLabel" name="label_3">
|
|
|
|
|
<property name="font">
|
|
|
|
|
<font>
|
|
|
|
|
<pointsize>11</pointsize>
|
|
|
|
|
</font>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string>宽松</string>
|
|
|
|
|
<string>旋转次数</string>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="alignment">
|
|
|
|
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
<item row="1" column="1">
|
|
|
|
|
<widget class="QLineEdit" name="ModelMgr_model_edit_height">
|
|
|
|
|
<property name="minimumSize">
|
|
|
|
|
<size>
|
|
|
|
|
<width>0</width>
|
|
|
|
|
<height>25</height>
|
|
|
|
|
</size>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="font">
|
|
|
|
|
<font>
|
|
|
|
|
<pointsize>11</pointsize>
|
|
|
|
|
</font>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
<item row="2" column="1">
|
|
|
|
|
<widget class="QLineEdit" name="ModelMgr_model_edit_height">
|
|
|
|
|
<widget class="QLineEdit" name="ModelMgr_model_edit_diameter">
|
|
|
|
|
<property name="minimumSize">
|
|
|
|
|
<size>
|
|
|
|
|
<width>0</width>
|
|
|
|
|
@ -231,55 +342,157 @@
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
<item row="2" column="0">
|
|
|
|
|
<widget class="QLabel" name="ModelMgr_label_5">
|
|
|
|
|
<item row="4" column="1">
|
|
|
|
|
<widget class="QCheckBox" name="checkBox">
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string>加入训练</string>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
</layout>
|
|
|
|
|
</item>
|
|
|
|
|
<item row="2" column="0" colspan="2">
|
|
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
|
|
|
|
<item>
|
|
|
|
|
<spacer name="horizontalSpacer_2">
|
|
|
|
|
<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="QLabel" name="label">
|
|
|
|
|
<property name="font">
|
|
|
|
|
<font>
|
|
|
|
|
<pointsize>11</pointsize>
|
|
|
|
|
</font>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string>厚度(mm)</string>
|
|
|
|
|
<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>40</width>
|
|
|
|
|
<height>20</height>
|
|
|
|
|
</size>
|
|
|
|
|
</property>
|
|
|
|
|
</spacer>
|
|
|
|
|
</item>
|
|
|
|
|
<item>
|
|
|
|
|
<widget class="QLabel" name="label_2">
|
|
|
|
|
<property name="font">
|
|
|
|
|
<font>
|
|
|
|
|
<pointsize>11</pointsize>
|
|
|
|
|
</font>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string>宽松</string>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="alignment">
|
|
|
|
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
<item row="5" column="1">
|
|
|
|
|
<widget class="QLineEdit" name="ModelMgr_model_edit_diameter">
|
|
|
|
|
</layout>
|
|
|
|
|
</item>
|
|
|
|
|
<item row="3" column="0" colspan="2">
|
|
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
|
|
|
|
<item>
|
|
|
|
|
<widget class="QLabel" name="ModelMgr_label_12">
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string>阈值调节</string>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
<item>
|
|
|
|
|
<widget class="QSlider" name="ModelMgr_horizontalSlider">
|
|
|
|
|
<property name="orientation">
|
|
|
|
|
<enum>Qt::Horizontal</enum>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
<item>
|
|
|
|
|
<widget class="QLabel" name="ModelMgr_Num">
|
|
|
|
|
<property name="minimumSize">
|
|
|
|
|
<size>
|
|
|
|
|
<width>0</width>
|
|
|
|
|
<height>25</height>
|
|
|
|
|
<width>30</width>
|
|
|
|
|
<height>0</height>
|
|
|
|
|
</size>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string>0%</string>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
</layout>
|
|
|
|
|
</item>
|
|
|
|
|
<item row="0" column="1">
|
|
|
|
|
<layout class="QGridLayout" name="gridLayout_3">
|
|
|
|
|
<item row="1" column="0">
|
|
|
|
|
<widget class="QLabel" name="ModelMgr_modelpic_lable">
|
|
|
|
|
<property name="minimumSize">
|
|
|
|
|
<size>
|
|
|
|
|
<width>129</width>
|
|
|
|
|
<height>129</height>
|
|
|
|
|
</size>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="font">
|
|
|
|
|
<font>
|
|
|
|
|
<pointsize>11</pointsize>
|
|
|
|
|
</font>
|
|
|
|
|
<property name="acceptDrops">
|
|
|
|
|
<bool>true</bool>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string/>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="textFormat">
|
|
|
|
|
<enum>Qt::PlainText</enum>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="pixmap">
|
|
|
|
|
<pixmap>:/image/none.jpg</pixmap>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="scaledContents">
|
|
|
|
|
<bool>false</bool>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="alignment">
|
|
|
|
|
<set>Qt::AlignCenter</set>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="wordWrap">
|
|
|
|
|
<bool>false</bool>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
<item row="5" column="0">
|
|
|
|
|
<widget class="QLabel" name="ModelMgr_label_4">
|
|
|
|
|
<item row="0" column="0">
|
|
|
|
|
<widget class="QLabel" name="ModelMgr_label_6">
|
|
|
|
|
<property name="font">
|
|
|
|
|
<font>
|
|
|
|
|
<pointsize>11</pointsize>
|
|
|
|
|
</font>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string>直径(mm)</string>
|
|
|
|
|
<string>缩略图</string>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="alignment">
|
|
|
|
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
|
|
|
|
<set>Qt::AlignCenter</set>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
</layout>
|
|
|
|
|
</item>
|
|
|
|
|
</layout>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
<item row="1" column="2">
|
|
|
|
|
<item row="1" column="1">
|
|
|
|
|
<widget class="QGroupBox" name="groupBox_3">
|
|
|
|
|
<property name="sizePolicy">
|
|
|
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
|
|
|
|
|
@ -296,6 +509,22 @@
|
|
|
|
|
<string>基本操作</string>
|
|
|
|
|
</property>
|
|
|
|
|
<layout class="QGridLayout" name="gridLayout_4">
|
|
|
|
|
<item row="1" column="2">
|
|
|
|
|
<widget class="QPushButton" name="m_pbTrainAll">
|
|
|
|
|
<property name="sizePolicy">
|
|
|
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
|
</sizepolicy>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="toolTip">
|
|
|
|
|
<string>训练所有模板,消耗时间会较长</string>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string>训练全部</string>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
<item row="0" column="1">
|
|
|
|
|
<widget class="QPushButton" name="m_pbDel">
|
|
|
|
|
<property name="sizePolicy">
|
|
|
|
|
@ -304,12 +533,6 @@
|
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
|
</sizepolicy>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="maximumSize">
|
|
|
|
|
<size>
|
|
|
|
|
<width>81</width>
|
|
|
|
|
<height>51</height>
|
|
|
|
|
</size>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="toolTip">
|
|
|
|
|
<string>删除模板</string>
|
|
|
|
|
</property>
|
|
|
|
|
@ -359,22 +582,6 @@
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
<item row="1" column="2">
|
|
|
|
|
<widget class="QPushButton" name="m_pbTrainAll">
|
|
|
|
|
<property name="sizePolicy">
|
|
|
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
|
</sizepolicy>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="toolTip">
|
|
|
|
|
<string>训练所有模板,消耗时间会较长</string>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string>训练全部</string>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
<item row="1" column="0">
|
|
|
|
|
<widget class="QPushButton" name="m_pbMod">
|
|
|
|
|
<property name="sizePolicy">
|
|
|
|
|
@ -383,12 +590,6 @@
|
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
|
</sizepolicy>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="maximumSize">
|
|
|
|
|
<size>
|
|
|
|
|
<width>81</width>
|
|
|
|
|
<height>51</height>
|
|
|
|
|
</size>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="toolTip">
|
|
|
|
|
<string>确认修改,每次修改模板的参数后都要确认修改才有效</string>
|
|
|
|
|
</property>
|
|
|
|
|
@ -410,211 +611,19 @@
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
<item row="0" column="3">
|
|
|
|
|
<spacer name="horizontalSpacer">
|
|
|
|
|
<property name="orientation">
|
|
|
|
|
<enum>Qt::Horizontal</enum>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="sizeHint" stdset="0">
|
|
|
|
|
<size>
|
|
|
|
|
<width>40</width>
|
|
|
|
|
<height>20</height>
|
|
|
|
|
</size>
|
|
|
|
|
</property>
|
|
|
|
|
</spacer>
|
|
|
|
|
</item>
|
|
|
|
|
</layout>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
<item row="2" column="0">
|
|
|
|
|
<widget class="QLabel" name="ModelMgr_WarningMsg">
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string/>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</layout>
|
|
|
|
|
</item>
|
|
|
|
|
<item row="0" column="1" colspan="2">
|
|
|
|
|
<widget class="QGroupBox" name="groupBox_2">
|
|
|
|
|
<property name="font">
|
|
|
|
|
<font>
|
|
|
|
|
<pointsize>11</pointsize>
|
|
|
|
|
</font>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="title">
|
|
|
|
|
<string>图片显示:</string>
|
|
|
|
|
</property>
|
|
|
|
|
<layout class="QGridLayout" name="gridLayout">
|
|
|
|
|
<item row="1" column="0">
|
|
|
|
|
<widget class="QLabel" name="label_imgNum">
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string>TextLabel</string>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
<item row="0" column="0">
|
|
|
|
|
<widget class="QListWidget" name="listWidget"/>
|
|
|
|
|
</item>
|
|
|
|
|
<item row="0" column="1" rowspan="2">
|
|
|
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
|
|
|
<item>
|
|
|
|
|
<widget class="QPushButton" name="m_pbAddPic">
|
|
|
|
|
<property name="sizePolicy">
|
|
|
|
|
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
|
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
|
</sizepolicy>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="maximumSize">
|
|
|
|
|
<size>
|
|
|
|
|
<width>41</width>
|
|
|
|
|
<height>41</height>
|
|
|
|
|
</size>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="toolTip">
|
|
|
|
|
<string>添加已裁剪的轮毂图片</string>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="statusTip">
|
|
|
|
|
<string>添加已裁剪的轮毂图片</string>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string>追加</string>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="default">
|
|
|
|
|
<bool>false</bool>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="flat">
|
|
|
|
|
<bool>false</bool>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
<item>
|
|
|
|
|
<spacer name="verticalSpacer">
|
|
|
|
|
<property name="orientation">
|
|
|
|
|
<enum>Qt::Vertical</enum>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="sizeHint" stdset="0">
|
|
|
|
|
<size>
|
|
|
|
|
<width>20</width>
|
|
|
|
|
<height>40</height>
|
|
|
|
|
</size>
|
|
|
|
|
</property>
|
|
|
|
|
</spacer>
|
|
|
|
|
</item>
|
|
|
|
|
<item>
|
|
|
|
|
<widget class="QPushButton" name="m_pbDelAll">
|
|
|
|
|
<property name="sizePolicy">
|
|
|
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
|
</sizepolicy>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="toolTip">
|
|
|
|
|
<string>删除所有模板</string>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="statusTip">
|
|
|
|
|
<string>删除所有模板</string>
|
|
|
|
|
</property>
|
|
|
|
|
<widget class="QLabel" name="ModelMgr_WarningMsg">
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string/>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
</layout>
|
|
|
|
|
</item>
|
|
|
|
|
</layout>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
<item row="0" column="0" rowspan="2">
|
|
|
|
|
<widget class="QGroupBox" name="ModelMgr_groupBox_5">
|
|
|
|
|
<property name="font">
|
|
|
|
|
<font>
|
|
|
|
|
<pointsize>11</pointsize>
|
|
|
|
|
</font>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="title">
|
|
|
|
|
<string>模板型号查询</string>
|
|
|
|
|
</property>
|
|
|
|
|
<layout class="QGridLayout" name="gridLayout_5">
|
|
|
|
|
<property name="leftMargin">
|
|
|
|
|
<number>6</number>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="topMargin">
|
|
|
|
|
<number>6</number>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="rightMargin">
|
|
|
|
|
<number>6</number>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="bottomMargin">
|
|
|
|
|
<number>6</number>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="horizontalSpacing">
|
|
|
|
|
<number>6</number>
|
|
|
|
|
</property>
|
|
|
|
|
<item row="0" column="0">
|
|
|
|
|
<layout class="QFormLayout" name="formLayout">
|
|
|
|
|
<item row="0" column="0">
|
|
|
|
|
<widget class="QLabel" name="ModelMgr_label_7">
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string>查找:</string>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
<item row="0" column="1">
|
|
|
|
|
<widget class="QLineEdit" name="ModelMgr_find_lineEdit">
|
|
|
|
|
<property name="sizePolicy">
|
|
|
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
|
</sizepolicy>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="minimumSize">
|
|
|
|
|
<size>
|
|
|
|
|
<width>0</width>
|
|
|
|
|
<height>25</height>
|
|
|
|
|
</size>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="maximumSize">
|
|
|
|
|
<size>
|
|
|
|
|
<width>117</width>
|
|
|
|
|
<height>20</height>
|
|
|
|
|
</size>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
</layout>
|
|
|
|
|
</item>
|
|
|
|
|
<item row="2" column="0">
|
|
|
|
|
<widget class="QLabel" name="ModelMgr_label_Model_number">
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string>数量</string>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
<item row="1" column="0">
|
|
|
|
|
<widget class="QTableView" name="ModelMgr_Models_tableView">
|
|
|
|
|
<property name="sizePolicy">
|
|
|
|
|
<sizepolicy hsizetype="Minimum" vsizetype="Expanding">
|
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
|
</sizepolicy>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="maximumSize">
|
|
|
|
|
<size>
|
|
|
|
|
<width>161</width>
|
|
|
|
|
<height>16777215</height>
|
|
|
|
|
</size>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="wheel_prop_tableview_header" stdset="0">
|
|
|
|
|
<stringlist>
|
|
|
|
|
<string>modelID</string>
|
|
|
|
|
</stringlist>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
</layout>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
</layout>
|
|
|
|
|
</widget>
|
|
|
|
|
<layoutdefault spacing="6" margin="11"/>
|
|
|
|
|
<resources/>
|
|
|
|
|
|