474 lines
14 KiB
Plaintext
474 lines
14 KiB
Plaintext
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
||
|
|
<ui version="4.0">
|
||
|
|
<class>MainWindow</class>
|
||
|
|
<widget class="QMainWindow" name="MainWindow">
|
||
|
|
<property name="geometry">
|
||
|
|
<rect>
|
||
|
|
<x>0</x>
|
||
|
|
<y>0</y>
|
||
|
|
<width>1185</width>
|
||
|
|
<height>771</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="QWidget" name="centralwidget">
|
||
|
|
<layout class="QVBoxLayout" name="verticalLayout_main">
|
||
|
|
<property name="spacing">
|
||
|
|
<number>0</number>
|
||
|
|
</property>
|
||
|
|
<property name="leftMargin">
|
||
|
|
<number>0</number>
|
||
|
|
</property>
|
||
|
|
<property name="topMargin">
|
||
|
|
<number>0</number>
|
||
|
|
</property>
|
||
|
|
<property name="rightMargin">
|
||
|
|
<number>0</number>
|
||
|
|
</property>
|
||
|
|
<property name="bottomMargin">
|
||
|
|
<number>0</number>
|
||
|
|
</property>
|
||
|
|
<item>
|
||
|
|
<widget class="QGroupBox" name="groupBox">
|
||
|
|
<property name="minimumSize">
|
||
|
|
<size>
|
||
|
|
<width>0</width>
|
||
|
|
<height>120</height>
|
||
|
|
</size>
|
||
|
|
</property>
|
||
|
|
<property name="maximumSize">
|
||
|
|
<size>
|
||
|
|
<width>16777215</width>
|
||
|
|
<height>120</height>
|
||
|
|
</size>
|
||
|
|
</property>
|
||
|
|
<property name="styleSheet">
|
||
|
|
<string notr="true">background-color: rgb(38, 40, 47); border: none;</string>
|
||
|
|
</property>
|
||
|
|
<property name="title">
|
||
|
|
<string/>
|
||
|
|
</property>
|
||
|
|
<property name="flat">
|
||
|
|
<bool>true</bool>
|
||
|
|
</property>
|
||
|
|
<layout class="QHBoxLayout" name="horizontalLayout_header">
|
||
|
|
<property name="spacing">
|
||
|
|
<number>10</number>
|
||
|
|
</property>
|
||
|
|
<property name="leftMargin">
|
||
|
|
<number>40</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="QLabel" name="label">
|
||
|
|
<property name="font">
|
||
|
|
<font>
|
||
|
|
<pointsize>36</pointsize>
|
||
|
|
<bold>true</bold>
|
||
|
|
</font>
|
||
|
|
</property>
|
||
|
|
<property name="styleSheet">
|
||
|
|
<string notr="true">color: rgb(239, 241, 245);
|
||
|
|
background-color: rgba(255, 255, 255, 0);</string>
|
||
|
|
</property>
|
||
|
|
<property name="text">
|
||
|
|
<string>主控程序</string>
|
||
|
|
</property>
|
||
|
|
</widget>
|
||
|
|
</item>
|
||
|
|
<item>
|
||
|
|
<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>
|
||
|
|
<item>
|
||
|
|
<widget class="QPushButton" name="btn_config">
|
||
|
|
<property name="minimumSize">
|
||
|
|
<size>
|
||
|
|
<width>220</width>
|
||
|
|
<height>80</height>
|
||
|
|
</size>
|
||
|
|
</property>
|
||
|
|
<property name="maximumSize">
|
||
|
|
<size>
|
||
|
|
<width>220</width>
|
||
|
|
<height>80</height>
|
||
|
|
</size>
|
||
|
|
</property>
|
||
|
|
<property name="font">
|
||
|
|
<font>
|
||
|
|
<pointsize>18</pointsize>
|
||
|
|
</font>
|
||
|
|
</property>
|
||
|
|
<property name="styleSheet">
|
||
|
|
<string notr="true">image: url(:/common/resource/config_algo.png);
|
||
|
|
background-color: rgb(38, 40, 47);
|
||
|
|
border: none;</string>
|
||
|
|
</property>
|
||
|
|
<property name="text">
|
||
|
|
<string/>
|
||
|
|
</property>
|
||
|
|
</widget>
|
||
|
|
</item>
|
||
|
|
<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="QPushButton" name="btn_start">
|
||
|
|
<property name="enabled">
|
||
|
|
<bool>true</bool>
|
||
|
|
</property>
|
||
|
|
<property name="minimumSize">
|
||
|
|
<size>
|
||
|
|
<width>80</width>
|
||
|
|
<height>80</height>
|
||
|
|
</size>
|
||
|
|
</property>
|
||
|
|
<property name="maximumSize">
|
||
|
|
<size>
|
||
|
|
<width>80</width>
|
||
|
|
<height>80</height>
|
||
|
|
</size>
|
||
|
|
</property>
|
||
|
|
<property name="font">
|
||
|
|
<font>
|
||
|
|
<pointsize>-1</pointsize>
|
||
|
|
<bold>true</bold>
|
||
|
|
</font>
|
||
|
|
</property>
|
||
|
|
<property name="styleSheet">
|
||
|
|
<string notr="true">QPushButton { background-color: rgb(60, 180, 120); border-radius: 40px; color: white; font-size: 24px; font-weight: bold; }
|
||
|
|
QPushButton:hover { background-color: rgb(70, 190, 130); }
|
||
|
|
QPushButton:pressed { background-color: rgb(50, 170, 110); }
|
||
|
|
QPushButton:disabled { background-color: rgb(100, 100, 100); }</string>
|
||
|
|
</property>
|
||
|
|
<property name="text">
|
||
|
|
<string>开始</string>
|
||
|
|
</property>
|
||
|
|
</widget>
|
||
|
|
</item>
|
||
|
|
<item>
|
||
|
|
<widget class="QPushButton" name="btn_pause">
|
||
|
|
<property name="minimumSize">
|
||
|
|
<size>
|
||
|
|
<width>80</width>
|
||
|
|
<height>80</height>
|
||
|
|
</size>
|
||
|
|
</property>
|
||
|
|
<property name="maximumSize">
|
||
|
|
<size>
|
||
|
|
<width>80</width>
|
||
|
|
<height>80</height>
|
||
|
|
</size>
|
||
|
|
</property>
|
||
|
|
<property name="font">
|
||
|
|
<font>
|
||
|
|
<pointsize>-1</pointsize>
|
||
|
|
<bold>true</bold>
|
||
|
|
</font>
|
||
|
|
</property>
|
||
|
|
<property name="styleSheet">
|
||
|
|
<string notr="true">QPushButton { background-color: rgb(255, 165, 0); border-radius: 40px; color: white; font-size: 24px; font-weight: bold; }
|
||
|
|
QPushButton:hover { background-color: rgb(255, 185, 50); }
|
||
|
|
QPushButton:pressed { background-color: rgb(235, 145, 0); }
|
||
|
|
QPushButton:disabled { background-color: rgb(100, 100, 100); }</string>
|
||
|
|
</property>
|
||
|
|
<property name="text">
|
||
|
|
<string>暂停</string>
|
||
|
|
</property>
|
||
|
|
</widget>
|
||
|
|
</item>
|
||
|
|
<item>
|
||
|
|
<widget class="QPushButton" name="btn_step">
|
||
|
|
<property name="minimumSize">
|
||
|
|
<size>
|
||
|
|
<width>80</width>
|
||
|
|
<height>80</height>
|
||
|
|
</size>
|
||
|
|
</property>
|
||
|
|
<property name="maximumSize">
|
||
|
|
<size>
|
||
|
|
<width>80</width>
|
||
|
|
<height>80</height>
|
||
|
|
</size>
|
||
|
|
</property>
|
||
|
|
<property name="font">
|
||
|
|
<font>
|
||
|
|
<pointsize>-1</pointsize>
|
||
|
|
<bold>true</bold>
|
||
|
|
</font>
|
||
|
|
</property>
|
||
|
|
<property name="styleSheet">
|
||
|
|
<string notr="true">QPushButton { background-color: rgb(100, 150, 255); border-radius: 40px; color: white; font-size: 24px; font-weight: bold; }
|
||
|
|
QPushButton:hover { background-color: rgb(120, 170, 255); }
|
||
|
|
QPushButton:pressed { background-color: rgb(80, 130, 235); }
|
||
|
|
QPushButton:disabled { background-color: rgb(100, 100, 100); }</string>
|
||
|
|
</property>
|
||
|
|
<property name="text">
|
||
|
|
<string>单步</string>
|
||
|
|
</property>
|
||
|
|
</widget>
|
||
|
|
</item>
|
||
|
|
<item>
|
||
|
|
<widget class="QPushButton" name="btn_stop">
|
||
|
|
<property name="minimumSize">
|
||
|
|
<size>
|
||
|
|
<width>80</width>
|
||
|
|
<height>80</height>
|
||
|
|
</size>
|
||
|
|
</property>
|
||
|
|
<property name="maximumSize">
|
||
|
|
<size>
|
||
|
|
<width>80</width>
|
||
|
|
<height>80</height>
|
||
|
|
</size>
|
||
|
|
</property>
|
||
|
|
<property name="font">
|
||
|
|
<font>
|
||
|
|
<pointsize>-1</pointsize>
|
||
|
|
<bold>true</bold>
|
||
|
|
</font>
|
||
|
|
</property>
|
||
|
|
<property name="styleSheet">
|
||
|
|
<string notr="true">QPushButton { background-color: rgb(220, 80, 80); border-radius: 40px; color: white; font-size: 24px; font-weight: bold; }
|
||
|
|
QPushButton:hover { background-color: rgb(230, 100, 100); }
|
||
|
|
QPushButton:pressed { background-color: rgb(200, 70, 70); }
|
||
|
|
QPushButton:disabled { background-color: rgb(100, 100, 100); }</string>
|
||
|
|
</property>
|
||
|
|
<property name="text">
|
||
|
|
<string>停止</string>
|
||
|
|
</property>
|
||
|
|
</widget>
|
||
|
|
</item>
|
||
|
|
<item>
|
||
|
|
<widget class="QPushButton" name="btn_hide">
|
||
|
|
<property name="minimumSize">
|
||
|
|
<size>
|
||
|
|
<width>56</width>
|
||
|
|
<height>56</height>
|
||
|
|
</size>
|
||
|
|
</property>
|
||
|
|
<property name="maximumSize">
|
||
|
|
<size>
|
||
|
|
<width>56</width>
|
||
|
|
<height>56</height>
|
||
|
|
</size>
|
||
|
|
</property>
|
||
|
|
<property name="styleSheet">
|
||
|
|
<string notr="true">background-image: url(:/common/resource/hide.png);
|
||
|
|
background-color: rgba(255, 255, 255, 0);</string>
|
||
|
|
</property>
|
||
|
|
<property name="text">
|
||
|
|
<string/>
|
||
|
|
</property>
|
||
|
|
</widget>
|
||
|
|
</item>
|
||
|
|
<item>
|
||
|
|
<widget class="QPushButton" name="btn_fullscreen">
|
||
|
|
<property name="minimumSize">
|
||
|
|
<size>
|
||
|
|
<width>56</width>
|
||
|
|
<height>56</height>
|
||
|
|
</size>
|
||
|
|
</property>
|
||
|
|
<property name="maximumSize">
|
||
|
|
<size>
|
||
|
|
<width>56</width>
|
||
|
|
<height>56</height>
|
||
|
|
</size>
|
||
|
|
</property>
|
||
|
|
<property name="styleSheet">
|
||
|
|
<string notr="true">background-image: url(:/common/resource/fullscreen.png);
|
||
|
|
background-color: rgba(255, 255, 255, 0);</string>
|
||
|
|
</property>
|
||
|
|
<property name="text">
|
||
|
|
<string/>
|
||
|
|
</property>
|
||
|
|
</widget>
|
||
|
|
</item>
|
||
|
|
<item>
|
||
|
|
<widget class="QPushButton" name="btn_close">
|
||
|
|
<property name="minimumSize">
|
||
|
|
<size>
|
||
|
|
<width>56</width>
|
||
|
|
<height>56</height>
|
||
|
|
</size>
|
||
|
|
</property>
|
||
|
|
<property name="maximumSize">
|
||
|
|
<size>
|
||
|
|
<width>56</width>
|
||
|
|
<height>56</height>
|
||
|
|
</size>
|
||
|
|
</property>
|
||
|
|
<property name="styleSheet">
|
||
|
|
<string notr="true">background-image: url(:/common/resource/close.png);
|
||
|
|
background-color: rgba(255, 255, 255, 0);</string>
|
||
|
|
</property>
|
||
|
|
<property name="text">
|
||
|
|
<string/>
|
||
|
|
</property>
|
||
|
|
</widget>
|
||
|
|
</item>
|
||
|
|
</layout>
|
||
|
|
</widget>
|
||
|
|
</item>
|
||
|
|
<item>
|
||
|
|
<layout class="QHBoxLayout" name="horizontalLayout_content">
|
||
|
|
<property name="spacing">
|
||
|
|
<number>20</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="QFrame" name="frame_workflow">
|
||
|
|
<property name="sizePolicy">
|
||
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
|
||
|
|
<horstretch>3</horstretch>
|
||
|
|
<verstretch>0</verstretch>
|
||
|
|
</sizepolicy>
|
||
|
|
</property>
|
||
|
|
<property name="styleSheet">
|
||
|
|
<string notr="true">background-color: rgb(37, 38, 42);</string>
|
||
|
|
</property>
|
||
|
|
<property name="frameShape">
|
||
|
|
<enum>QFrame::StyledPanel</enum>
|
||
|
|
</property>
|
||
|
|
<property name="frameShadow">
|
||
|
|
<enum>QFrame::Raised</enum>
|
||
|
|
</property>
|
||
|
|
</widget>
|
||
|
|
</item>
|
||
|
|
<item>
|
||
|
|
<layout class="QVBoxLayout" name="verticalLayout_right">
|
||
|
|
<property name="spacing">
|
||
|
|
<number>12</number>
|
||
|
|
</property>
|
||
|
|
<item>
|
||
|
|
<widget class="QFrame" name="frame_device">
|
||
|
|
<property name="sizePolicy">
|
||
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
||
|
|
<horstretch>2</horstretch>
|
||
|
|
<verstretch>0</verstretch>
|
||
|
|
</sizepolicy>
|
||
|
|
</property>
|
||
|
|
<property name="minimumSize">
|
||
|
|
<size>
|
||
|
|
<width>500</width>
|
||
|
|
<height>64</height>
|
||
|
|
</size>
|
||
|
|
</property>
|
||
|
|
<property name="maximumSize">
|
||
|
|
<size>
|
||
|
|
<width>16777215</width>
|
||
|
|
<height>64</height>
|
||
|
|
</size>
|
||
|
|
</property>
|
||
|
|
<property name="styleSheet">
|
||
|
|
<string notr="true">background-color: rgba(37, 38, 42, 0);</string>
|
||
|
|
</property>
|
||
|
|
<property name="frameShape">
|
||
|
|
<enum>QFrame::StyledPanel</enum>
|
||
|
|
</property>
|
||
|
|
<property name="frameShadow">
|
||
|
|
<enum>QFrame::Raised</enum>
|
||
|
|
</property>
|
||
|
|
</widget>
|
||
|
|
</item>
|
||
|
|
<item>
|
||
|
|
<widget class="QListView" name="detect_log">
|
||
|
|
<property name="sizePolicy">
|
||
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Expanding">
|
||
|
|
<horstretch>2</horstretch>
|
||
|
|
<verstretch>0</verstretch>
|
||
|
|
</sizepolicy>
|
||
|
|
</property>
|
||
|
|
<property name="minimumSize">
|
||
|
|
<size>
|
||
|
|
<width>500</width>
|
||
|
|
<height>0</height>
|
||
|
|
</size>
|
||
|
|
</property>
|
||
|
|
<property name="font">
|
||
|
|
<font>
|
||
|
|
<pointsize>12</pointsize>
|
||
|
|
</font>
|
||
|
|
</property>
|
||
|
|
<property name="styleSheet">
|
||
|
|
<string notr="true">background-color: rgb(37, 38, 42);
|
||
|
|
color: rgb(239, 241, 245);
|
||
|
|
border: none;</string>
|
||
|
|
</property>
|
||
|
|
<property name="frameShape">
|
||
|
|
<enum>QFrame::NoFrame</enum>
|
||
|
|
</property>
|
||
|
|
<property name="editTriggers">
|
||
|
|
<set>QAbstractItemView::NoEditTriggers</set>
|
||
|
|
</property>
|
||
|
|
</widget>
|
||
|
|
</item>
|
||
|
|
</layout>
|
||
|
|
</item>
|
||
|
|
</layout>
|
||
|
|
</item>
|
||
|
|
</layout>
|
||
|
|
</widget>
|
||
|
|
<widget class="QMenuBar" name="menubar">
|
||
|
|
<property name="geometry">
|
||
|
|
<rect>
|
||
|
|
<x>0</x>
|
||
|
|
<y>0</y>
|
||
|
|
<width>1185</width>
|
||
|
|
<height>20</height>
|
||
|
|
</rect>
|
||
|
|
</property>
|
||
|
|
<property name="styleSheet">
|
||
|
|
<string notr="true">color: rgb(37, 38, 42);</string>
|
||
|
|
</property>
|
||
|
|
</widget>
|
||
|
|
<widget class="QStatusBar" name="statusbar"/>
|
||
|
|
</widget>
|
||
|
|
<resources/>
|
||
|
|
<connections/>
|
||
|
|
</ui>
|