306 lines
8.5 KiB
XML
306 lines
8.5 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>QtDefectSetClass</class>
|
|
<widget class="QMainWindow" name="QtDefectSetClass">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>525</width>
|
|
<height>618</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>QtAddCamera</string>
|
|
</property>
|
|
<widget class="QWidget" name="centralWidget">
|
|
<property name="styleSheet">
|
|
<string notr="true">background-color: rgb(31, 31, 31);
|
|
color: rgb(229, 229, 229);</string>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout_2">
|
|
<item>
|
|
<widget class="QFrame" name="title">
|
|
<property name="styleSheet">
|
|
<string notr="true">background-color: rgb(31, 31, 31);</string>
|
|
</property>
|
|
<layout class="QHBoxLayout" name="horizontalLayout_4">
|
|
<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="QLabel" name="label_icon">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>60</width>
|
|
<height>30</height>
|
|
</size>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">image: url(:/图标/C:/Users/DongSheng_mw/Desktop/图标/1.主界面图标_32px/9.2.打开任务.png);</string>
|
|
</property>
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer name="horizontalSpacer_6">
|
|
<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_7">
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>16</pointsize>
|
|
</font>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">color: rgb(229, 229, 229);</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>缺陷类别名称设置</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer name="horizontalSpacer_7">
|
|
<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="pushButton_min">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Minimum" vsizetype="Preferred">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>30</width>
|
|
<height>30</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>30</width>
|
|
<height>30</height>
|
|
</size>
|
|
</property>
|
|
<property name="text">
|
|
<string>最小化</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="pushButton_max">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>30</width>
|
|
<height>30</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>30</width>
|
|
<height>30</height>
|
|
</size>
|
|
</property>
|
|
<property name="text">
|
|
<string>最大</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="pushButton_close">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>30</width>
|
|
<height>30</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>30</width>
|
|
<height>30</height>
|
|
</size>
|
|
</property>
|
|
<property name="text">
|
|
<string>关闭</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QWidget" name="widget" native="true">
|
|
<property name="styleSheet">
|
|
<string notr="true">background-color: rgb(50, 55, 60);</string>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
<item>
|
|
<widget class="QTableWidget" name="tableWidget">
|
|
<property name="styleSheet">
|
|
<string notr="true">background-color: rgb(32, 36, 40);</string>
|
|
</property>
|
|
<row>
|
|
<property name="text">
|
|
<string>新建行</string>
|
|
</property>
|
|
</row>
|
|
<row>
|
|
<property name="text">
|
|
<string>新建行</string>
|
|
</property>
|
|
</row>
|
|
<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>
|
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
|
<item>
|
|
<widget class="QPushButton" name="pushButton_AddLine">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>0</width>
|
|
<height>25</height>
|
|
</size>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>12</pointsize>
|
|
</font>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">border-radius:10px;
|
|
background-color: rgb(68, 74, 80);</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>增加一行</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="pushButton_DeleteLine">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>0</width>
|
|
<height>25</height>
|
|
</size>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>12</pointsize>
|
|
</font>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">border-radius:10px;
|
|
background-color: rgb(68, 74, 80);</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>删除当前行</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="pushButton_Save">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>0</width>
|
|
<height>25</height>
|
|
</size>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>12</pointsize>
|
|
</font>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">border-radius:10px;
|
|
background-color: rgb(68, 74, 80);</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>保存</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="label">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>0</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">border-radius:5px;
|
|
background-color: rgb(50, 55, 60);</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>注意:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</widget>
|
|
<layoutdefault spacing="6" margin="11"/>
|
|
<resources>
|
|
<include location="QtAddCamera.qrc"/>
|
|
</resources>
|
|
<connections/>
|
|
</ui>
|