代码拉取完成,页面将自动刷新
<?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>1361</width>
<height>767</height>
</rect>
</property>
<property name="font">
<font>
<family>隶书</family>
<pointsize>11</pointsize>
</font>
</property>
<property name="cursor">
<cursorShape>UpArrowCursor</cursorShape>
</property>
<property name="windowTitle">
<string>机械臂上位机</string>
</property>
<property name="autoFillBackground">
<bool>false</bool>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<widget class="QWidget" name="centralwidget">
<widget class="QGroupBox" name="groupBox">
<property name="geometry">
<rect>
<x>10</x>
<y>10</y>
<width>921</width>
<height>61</height>
</rect>
</property>
<property name="cursor">
<cursorShape>PointingHandCursor</cursorShape>
</property>
<property name="contextMenuPolicy">
<enum>Qt::DefaultContextMenu</enum>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="title">
<string/>
</property>
<widget class="QLabel" name="label">
<property name="geometry">
<rect>
<x>20</x>
<y>20</y>
<width>48</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>端口号:</string>
</property>
</widget>
<widget class="QLabel" name="label_2">
<property name="geometry">
<rect>
<x>390</x>
<y>20</y>
<width>48</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>波特率:</string>
</property>
</widget>
<widget class="QComboBox" name="comboBox">
<property name="geometry">
<rect>
<x>460</x>
<y>20</y>
<width>131</width>
<height>20</height>
</rect>
</property>
<property name="currentText">
<string>9600</string>
</property>
<item>
<property name="text">
<string>9600</string>
</property>
</item>
<item>
<property name="text">
<string>300</string>
</property>
</item>
<item>
<property name="text">
<string>1200</string>
</property>
</item>
<item>
<property name="text">
<string>2400</string>
</property>
</item>
<item>
<property name="text">
<string>4800</string>
</property>
</item>
<item>
<property name="text">
<string>19200</string>
</property>
</item>
<item>
<property name="text">
<string>38400</string>
</property>
</item>
<item>
<property name="text">
<string>57600</string>
</property>
</item>
<item>
<property name="text">
<string>74880</string>
</property>
</item>
<item>
<property name="text">
<string>115200</string>
</property>
</item>
<item>
<property name="text">
<string>230400</string>
</property>
</item>
<item>
<property name="text">
<string>250000</string>
</property>
</item>
</widget>
<widget class="QComboBox" name="comboBox_2">
<property name="geometry">
<rect>
<x>80</x>
<y>20</y>
<width>131</width>
<height>20</height>
</rect>
</property>
</widget>
<widget class="QPushButton" name="pushButton">
<property name="geometry">
<rect>
<x>220</x>
<y>20</y>
<width>75</width>
<height>23</height>
</rect>
</property>
<property name="text">
<string>扫描</string>
</property>
</widget>
<widget class="QPushButton" name="pushButton_2">
<property name="geometry">
<rect>
<x>630</x>
<y>20</y>
<width>75</width>
<height>23</height>
</rect>
</property>
<property name="text">
<string>打开串口</string>
</property>
</widget>
<widget class="QPushButton" name="pushButton_18">
<property name="enabled">
<bool>false</bool>
</property>
<property name="geometry">
<rect>
<x>720</x>
<y>20</y>
<width>75</width>
<height>23</height>
</rect>
</property>
<property name="text">
<string>关闭串口</string>
</property>
</widget>
</widget>
<widget class="QGroupBox" name="groupBox_2">
<property name="geometry">
<rect>
<x>30</x>
<y>90</y>
<width>321</width>
<height>631</height>
</rect>
</property>
<property name="title">
<string>精确定位</string>
</property>
<widget class="QLabel" name="label_3">
<property name="geometry">
<rect>
<x>20</x>
<y>30</y>
<width>271</width>
<height>21</height>
</rect>
</property>
<property name="text">
<string>此区域按钮可控制各部分舵机每次运动一定角度</string>
</property>
</widget>
<widget class="QLabel" name="label_4">
<property name="geometry">
<rect>
<x>10</x>
<y>60</y>
<width>71</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>底座舵机</string>
</property>
</widget>
<widget class="QLabel" name="label_5">
<property name="geometry">
<rect>
<x>20</x>
<y>150</y>
<width>71</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>左舵机</string>
</property>
</widget>
<widget class="QLabel" name="label_6">
<property name="geometry">
<rect>
<x>20</x>
<y>250</y>
<width>54</width>
<height>12</height>
</rect>
</property>
<property name="text">
<string>右舵机</string>
</property>
</widget>
<widget class="QLabel" name="label_7">
<property name="geometry">
<rect>
<x>10</x>
<y>340</y>
<width>71</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>爪子舵机</string>
</property>
</widget>
<widget class="QLabel" name="label_8">
<property name="geometry">
<rect>
<x>20</x>
<y>420</y>
<width>54</width>
<height>12</height>
</rect>
</property>
<property name="text">
<string>下部</string>
</property>
</widget>
<widget class="QLabel" name="label_9">
<property name="geometry">
<rect>
<x>20</x>
<y>510</y>
<width>54</width>
<height>12</height>
</rect>
</property>
<property name="text">
<string>转盘</string>
</property>
</widget>
<widget class="QSlider" name="horizontalSlider">
<property name="enabled">
<bool>false</bool>
</property>
<property name="geometry">
<rect>
<x>80</x>
<y>100</y>
<width>231</width>
<height>22</height>
</rect>
</property>
<property name="maximum">
<number>180</number>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
<widget class="QTextEdit" name="textEdit_2">
<property name="geometry">
<rect>
<x>10</x>
<y>190</y>
<width>51</width>
<height>41</height>
</rect>
</property>
</widget>
<widget class="QSlider" name="horizontalSlider_2">
<property name="enabled">
<bool>false</bool>
</property>
<property name="geometry">
<rect>
<x>80</x>
<y>200</y>
<width>231</width>
<height>22</height>
</rect>
</property>
<property name="maximum">
<number>180</number>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
<widget class="QTextEdit" name="textEdit_3">
<property name="geometry">
<rect>
<x>10</x>
<y>280</y>
<width>51</width>
<height>41</height>
</rect>
</property>
</widget>
<widget class="QSlider" name="horizontalSlider_3">
<property name="enabled">
<bool>false</bool>
</property>
<property name="geometry">
<rect>
<x>80</x>
<y>290</y>
<width>231</width>
<height>22</height>
</rect>
</property>
<property name="maximum">
<number>180</number>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
<widget class="QTextEdit" name="textEdit_4">
<property name="geometry">
<rect>
<x>10</x>
<y>370</y>
<width>51</width>
<height>41</height>
</rect>
</property>
</widget>
<widget class="QSlider" name="horizontalSlider_4">
<property name="enabled">
<bool>false</bool>
</property>
<property name="geometry">
<rect>
<x>80</x>
<y>380</y>
<width>231</width>
<height>22</height>
</rect>
</property>
<property name="maximum">
<number>180</number>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
<widget class="QTextEdit" name="textEdit_5">
<property name="geometry">
<rect>
<x>10</x>
<y>450</y>
<width>51</width>
<height>41</height>
</rect>
</property>
</widget>
<widget class="QSlider" name="horizontalSlider_5">
<property name="enabled">
<bool>false</bool>
</property>
<property name="geometry">
<rect>
<x>80</x>
<y>460</y>
<width>231</width>
<height>22</height>
</rect>
</property>
<property name="maximum">
<number>180</number>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
<widget class="QTextEdit" name="textEdit_6">
<property name="geometry">
<rect>
<x>10</x>
<y>540</y>
<width>51</width>
<height>41</height>
</rect>
</property>
</widget>
<widget class="QSlider" name="horizontalSlider_6">
<property name="enabled">
<bool>false</bool>
</property>
<property name="geometry">
<rect>
<x>80</x>
<y>550</y>
<width>231</width>
<height>22</height>
</rect>
</property>
<property name="maximum">
<number>180</number>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
<widget class="QTextEdit" name="textEdit_10">
<property name="geometry">
<rect>
<x>10</x>
<y>90</y>
<width>51</width>
<height>41</height>
</rect>
</property>
</widget>
</widget>
<widget class="QGroupBox" name="groupBox_3">
<property name="geometry">
<rect>
<x>370</x>
<y>90</y>
<width>711</width>
<height>191</height>
</rect>
</property>
<property name="title">
<string>组合控制</string>
</property>
<widget class="QLabel" name="label_10">
<property name="geometry">
<rect>
<x>10</x>
<y>20</y>
<width>391</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>此区域按钮可启动各部位舵机进行一些组合运动</string>
</property>
</widget>
<widget class="QPushButton" name="pushButton_3">
<property name="enabled">
<bool>false</bool>
</property>
<property name="geometry">
<rect>
<x>30</x>
<y>50</y>
<width>111</width>
<height>51</height>
</rect>
</property>
<property name="text">
<string>顺时针抓取</string>
</property>
</widget>
<widget class="QPushButton" name="pushButton_4">
<property name="enabled">
<bool>false</bool>
</property>
<property name="geometry">
<rect>
<x>30</x>
<y>120</y>
<width>111</width>
<height>51</height>
</rect>
</property>
<property name="text">
<string>恢复初始设置</string>
</property>
</widget>
<widget class="QPushButton" name="pushButton_5">
<property name="enabled">
<bool>false</bool>
</property>
<property name="geometry">
<rect>
<x>150</x>
<y>50</y>
<width>111</width>
<height>51</height>
</rect>
</property>
<property name="text">
<string>逆时针抓取</string>
</property>
</widget>
<widget class="QPushButton" name="pushButton_6">
<property name="enabled">
<bool>false</bool>
</property>
<property name="geometry">
<rect>
<x>280</x>
<y>50</y>
<width>111</width>
<height>51</height>
</rect>
</property>
<property name="text">
<string>垂直直线平移</string>
</property>
</widget>
<widget class="QPushButton" name="pushButton_7">
<property name="enabled">
<bool>false</bool>
</property>
<property name="geometry">
<rect>
<x>420</x>
<y>50</y>
<width>91</width>
<height>51</height>
</rect>
</property>
<property name="text">
<string>机械臂画方</string>
</property>
</widget>
<widget class="QPushButton" name="pushButton_8">
<property name="enabled">
<bool>false</bool>
</property>
<property name="geometry">
<rect>
<x>150</x>
<y>120</y>
<width>111</width>
<height>51</height>
</rect>
</property>
<property name="text">
<string>自动模式</string>
</property>
</widget>
<widget class="QPushButton" name="pushButton_9">
<property name="enabled">
<bool>false</bool>
</property>
<property name="geometry">
<rect>
<x>280</x>
<y>120</y>
<width>111</width>
<height>51</height>
</rect>
</property>
<property name="text">
<string>水平直线平移</string>
</property>
</widget>
</widget>
<widget class="QGroupBox" name="groupBox_4">
<property name="geometry">
<rect>
<x>370</x>
<y>290</y>
<width>711</width>
<height>431</height>
</rect>
</property>
<property name="title">
<string>组合动作</string>
</property>
<widget class="QPushButton" name="pushButton_10">
<property name="enabled">
<bool>false</bool>
</property>
<property name="geometry">
<rect>
<x>40</x>
<y>300</y>
<width>91</width>
<height>51</height>
</rect>
</property>
<property name="text">
<string>添加动作</string>
</property>
</widget>
<widget class="QPushButton" name="pushButton_11">
<property name="enabled">
<bool>false</bool>
</property>
<property name="geometry">
<rect>
<x>230</x>
<y>300</y>
<width>91</width>
<height>51</height>
</rect>
</property>
<property name="text">
<string>删除动作</string>
</property>
</widget>
<widget class="QPushButton" name="pushButton_13">
<property name="enabled">
<bool>false</bool>
</property>
<property name="geometry">
<rect>
<x>570</x>
<y>300</y>
<width>121</width>
<height>51</height>
</rect>
</property>
<property name="text">
<string>下载动作组</string>
</property>
</widget>
<widget class="QPushButton" name="pushButton_14">
<property name="enabled">
<bool>false</bool>
</property>
<property name="geometry">
<rect>
<x>40</x>
<y>370</y>
<width>91</width>
<height>51</height>
</rect>
</property>
<property name="text">
<string>保存动作组</string>
</property>
</widget>
<widget class="QPushButton" name="pushButton_16">
<property name="enabled">
<bool>false</bool>
</property>
<property name="geometry">
<rect>
<x>230</x>
<y>370</y>
<width>91</width>
<height>51</height>
</rect>
</property>
<property name="text">
<string>在线运行</string>
</property>
</widget>
<widget class="QPushButton" name="pushButton_17">
<property name="enabled">
<bool>false</bool>
</property>
<property name="geometry">
<rect>
<x>570</x>
<y>370</y>
<width>121</width>
<height>51</height>
</rect>
</property>
<property name="text">
<string>运行下载动作组</string>
</property>
</widget>
<widget class="QTextEdit" name="textEdit_7">
<property name="geometry">
<rect>
<x>30</x>
<y>20</y>
<width>661</width>
<height>261</height>
</rect>
</property>
</widget>
<widget class="QPushButton" name="pushButton_12">
<property name="enabled">
<bool>false</bool>
</property>
<property name="geometry">
<rect>
<x>400</x>
<y>300</y>
<width>91</width>
<height>51</height>
</rect>
</property>
<property name="text">
<string>清除</string>
</property>
</widget>
<widget class="QPushButton" name="pushButton_15">
<property name="enabled">
<bool>false</bool>
</property>
<property name="geometry">
<rect>
<x>400</x>
<y>370</y>
<width>91</width>
<height>51</height>
</rect>
</property>
<property name="text">
<string>打开动作组</string>
</property>
</widget>
</widget>
<widget class="QTextEdit" name="textEdit_8">
<property name="enabled">
<bool>true</bool>
</property>
<property name="geometry">
<rect>
<x>1100</x>
<y>100</y>
<width>231</width>
<height>291</height>
</rect>
</property>
<property name="mouseTracking">
<bool>false</bool>
</property>
<property name="tabletTracking">
<bool>false</bool>
</property>
<property name="verticalScrollBarPolicy">
<enum>Qt::ScrollBarAsNeeded</enum>
</property>
<property name="sizeAdjustPolicy">
<enum>QAbstractScrollArea::AdjustIgnored</enum>
</property>
<property name="autoFormatting">
<set>QTextEdit::AutoNone</set>
</property>
<property name="tabChangesFocus">
<bool>false</bool>
</property>
<property name="overwriteMode">
<bool>false</bool>
</property>
</widget>
<widget class="QTextEdit" name="textEdit_9">
<property name="geometry">
<rect>
<x>1100</x>
<y>470</y>
<width>231</width>
<height>181</height>
</rect>
</property>
</widget>
<widget class="QPushButton" name="pushButton_19">
<property name="enabled">
<bool>false</bool>
</property>
<property name="geometry">
<rect>
<x>1160</x>
<y>400</y>
<width>111</width>
<height>41</height>
</rect>
</property>
<property name="text">
<string>清除</string>
</property>
</widget>
<widget class="QPushButton" name="pushButton_20">
<property name="enabled">
<bool>false</bool>
</property>
<property name="geometry">
<rect>
<x>1160</x>
<y>660</y>
<width>111</width>
<height>41</height>
</rect>
</property>
<property name="text">
<string>发送</string>
</property>
</widget>
<widget class="QLabel" name="label_12">
<property name="geometry">
<rect>
<x>1100</x>
<y>80</y>
<width>48</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>接收区</string>
</property>
</widget>
<widget class="QLabel" name="label_13">
<property name="geometry">
<rect>
<x>1100</x>
<y>440</y>
<width>48</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>发送区</string>
</property>
</widget>
<widget class="QLabel" name="label_11">
<property name="geometry">
<rect>
<x>1100</x>
<y>20</y>
<width>191</width>
<height>31</height>
</rect>
</property>
<property name="text">
<string>Time</string>
</property>
<property name="textFormat">
<enum>Qt::AutoText</enum>
</property>
</widget>
<widget class="QLabel" name="label_14">
<property name="geometry">
<rect>
<x>990</x>
<y>30</y>
<width>48</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>Time:</string>
</property>
</widget>
</widget>
<widget class="QStatusBar" name="statusbar"/>
<widget class="QMenuBar" name="menubar">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>1361</width>
<height>23</height>
</rect>
</property>
<widget class="QMenu" name="menu">
<property name="title">
<string>帮助</string>
</property>
<addaction name="actionAbout"/>
<addaction name="actionOperational_Manual"/>
<addaction name="actions"/>
</widget>
<widget class="QMenu" name="menu_2">
<property name="title">
<string/>
</property>
</widget>
<addaction name="menu"/>
<addaction name="menu_2"/>
</widget>
<action name="actionAbout">
<property name="text">
<string>关于我们</string>
</property>
</action>
<action name="actionOperational_Manual">
<property name="text">
<string>操作手册</string>
</property>
</action>
<action name="actions">
<property name="text">
<string>友情链接</string>
</property>
</action>
</widget>
<tabstops>
<tabstop>comboBox</tabstop>
<tabstop>comboBox_2</tabstop>
</tabstops>
<resources/>
<connections>
<connection>
<sender>pushButton_19</sender>
<signal>clicked(bool)</signal>
<receiver>textEdit_8</receiver>
<slot>clear()</slot>
<hints>
<hint type="sourcelabel">
<x>1215</x>
<y>333</y>
</hint>
<hint type="destinationlabel">
<x>1215</x>
<y>213</y>
</hint>
</hints>
</connection>
<connection>
<sender>pushButton_12</sender>
<signal>clicked(bool)</signal>
<receiver>textEdit_7</receiver>
<slot>clear()</slot>
<hints>
<hint type="sourcelabel">
<x>429</x>
<y>337</y>
</hint>
<hint type="destinationlabel">
<x>730</x>
<y>463</y>
</hint>
</hints>
</connection>
</connections>
</ui>
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。