2018-04-18 21:32:19 +08:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<ui version="4.0">
|
|
|
|
<class>Car</class>
|
|
|
|
<widget class="QWidget" name="Car">
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>0</x>
|
|
|
|
<y>0</y>
|
2018-05-02 00:59:15 +08:00
|
|
|
<width>800</width>
|
|
|
|
<height>600</height>
|
2018-04-18 21:32:19 +08:00
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
<property name="windowTitle">
|
|
|
|
<string>小车</string>
|
|
|
|
</property>
|
2018-05-02 00:59:15 +08:00
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
2018-04-18 21:32:19 +08:00
|
|
|
<item>
|
2018-05-02 00:59:15 +08:00
|
|
|
<widget class="QWidget" name="widget_2" native="true">
|
|
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
|
|
<property name="spacing">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<item>
|
|
|
|
<widget class="QLabel" name="qlabel">
|
2018-04-18 21:32:19 +08:00
|
|
|
<property name="minimumSize">
|
|
|
|
<size>
|
2018-05-02 00:59:15 +08:00
|
|
|
<width>0</width>
|
|
|
|
<height>400</height>
|
2018-04-18 21:32:19 +08:00
|
|
|
</size>
|
|
|
|
</property>
|
2018-05-02 00:59:15 +08:00
|
|
|
<property name="text">
|
|
|
|
<string>TextLabel</string>
|
2018-04-18 21:32:19 +08:00
|
|
|
</property>
|
2018-05-02 00:59:15 +08:00
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QTextBrowser" name="browserResult">
|
|
|
|
<property name="minimumSize">
|
|
|
|
<size>
|
|
|
|
<width>0</width>
|
|
|
|
<height>200</height>
|
|
|
|
</size>
|
2018-04-18 21:32:19 +08:00
|
|
|
</property>
|
2018-05-02 00:59:15 +08:00
|
|
|
<property name="maximumSize">
|
|
|
|
<size>
|
|
|
|
<width>16777215</width>
|
|
|
|
<height>200</height>
|
|
|
|
</size>
|
2018-04-18 21:32:19 +08:00
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2018-05-02 00:59:15 +08:00
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QWidget" name="widget" native="true">
|
|
|
|
<property name="enabled">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
<property name="maximumSize">
|
|
|
|
<size>
|
|
|
|
<width>400</width>
|
|
|
|
<height>400</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
<layout class="QGridLayout" name="gridLayout">
|
2018-04-18 21:32:19 +08:00
|
|
|
<item row="4" column="3">
|
|
|
|
<widget class="QLCDNumber" name="lcdNumber_2">
|
|
|
|
<property name="minimumSize">
|
|
|
|
<size>
|
|
|
|
<width>80</width>
|
|
|
|
<height>50</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
<property name="maximumSize">
|
|
|
|
<size>
|
|
|
|
<width>80</width>
|
|
|
|
<height>50</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
<property name="segmentStyle">
|
|
|
|
<enum>QLCDNumber::Flat</enum>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="3" column="2">
|
|
|
|
<widget class="QLCDNumber" name="lcdNumber_3">
|
|
|
|
<property name="minimumSize">
|
|
|
|
<size>
|
|
|
|
<width>80</width>
|
|
|
|
<height>50</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
<property name="maximumSize">
|
|
|
|
<size>
|
|
|
|
<width>80</width>
|
|
|
|
<height>50</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
<property name="segmentStyle">
|
|
|
|
<enum>QLCDNumber::Flat</enum>
|
|
|
|
</property>
|
|
|
|
<property name="value" stdset="0">
|
|
|
|
<double>32.000000000000000</double>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2018-05-02 00:59:15 +08:00
|
|
|
<item row="2" column="3">
|
|
|
|
<widget class="QLCDNumber" name="lcdNumber">
|
2018-04-18 21:32:19 +08:00
|
|
|
<property name="minimumSize">
|
|
|
|
<size>
|
|
|
|
<width>80</width>
|
|
|
|
<height>50</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
<property name="maximumSize">
|
|
|
|
<size>
|
|
|
|
<width>80</width>
|
|
|
|
<height>50</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
<property name="segmentStyle">
|
|
|
|
<enum>QLCDNumber::Flat</enum>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2018-05-02 00:59:15 +08:00
|
|
|
<item row="2" column="5">
|
|
|
|
<widget class="QSlider" name="sliderRight">
|
2018-04-18 21:32:19 +08:00
|
|
|
<property name="minimumSize">
|
|
|
|
<size>
|
2018-05-02 00:59:15 +08:00
|
|
|
<width>0</width>
|
|
|
|
<height>30</height>
|
2018-04-18 21:32:19 +08:00
|
|
|
</size>
|
|
|
|
</property>
|
2018-05-02 00:59:15 +08:00
|
|
|
<property name="minimum">
|
|
|
|
<number>42</number>
|
2018-04-18 21:32:19 +08:00
|
|
|
</property>
|
2018-05-02 00:59:15 +08:00
|
|
|
<property name="maximum">
|
|
|
|
<number>52</number>
|
|
|
|
</property>
|
|
|
|
<property name="pageStep">
|
|
|
|
<number>2</number>
|
|
|
|
</property>
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Qt::Horizontal</enum>
|
|
|
|
</property>
|
|
|
|
<property name="tickPosition">
|
|
|
|
<enum>QSlider::TicksBelow</enum>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="0" column="3">
|
|
|
|
<widget class="QLabel" name="label">
|
|
|
|
<property name="text">
|
|
|
|
<string>前</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="3" column="0">
|
|
|
|
<widget class="QLabel" name="label_3">
|
|
|
|
<property name="text">
|
|
|
|
<string>左</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="6" column="3">
|
|
|
|
<widget class="QLabel" name="label_2">
|
|
|
|
<property name="text">
|
|
|
|
<string>后</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="3" column="7">
|
|
|
|
<widget class="QLabel" name="label_4">
|
|
|
|
<property name="text">
|
|
|
|
<string>右</string>
|
2018-04-18 21:32:19 +08:00
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="1" column="3" colspan="2">
|
|
|
|
<widget class="QSlider" name="sliderForward">
|
|
|
|
<property name="minimumSize">
|
|
|
|
<size>
|
|
|
|
<width>30</width>
|
|
|
|
<height>0</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
<property name="maximum">
|
|
|
|
<number>100</number>
|
|
|
|
</property>
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Qt::Vertical</enum>
|
|
|
|
</property>
|
|
|
|
<property name="tickPosition">
|
|
|
|
<enum>QSlider::TicksAbove</enum>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2018-05-02 00:59:15 +08:00
|
|
|
<item row="1" column="2">
|
|
|
|
<widget class="QPushButton" name="buttonConnect">
|
2018-04-18 21:32:19 +08:00
|
|
|
<property name="minimumSize">
|
|
|
|
<size>
|
|
|
|
<width>0</width>
|
2018-05-02 00:59:15 +08:00
|
|
|
<height>40</height>
|
2018-04-18 21:32:19 +08:00
|
|
|
</size>
|
|
|
|
</property>
|
2018-05-02 00:59:15 +08:00
|
|
|
<property name="text">
|
|
|
|
<string>连接服务器</string>
|
2018-04-18 21:32:19 +08:00
|
|
|
</property>
|
2018-05-02 00:59:15 +08:00
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="3" column="5">
|
|
|
|
<widget class="QLCDNumber" name="lcdNumber_4">
|
|
|
|
<property name="minimumSize">
|
|
|
|
<size>
|
|
|
|
<width>80</width>
|
|
|
|
<height>50</height>
|
|
|
|
</size>
|
2018-04-18 21:32:19 +08:00
|
|
|
</property>
|
2018-05-02 00:59:15 +08:00
|
|
|
<property name="maximumSize">
|
|
|
|
<size>
|
|
|
|
<width>80</width>
|
|
|
|
<height>50</height>
|
|
|
|
</size>
|
2018-04-18 21:32:19 +08:00
|
|
|
</property>
|
2018-05-02 00:59:15 +08:00
|
|
|
<property name="segmentStyle">
|
|
|
|
<enum>QLCDNumber::Flat</enum>
|
2018-04-18 21:32:19 +08:00
|
|
|
</property>
|
2018-05-02 00:59:15 +08:00
|
|
|
<property name="value" stdset="0">
|
|
|
|
<double>32.000000000000000</double>
|
2018-04-18 21:32:19 +08:00
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2018-05-02 00:59:15 +08:00
|
|
|
<item row="4" column="2">
|
2018-04-18 21:32:19 +08:00
|
|
|
<widget class="QSlider" name="sliderLeft">
|
|
|
|
<property name="minimumSize">
|
|
|
|
<size>
|
|
|
|
<width>0</width>
|
|
|
|
<height>30</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
<property name="minimum">
|
|
|
|
<number>32</number>
|
|
|
|
</property>
|
|
|
|
<property name="maximum">
|
|
|
|
<number>42</number>
|
|
|
|
</property>
|
|
|
|
<property name="pageStep">
|
|
|
|
<number>2</number>
|
|
|
|
</property>
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Qt::Horizontal</enum>
|
|
|
|
</property>
|
|
|
|
<property name="invertedAppearance">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
<property name="invertedControls">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
<property name="tickPosition">
|
|
|
|
<enum>QSlider::TicksBelow</enum>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2018-05-02 00:59:15 +08:00
|
|
|
<item row="4" column="4">
|
|
|
|
<widget class="QSlider" name="sliderBackward">
|
|
|
|
<property name="minimumSize">
|
|
|
|
<size>
|
|
|
|
<width>30</width>
|
|
|
|
<height>0</height>
|
|
|
|
</size>
|
2018-04-18 21:32:19 +08:00
|
|
|
</property>
|
2018-05-02 00:59:15 +08:00
|
|
|
<property name="maximum">
|
|
|
|
<number>100</number>
|
2018-04-18 21:32:19 +08:00
|
|
|
</property>
|
2018-05-02 00:59:15 +08:00
|
|
|
<property name="orientation">
|
|
|
|
<enum>Qt::Vertical</enum>
|
2018-04-18 21:32:19 +08:00
|
|
|
</property>
|
2018-05-02 00:59:15 +08:00
|
|
|
<property name="invertedAppearance">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
<property name="invertedControls">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
<property name="tickPosition">
|
|
|
|
<enum>QSlider::TicksBelow</enum>
|
2018-04-18 21:32:19 +08:00
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
<resources/>
|
|
|
|
<connections>
|
|
|
|
<connection>
|
|
|
|
<sender>sliderLeft</sender>
|
|
|
|
<signal>valueChanged(int)</signal>
|
|
|
|
<receiver>lcdNumber_3</receiver>
|
|
|
|
<slot>display(int)</slot>
|
|
|
|
<hints>
|
|
|
|
<hint type="sourcelabel">
|
|
|
|
<x>51</x>
|
|
|
|
<y>305</y>
|
|
|
|
</hint>
|
|
|
|
<hint type="destinationlabel">
|
|
|
|
<x>262</x>
|
|
|
|
<y>308</y>
|
|
|
|
</hint>
|
|
|
|
</hints>
|
|
|
|
</connection>
|
|
|
|
<connection>
|
|
|
|
<sender>sliderRight</sender>
|
|
|
|
<signal>valueChanged(int)</signal>
|
|
|
|
<receiver>lcdNumber_4</receiver>
|
|
|
|
<slot>display(int)</slot>
|
|
|
|
<hints>
|
|
|
|
<hint type="sourcelabel">
|
|
|
|
<x>529</x>
|
|
|
|
<y>315</y>
|
|
|
|
</hint>
|
|
|
|
<hint type="destinationlabel">
|
|
|
|
<x>436</x>
|
|
|
|
<y>304</y>
|
|
|
|
</hint>
|
|
|
|
</hints>
|
|
|
|
</connection>
|
|
|
|
<connection>
|
|
|
|
<sender>sliderForward</sender>
|
|
|
|
<signal>valueChanged(int)</signal>
|
|
|
|
<receiver>lcdNumber</receiver>
|
|
|
|
<slot>display(int)</slot>
|
|
|
|
<hints>
|
|
|
|
<hint type="sourcelabel">
|
|
|
|
<x>325</x>
|
|
|
|
<y>119</y>
|
|
|
|
</hint>
|
|
|
|
<hint type="destinationlabel">
|
|
|
|
<x>357</x>
|
|
|
|
<y>247</y>
|
|
|
|
</hint>
|
|
|
|
</hints>
|
|
|
|
</connection>
|
|
|
|
<connection>
|
|
|
|
<sender>sliderBackward</sender>
|
|
|
|
<signal>valueChanged(int)</signal>
|
|
|
|
<receiver>lcdNumber_2</receiver>
|
|
|
|
<slot>display(int)</slot>
|
|
|
|
<hints>
|
|
|
|
<hint type="sourcelabel">
|
|
|
|
<x>310</x>
|
|
|
|
<y>421</y>
|
|
|
|
</hint>
|
|
|
|
<hint type="destinationlabel">
|
|
|
|
<x>327</x>
|
|
|
|
<y>379</y>
|
|
|
|
</hint>
|
|
|
|
</hints>
|
|
|
|
</connection>
|
|
|
|
</connections>
|
|
|
|
</ui>
|