mirror of
https://github.com/NanjingForestryUniversity/UpmatchinePassion-tomato.git
synced 2025-11-08 14:24:06 +00:00
1492 lines
44 KiB
XML
1492 lines
44 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>Widget</class>
|
|
<widget class="QWidget" name="Widget">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>2000</width>
|
|
<height>1038</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>Widget</string>
|
|
</property>
|
|
<layout class="QGridLayout" name="gridLayout_10">
|
|
<item row="0" column="0">
|
|
<widget class="QTabWidget" name="tabWidget">
|
|
<property name="styleSheet">
|
|
<string notr="true"/>
|
|
</property>
|
|
<property name="currentIndex">
|
|
<number>2</number>
|
|
</property>
|
|
<widget class="QWidget" name="tab_3">
|
|
<attribute name="title">
|
|
<string>Tab1</string>
|
|
</attribute>
|
|
<layout class="QGridLayout" name="gridLayout_12">
|
|
<item row="1" column="1" rowspan="2" colspan="2">
|
|
<widget class="QLabel" name="label">
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>36</pointsize>
|
|
<bold>false</bold>
|
|
</font>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">color: rgb(0, 0, 0);</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>果蔬分选研发团队</string>
|
|
</property>
|
|
<property name="alignment">
|
|
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="0">
|
|
<widget class="QLabel" name="label_23">
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
<property name="pixmap">
|
|
<pixmap>H:/项目代码/tobacco/uppermachine-tobacco/image/njfu.jpg</pixmap>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<widget class="QWidget" name="tab">
|
|
<attribute name="title">
|
|
<string>Tab2</string>
|
|
</attribute>
|
|
<widget class="QGroupBox" name="groupBox_9">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>9</x>
|
|
<y>9</y>
|
|
<width>20</width>
|
|
<height>20</height>
|
|
</rect>
|
|
</property>
|
|
<property name="title">
|
|
<string/>
|
|
</property>
|
|
<layout class="QGridLayout" name="gridLayout_11"/>
|
|
</widget>
|
|
<widget class="QGroupBox" name="groupBox">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>10</x>
|
|
<y>-20</y>
|
|
<width>1961</width>
|
|
<height>161</height>
|
|
</rect>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>12</pointsize>
|
|
</font>
|
|
</property>
|
|
<property name="title">
|
|
<string/>
|
|
</property>
|
|
<widget class="QLabel" name="label_14">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>330</x>
|
|
<y>40</y>
|
|
<width>511</width>
|
|
<height>51</height>
|
|
</rect>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<family>华文楷体</family>
|
|
<pointsize>36</pointsize>
|
|
<italic>false</italic>
|
|
<bold>false</bold>
|
|
</font>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">color: rgb(0, 0, 0);
|
|
font: 36pt "华文楷体";</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>果蔬分选研发团队</string>
|
|
</property>
|
|
<property name="textFormat">
|
|
<enum>Qt::PlainText</enum>
|
|
</property>
|
|
</widget>
|
|
<widget class="QWidget" name="layoutWidget_2">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>2</x>
|
|
<y>90</y>
|
|
<width>841</width>
|
|
<height>61</height>
|
|
</rect>
|
|
</property>
|
|
<layout class="QHBoxLayout" name="horizontalLayout_14">
|
|
<item>
|
|
<widget class="QLabel" name="label_RGB">
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>12</pointsize>
|
|
<bold>true</bold>
|
|
</font>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">color: rgb(0, 0, 0);</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>左侧相机</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="RGBstatus">
|
|
<property name="styleSheet">
|
|
<string notr="true">color: rgb(255, 0, 0);</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>未连接</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="label_RGB_3">
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>12</pointsize>
|
|
<bold>true</bold>
|
|
</font>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">color: rgb(0, 0, 0);</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>右侧相机</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="RGBstatus_1">
|
|
<property name="styleSheet">
|
|
<string notr="true">color: rgb(255, 0, 0);</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>未连接</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="label_RGB_2">
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>12</pointsize>
|
|
<bold>true</bold>
|
|
</font>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">color: rgb(0, 0, 0);</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>顶部相机</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="RGBstatus_2">
|
|
<property name="styleSheet">
|
|
<string notr="true">color: rgb(255, 0, 0);</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>未连接</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="label_9">
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>12</pointsize>
|
|
<bold>true</bold>
|
|
</font>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">color: rgb(0, 0, 0);</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>光谱相机</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="spec_camera_status">
|
|
<property name="styleSheet">
|
|
<string notr="true">color: rgb(255, 0, 0);</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>未连接</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="label_11">
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>12</pointsize>
|
|
<bold>true</bold>
|
|
</font>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">color: rgb(0, 0, 0);</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>PLC</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="plc_status">
|
|
<property name="styleSheet">
|
|
<string notr="true">color: rgb(255, 0, 0);</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>未连接</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="label_17">
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>12</pointsize>
|
|
<bold>true</bold>
|
|
</font>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">color: rgb(0, 0, 0);</string>
|
|
</property>
|
|
<property name="text">
|
|
<string> 机械手</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="jxs_status">
|
|
<property name="styleSheet">
|
|
<string notr="true">color: rgb(255, 0, 0);</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>未连接</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<widget class="QWidget" name="layoutWidget">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>790</x>
|
|
<y>220</y>
|
|
<width>574</width>
|
|
<height>356</height>
|
|
</rect>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout_5"/>
|
|
</widget>
|
|
</widget>
|
|
<widget class="QWidget" name="layoutWidget">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>10</x>
|
|
<y>140</y>
|
|
<width>1951</width>
|
|
<height>791</height>
|
|
</rect>
|
|
</property>
|
|
<layout class="QHBoxLayout" name="horizontalLayout_8" stretch="0,1">
|
|
<item>
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
<item>
|
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
|
<item>
|
|
<widget class="QLabel" name="label_26">
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>12</pointsize>
|
|
<bold>true</bold>
|
|
</font>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">color: rgb(0, 0, 0);</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>当前分选果蔬:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="passionBtn">
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>12</pointsize>
|
|
<bold>true</bold>
|
|
</font>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">color: rgb(0, 0, 0);</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>百香果</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="tomatoBtn">
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>12</pointsize>
|
|
<bold>true</bold>
|
|
</font>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">color: rgb(0, 0, 0);</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>番茄</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="btn_start">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<family>宋体</family>
|
|
<pointsize>30</pointsize>
|
|
<italic>false</italic>
|
|
<bold>false</bold>
|
|
</font>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">color: rgb(0, 0, 0);
|
|
font: 30pt "宋体";</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>开始采集</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="show_resoult">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<family>宋体</family>
|
|
<pointsize>30</pointsize>
|
|
<italic>false</italic>
|
|
<bold>false</bold>
|
|
</font>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">color: rgb(0, 0, 0);
|
|
font: 30pt "宋体";</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>分选界面</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="btn_setparam">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<family>宋体</family>
|
|
<pointsize>30</pointsize>
|
|
<italic>false</italic>
|
|
<bold>false</bold>
|
|
</font>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">color: rgb(0, 0, 0);
|
|
font: 30pt "宋体";</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>设置参数</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="btn_save">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<family>宋体</family>
|
|
<pointsize>30</pointsize>
|
|
<italic>false</italic>
|
|
<bold>false</bold>
|
|
</font>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">color: rgb(0, 0, 0);
|
|
font: 30pt "宋体";</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>保存图片</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="view_results">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<family>宋体</family>
|
|
<pointsize>30</pointsize>
|
|
<italic>false</italic>
|
|
<bold>false</bold>
|
|
</font>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">color: rgb(0, 0, 0);
|
|
font: 30pt "宋体";</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>查看结果</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="btn_quit">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<family>宋体</family>
|
|
<pointsize>30</pointsize>
|
|
<italic>false</italic>
|
|
<bold>false</bold>
|
|
</font>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">color: rgb(0, 0, 0);
|
|
font: 30pt "宋体";</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>退出系统</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<layout class="QVBoxLayout" name="verticalLayout_2" stretch="0">
|
|
<item>
|
|
<widget class="QGroupBox" name="groupBox_4">
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>12</pointsize>
|
|
<bold>true</bold>
|
|
</font>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">color: rgb(0, 0, 0);</string>
|
|
</property>
|
|
<property name="title">
|
|
<string>相机</string>
|
|
</property>
|
|
<layout class="QGridLayout" name="gridLayout_2">
|
|
<item row="0" column="0">
|
|
<widget class="QGroupBox" name="groupBox_2">
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>12</pointsize>
|
|
<bold>true</bold>
|
|
</font>
|
|
</property>
|
|
<property name="title">
|
|
<string>顶部下</string>
|
|
</property>
|
|
<layout class="QGridLayout" name="gridLayout">
|
|
<item row="0" column="0">
|
|
<widget class="QLabel" name="label_topL">
|
|
<property name="styleSheet">
|
|
<string notr="true">background-color: rgb(170, 170, 255);</string>
|
|
</property>
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="1">
|
|
<widget class="QGroupBox" name="groupBox_3">
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>12</pointsize>
|
|
<bold>true</bold>
|
|
</font>
|
|
</property>
|
|
<property name="title">
|
|
<string>顶部中</string>
|
|
</property>
|
|
<layout class="QGridLayout" name="gridLayout_3">
|
|
<item row="0" column="1">
|
|
<widget class="QLabel" name="label_topM">
|
|
<property name="styleSheet">
|
|
<string notr="true">background-color: rgb(170, 170, 255);</string>
|
|
</property>
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="2">
|
|
<widget class="QGroupBox" name="groupBox_5">
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>12</pointsize>
|
|
<bold>true</bold>
|
|
</font>
|
|
</property>
|
|
<property name="title">
|
|
<string>顶部上</string>
|
|
</property>
|
|
<layout class="QGridLayout" name="gridLayout_4">
|
|
<item row="0" column="0">
|
|
<widget class="QLabel" name="label_topR">
|
|
<property name="styleSheet">
|
|
<string notr="true">background-color: rgb(170, 170, 255);</string>
|
|
</property>
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<widget class="QGroupBox" name="groupBox_6">
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>12</pointsize>
|
|
<bold>true</bold>
|
|
</font>
|
|
</property>
|
|
<property name="title">
|
|
<string>左侧</string>
|
|
</property>
|
|
<layout class="QGridLayout" name="gridLayout_5">
|
|
<item row="0" column="0">
|
|
<widget class="QLabel" name="showimg_right">
|
|
<property name="styleSheet">
|
|
<string notr="true">background-color: rgb(170, 170, 255);</string>
|
|
</property>
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="1">
|
|
<widget class="QGroupBox" name="groupBox_7">
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>12</pointsize>
|
|
<bold>true</bold>
|
|
</font>
|
|
</property>
|
|
<property name="title">
|
|
<string>右侧</string>
|
|
</property>
|
|
<layout class="QGridLayout" name="gridLayout_6">
|
|
<item row="0" column="0">
|
|
<widget class="QLabel" name="showimg_left">
|
|
<property name="styleSheet">
|
|
<string notr="true">background-color: rgb(170, 170, 255);</string>
|
|
</property>
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="2">
|
|
<widget class="QGroupBox" name="groupBox_8">
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>12</pointsize>
|
|
<bold>true</bold>
|
|
</font>
|
|
</property>
|
|
<property name="title">
|
|
<string>光谱相机</string>
|
|
</property>
|
|
<layout class="QGridLayout" name="gridLayout_7">
|
|
<item row="0" column="0">
|
|
<widget class="QLabel" name="spec_camera_show">
|
|
<property name="styleSheet">
|
|
<string notr="true">background-color: rgb(170, 170, 255);</string>
|
|
</property>
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</widget>
|
|
<widget class="QWidget" name="tab_2">
|
|
<attribute name="title">
|
|
<string>Tab3</string>
|
|
</attribute>
|
|
<widget class="QGroupBox" name="groupBox_11">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>40</x>
|
|
<y>50</y>
|
|
<width>531</width>
|
|
<height>231</height>
|
|
</rect>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>16</pointsize>
|
|
<bold>true</bold>
|
|
</font>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">color: rgb(0, 0, 0);</string>
|
|
</property>
|
|
<property name="title">
|
|
<string>左侧相机</string>
|
|
</property>
|
|
<layout class="QGridLayout" name="gridLayout_13">
|
|
<item row="0" column="0">
|
|
<widget class="QLabel" name="label_28">
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>16</pointsize>
|
|
<bold>true</bold>
|
|
</font>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">color: rgb(0, 0, 0);</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>曝光时间:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="1">
|
|
<widget class="QSpinBox" name="exSpinBox_left">
|
|
<property name="font">
|
|
<font>
|
|
<bold>true</bold>
|
|
</font>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">color: rgb(0, 0, 0);</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<widget class="QLabel" name="label_29">
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>16</pointsize>
|
|
<bold>true</bold>
|
|
</font>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">color: rgb(0, 0, 0);</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>白平衡:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="1">
|
|
<widget class="QSpinBox" name="wbSpinBox_left_2">
|
|
<property name="font">
|
|
<font>
|
|
<bold>true</bold>
|
|
</font>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">color: rgb(0, 0, 0);</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="0">
|
|
<widget class="QLabel" name="label_30">
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>16</pointsize>
|
|
<bold>true</bold>
|
|
</font>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">color: rgb(0, 0, 0);</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>增益:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="1">
|
|
<widget class="QSpinBox" name="GainSpinBox_left">
|
|
<property name="font">
|
|
<font>
|
|
<bold>true</bold>
|
|
</font>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">color: rgb(0, 0, 0);</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<widget class="QGroupBox" name="groupBox_13">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>40</x>
|
|
<y>350</y>
|
|
<width>531</width>
|
|
<height>231</height>
|
|
</rect>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>16</pointsize>
|
|
<bold>true</bold>
|
|
</font>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">color: rgb(0, 0, 0);</string>
|
|
</property>
|
|
<property name="title">
|
|
<string>顶侧相机</string>
|
|
</property>
|
|
<layout class="QGridLayout" name="gridLayout_16">
|
|
<item row="0" column="0">
|
|
<widget class="QLabel" name="label_38">
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>16</pointsize>
|
|
<bold>true</bold>
|
|
</font>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">color: rgb(0, 0, 0);</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>曝光时间:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="1">
|
|
<widget class="QSpinBox" name="exspinBox_top">
|
|
<property name="font">
|
|
<font>
|
|
<bold>true</bold>
|
|
</font>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">color: rgb(0, 0, 0);</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<widget class="QLabel" name="label_39">
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>16</pointsize>
|
|
<bold>true</bold>
|
|
</font>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">color: rgb(0, 0, 0);</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>白平衡:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="1">
|
|
<widget class="QSpinBox" name="wbspinBox_top">
|
|
<property name="font">
|
|
<font>
|
|
<bold>true</bold>
|
|
</font>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">color: rgb(0, 0, 0);</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="0">
|
|
<widget class="QLabel" name="label_40">
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>16</pointsize>
|
|
<bold>true</bold>
|
|
</font>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">color: rgb(0, 0, 0);</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>增益:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="1">
|
|
<widget class="QSpinBox" name="GainspinBox_top">
|
|
<property name="font">
|
|
<font>
|
|
<bold>true</bold>
|
|
</font>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">color: rgb(0, 0, 0);</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<widget class="QGroupBox" name="groupBox_15">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>700</x>
|
|
<y>60</y>
|
|
<width>531</width>
|
|
<height>231</height>
|
|
</rect>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>16</pointsize>
|
|
<bold>true</bold>
|
|
</font>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">color: rgb(0, 0, 0);</string>
|
|
</property>
|
|
<property name="title">
|
|
<string>右侧相机</string>
|
|
</property>
|
|
<layout class="QGridLayout" name="gridLayout_18">
|
|
<item row="0" column="0">
|
|
<widget class="QLabel" name="label_46">
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>16</pointsize>
|
|
<bold>true</bold>
|
|
</font>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">color: rgb(0, 0, 0);</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>曝光时间:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="1">
|
|
<widget class="QSpinBox" name="exspinBox_right">
|
|
<property name="font">
|
|
<font>
|
|
<bold>true</bold>
|
|
</font>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">color: rgb(0, 0, 0);</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<widget class="QLabel" name="label_47">
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>16</pointsize>
|
|
<bold>true</bold>
|
|
</font>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">color: rgb(0, 0, 0);</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>白平衡:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="1">
|
|
<widget class="QSpinBox" name="wbspinBox_right">
|
|
<property name="font">
|
|
<font>
|
|
<bold>true</bold>
|
|
</font>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">color: rgb(0, 0, 0);</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="0">
|
|
<widget class="QLabel" name="label_48">
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>16</pointsize>
|
|
<bold>true</bold>
|
|
</font>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">color: rgb(0, 0, 0);</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>增益:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="1">
|
|
<widget class="QSpinBox" name="GainspinBox_right">
|
|
<property name="font">
|
|
<font>
|
|
<bold>true</bold>
|
|
</font>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">color: rgb(0, 0, 0);</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<widget class="QPushButton" name="btn_enterparam">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>710</x>
|
|
<y>380</y>
|
|
<width>161</width>
|
|
<height>91</height>
|
|
</rect>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>16</pointsize>
|
|
<bold>true</bold>
|
|
</font>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">color: rgb(0, 0, 0);</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>设置相机参数</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QPushButton" name="tab3_ReturnToMain">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>1300</x>
|
|
<y>820</y>
|
|
<width>241</width>
|
|
<height>91</height>
|
|
</rect>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>16</pointsize>
|
|
<bold>true</bold>
|
|
</font>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">color: rgb(0, 0, 0);</string>
|
|
</property>
|
|
<property name="text">
|
|
<string> 返回主界面</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QPushButton" name="choose_to">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>340</x>
|
|
<y>710</y>
|
|
<width>241</width>
|
|
<height>141</height>
|
|
</rect>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>16</pointsize>
|
|
<bold>true</bold>
|
|
</font>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">color: rgb(0, 0, 0);</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>番茄</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QPushButton" name="choose_pa">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>40</x>
|
|
<y>710</y>
|
|
<width>231</width>
|
|
<height>141</height>
|
|
</rect>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>16</pointsize>
|
|
<bold>true</bold>
|
|
</font>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">color: rgb(0, 0, 0);</string>
|
|
</property>
|
|
<property name="text">
|
|
<string> 百香果</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLineEdit" name="InputNum1">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>774</x>
|
|
<y>720</y>
|
|
<width>81</width>
|
|
<height>30</height>
|
|
</rect>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>16</pointsize>
|
|
<bold>false</bold>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLineEdit" name="InputNum5">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>1050</x>
|
|
<y>780</y>
|
|
<width>94</width>
|
|
<height>30</height>
|
|
</rect>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>16</pointsize>
|
|
<bold>false</bold>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLabel" name="label_5">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>720</x>
|
|
<y>630</y>
|
|
<width>108</width>
|
|
<height>21</height>
|
|
</rect>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>16</pointsize>
|
|
<bold>true</bold>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string>阈值标准:</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLineEdit" name="InputNum4">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>820</x>
|
|
<y>780</y>
|
|
<width>81</width>
|
|
<height>30</height>
|
|
</rect>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>16</pointsize>
|
|
<bold>false</bold>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
</widget>
|
|
<widget class="QPushButton" name="set_threshoid">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>720</x>
|
|
<y>830</y>
|
|
<width>261</width>
|
|
<height>91</height>
|
|
</rect>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">font: 30pt "宋体";</string>
|
|
</property>
|
|
<property name="text">
|
|
<string> 设定阈值</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLabel" name="label_32">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>720</x>
|
|
<y>780</y>
|
|
<width>86</width>
|
|
<height>31</height>
|
|
</rect>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>16</pointsize>
|
|
<bold>true</bold>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string>缺陷数量</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLineEdit" name="InputNum3">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>1140</x>
|
|
<y>720</y>
|
|
<width>91</width>
|
|
<height>28</height>
|
|
</rect>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>16</pointsize>
|
|
<bold>false</bold>
|
|
</font>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLabel" name="label_33">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>940</x>
|
|
<y>780</y>
|
|
<width>86</width>
|
|
<height>31</height>
|
|
</rect>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>16</pointsize>
|
|
<bold>true</bold>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string>缺陷面积</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLabel" name="label_10">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>717</x>
|
|
<y>720</y>
|
|
<width>43</width>
|
|
<height>31</height>
|
|
</rect>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>16</pointsize>
|
|
<bold>true</bold>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string>糖度</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLabel" name="label_18">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>870</x>
|
|
<y>720</y>
|
|
<width>43</width>
|
|
<height>31</height>
|
|
</rect>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>16</pointsize>
|
|
<bold>true</bold>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string>直径</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLineEdit" name="InputNum2">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>930</x>
|
|
<y>720</y>
|
|
<width>81</width>
|
|
<height>30</height>
|
|
</rect>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>16</pointsize>
|
|
<bold>false</bold>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLabel" name="label_12">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>40</x>
|
|
<y>630</y>
|
|
<width>141</width>
|
|
<height>21</height>
|
|
</rect>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>16</pointsize>
|
|
<bold>true</bold>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string>请选择果蔬:</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLabel" name="label_21">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>1030</x>
|
|
<y>720</y>
|
|
<width>91</width>
|
|
<height>31</height>
|
|
</rect>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>16</pointsize>
|
|
<bold>true</bold>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string>颜色占比</string>
|
|
</property>
|
|
</widget>
|
|
</widget>
|
|
<widget class="QWidget" name="tab_4">
|
|
<attribute name="title">
|
|
<string>Tab4</string>
|
|
</attribute>
|
|
<widget class="QLabel" name="show_resultsImg">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>10</x>
|
|
<y>60</y>
|
|
<width>816</width>
|
|
<height>683</height>
|
|
</rect>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">background-color: rgb(0, 0, 0);</string>
|
|
</property>
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLabel" name="label_3">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>10</x>
|
|
<y>-10</y>
|
|
<width>181</width>
|
|
<height>81</height>
|
|
</rect>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>16</pointsize>
|
|
<bold>true</bold>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string>处理结果图:</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QPushButton" name="tab4_ReturnToMain">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>1530</x>
|
|
<y>830</y>
|
|
<width>291</width>
|
|
<height>101</height>
|
|
</rect>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">font: 30pt "宋体";</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>返回主界面</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QPlainTextEdit" name="resoult_info_label">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>950</x>
|
|
<y>60</y>
|
|
<width>871</width>
|
|
<height>681</height>
|
|
</rect>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">font: 10pt "微软雅黑";</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QPushButton" name="choose_pa_2">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>10</x>
|
|
<y>830</y>
|
|
<width>161</width>
|
|
<height>91</height>
|
|
</rect>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>16</pointsize>
|
|
<bold>true</bold>
|
|
</font>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">color: rgb(0, 0, 0);</string>
|
|
</property>
|
|
<property name="text">
|
|
<string> 百香果</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLabel" name="label_13">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>10</x>
|
|
<y>750</y>
|
|
<width>141</width>
|
|
<height>21</height>
|
|
</rect>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>16</pointsize>
|
|
<bold>true</bold>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string>当前分类果蔬:</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QPushButton" name="choose_to_2">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>210</x>
|
|
<y>830</y>
|
|
<width>161</width>
|
|
<height>91</height>
|
|
</rect>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>16</pointsize>
|
|
<bold>true</bold>
|
|
</font>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">color: rgb(0, 0, 0);</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>番茄</string>
|
|
</property>
|
|
</widget>
|
|
</widget>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<resources/>
|
|
<connections/>
|
|
</ui>
|