123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528 |
- <?xml version="1.0" encoding="UTF-8"?>
- <ui version="4.0">
- <class>CToolDialog</class>
- <widget class="QDialog" name="CToolDialog">
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>900</width>
- <height>540</height>
- </rect>
- </property>
- <property name="windowTitle">
- <string>CToolDialog</string>
- </property>
- <property name="styleSheet">
- <string notr="true">#Tool_widget{border:1px solid rgb(61, 61, 61)}
- #Image_widget{border:1px solid rgb(61, 61, 61)}</string>
- </property>
- <layout class="QGridLayout" name="gridLayout_2">
- <item row="0" column="0">
- <widget class="QTabWidget" name="tabWidget">
- <property name="minimumSize">
- <size>
- <width>300</width>
- <height>0</height>
- </size>
- </property>
- <property name="maximumSize">
- <size>
- <width>300</width>
- <height>16777215</height>
- </size>
- </property>
- <property name="currentIndex">
- <number>1</number>
- </property>
- <widget class="QWidget" name="tab">
- <attribute name="title">
- <string>变量相关</string>
- </attribute>
- <widget class="QGroupBox" name="groupBox">
- <property name="geometry">
- <rect>
- <x>2</x>
- <y>140</y>
- <width>261</width>
- <height>71</height>
- </rect>
- </property>
- <property name="title">
- <string>输出的变量</string>
- </property>
- <widget class="QLabel" name="label_3">
- <property name="enabled">
- <bool>true</bool>
- </property>
- <property name="geometry">
- <rect>
- <x>43</x>
- <y>20</y>
- <width>61</width>
- <height>31</height>
- </rect>
- </property>
- <property name="text">
- <string>Value3</string>
- </property>
- </widget>
- <widget class="QTextEdit" name="textEdit_3">
- <property name="geometry">
- <rect>
- <x>100</x>
- <y>20</y>
- <width>141</width>
- <height>31</height>
- </rect>
- </property>
- </widget>
- </widget>
- <widget class="QGroupBox" name="groupBox_2">
- <property name="geometry">
- <rect>
- <x>2</x>
- <y>20</y>
- <width>261</width>
- <height>111</height>
- </rect>
- </property>
- <property name="title">
- <string>输入的变量</string>
- </property>
- <widget class="QTextEdit" name="textEdit_1">
- <property name="geometry">
- <rect>
- <x>100</x>
- <y>20</y>
- <width>141</width>
- <height>31</height>
- </rect>
- </property>
- </widget>
- <widget class="QLabel" name="label_2">
- <property name="enabled">
- <bool>true</bool>
- </property>
- <property name="geometry">
- <rect>
- <x>33</x>
- <y>60</y>
- <width>71</width>
- <height>31</height>
- </rect>
- </property>
- <property name="text">
- <string>Value2</string>
- </property>
- </widget>
- <widget class="QLabel" name="label">
- <property name="enabled">
- <bool>true</bool>
- </property>
- <property name="geometry">
- <rect>
- <x>33</x>
- <y>20</y>
- <width>71</width>
- <height>31</height>
- </rect>
- </property>
- <property name="text">
- <string>Value1</string>
- </property>
- </widget>
- <widget class="QTextEdit" name="textEdit_2">
- <property name="geometry">
- <rect>
- <x>100</x>
- <y>60</y>
- <width>141</width>
- <height>31</height>
- </rect>
- </property>
- </widget>
- </widget>
- <widget class="QGroupBox" name="groupBox_5">
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>220</y>
- <width>261</width>
- <height>101</height>
- </rect>
- </property>
- <property name="title">
- <string>DB测试</string>
- </property>
- <widget class="QPushButton" name="buttonDbWrite">
- <property name="geometry">
- <rect>
- <x>40</x>
- <y>20</y>
- <width>111</width>
- <height>31</height>
- </rect>
- </property>
- <property name="text">
- <string>写入Int测试</string>
- </property>
- </widget>
- <widget class="QPushButton" name="buttonDbRead">
- <property name="geometry">
- <rect>
- <x>40</x>
- <y>60</y>
- <width>111</width>
- <height>31</height>
- </rect>
- </property>
- <property name="text">
- <string>读取DB测试</string>
- </property>
- </widget>
- </widget>
- <widget class="QGroupBox" name="groupBox_6">
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>330</y>
- <width>261</width>
- <height>101</height>
- </rect>
- </property>
- <property name="title">
- <string>动态接口测试</string>
- </property>
- <widget class="QPushButton" name="buttonInfAdd">
- <property name="geometry">
- <rect>
- <x>40</x>
- <y>20</y>
- <width>111</width>
- <height>31</height>
- </rect>
- </property>
- <property name="text">
- <string>添加Int端口</string>
- </property>
- </widget>
- <widget class="QPushButton" name="buttonInfDel">
- <property name="geometry">
- <rect>
- <x>40</x>
- <y>60</y>
- <width>111</width>
- <height>31</height>
- </rect>
- </property>
- <property name="text">
- <string>删除Int端口</string>
- </property>
- </widget>
- </widget>
- </widget>
- <widget class="QWidget" name="widget">
- <attribute name="title">
- <string>图像相关</string>
- </attribute>
- <widget class="QGroupBox" name="groupBox_3">
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>20</y>
- <width>261</width>
- <height>151</height>
- </rect>
- </property>
- <property name="title">
- <string/>
- </property>
- <widget class="QLabel" name="label_4">
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>261</width>
- <height>21</height>
- </rect>
- </property>
- <property name="text">
- <string>加载模型</string>
- </property>
- </widget>
- <widget class="QPushButton" name="btnLoadMode">
- <property name="geometry">
- <rect>
- <x>60</x>
- <y>30</y>
- <width>141</width>
- <height>61</height>
- </rect>
- </property>
- <property name="text">
- <string>PushButton</string>
- </property>
- </widget>
- <widget class="QPushButton" name="btnReadImg">
- <property name="geometry">
- <rect>
- <x>30</x>
- <y>110</y>
- <width>201</width>
- <height>31</height>
- </rect>
- </property>
- <property name="text">
- <string>加载图像</string>
- </property>
- </widget>
- </widget>
- <widget class="QStackedWidget" name="stackedWidget">
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>190</y>
- <width>251</width>
- <height>251</height>
- </rect>
- </property>
- <property name="currentIndex">
- <number>1</number>
- </property>
- <widget class="QWidget" name="page">
- <widget class="QLabel" name="label_8">
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>251</width>
- <height>21</height>
- </rect>
- </property>
- <property name="text">
- <string>本地图像</string>
- </property>
- </widget>
- </widget>
- <widget class="QWidget" name="page_2">
- <widget class="QLabel" name="label_9">
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>261</width>
- <height>21</height>
- </rect>
- </property>
- <property name="text">
- <string>本地路径</string>
- </property>
- </widget>
- </widget>
- </widget>
- </widget>
- <widget class="QWidget" name="tab_2">
- <attribute name="title">
- <string>事件相关</string>
- </attribute>
- <widget class="QGroupBox" name="groupBox_4">
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>20</y>
- <width>271</width>
- <height>191</height>
- </rect>
- </property>
- <property name="title">
- <string/>
- </property>
- <widget class="QPushButton" name="pushButton_2">
- <property name="geometry">
- <rect>
- <x>50</x>
- <y>40</y>
- <width>131</width>
- <height>41</height>
- </rect>
- </property>
- <property name="text">
- <string>触发事件 1</string>
- </property>
- </widget>
- <widget class="QPushButton" name="pushButton_3">
- <property name="geometry">
- <rect>
- <x>50</x>
- <y>110</y>
- <width>131</width>
- <height>41</height>
- </rect>
- </property>
- <property name="text">
- <string>触发事件 2</string>
- </property>
- </widget>
- <widget class="QLabel" name="label_7">
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>261</width>
- <height>21</height>
- </rect>
- </property>
- <property name="text">
- <string>手动触发内部事件</string>
- </property>
- </widget>
- </widget>
- </widget>
- </widget>
- </item>
- <item row="0" column="1">
- <widget class="QWidget" name="Image_widget" native="true"/>
- </item>
- <item row="1" column="0" colspan="2">
- <widget class="QWidget" name="Tool_widget" native="true">
- <property name="minimumSize">
- <size>
- <width>0</width>
- <height>42</height>
- </size>
- </property>
- <property name="maximumSize">
- <size>
- <width>16777215</width>
- <height>42</height>
- </size>
- </property>
- <property name="styleSheet">
- <string notr="true"/>
- </property>
- <layout class="QGridLayout" name="gridLayout">
- <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>20</number>
- </property>
- <item row="0" column="3" rowspan="2">
- <widget class="QPushButton" name="btnOK">
- <property name="minimumSize">
- <size>
- <width>80</width>
- <height>30</height>
- </size>
- </property>
- <property name="styleSheet">
- <string notr="true"/>
- </property>
- <property name="text">
- <string>确定</string>
- </property>
- </widget>
- </item>
- <item row="0" column="2" rowspan="2">
- <widget class="QPushButton" name="btnExecute">
- <property name="minimumSize">
- <size>
- <width>80</width>
- <height>30</height>
- </size>
- </property>
- <property name="styleSheet">
- <string notr="true"/>
- </property>
- <property name="text">
- <string>执行</string>
- </property>
- </widget>
- </item>
- <item row="0" column="4" rowspan="2">
- <widget class="QPushButton" name="btnCancel">
- <property name="minimumSize">
- <size>
- <width>80</width>
- <height>30</height>
- </size>
- </property>
- <property name="styleSheet">
- <string notr="true"/>
- </property>
- <property name="text">
- <string>取消</string>
- </property>
- </widget>
- </item>
- <item row="0" column="1" rowspan="2">
- <spacer name="horizontalSpacer">
- <property name="orientation">
- <enum>Qt::Horizontal</enum>
- </property>
- <property name="sizeHint" stdset="0">
- <size>
- <width>553</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- </item>
- <item row="1" column="0">
- <widget class="QLabel" name="label_time">
- <property name="enabled">
- <bool>true</bool>
- </property>
- <property name="minimumSize">
- <size>
- <width>200</width>
- <height>0</height>
- </size>
- </property>
- <property name="styleSheet">
- <string notr="true"/>
- </property>
- <property name="text">
- <string>耗时: 0ms</string>
- </property>
- </widget>
- </item>
- <item row="0" column="0">
- <widget class="QLabel" name="label_state">
- <property name="enabled">
- <bool>true</bool>
- </property>
- <property name="minimumSize">
- <size>
- <width>0</width>
- <height>0</height>
- </size>
- </property>
- <property name="styleSheet">
- <string notr="true"/>
- </property>
- <property name="text">
- <string>状态: OK</string>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- </item>
- </layout>
- </widget>
- <layoutdefault spacing="6" margin="11"/>
- <resources/>
- <connections/>
- </ui>
|