PyQt/网络/控制小车/carui.ui
2018-10-28 00:24:47 +08:00

362 lines
9.2 KiB
XML

<?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>
<width>800</width>
<height>600</height>
</rect>
</property>
<property name="windowTitle">
<string>小车</string>
</property>
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<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">
<property name="minimumSize">
<size>
<width>0</width>
<height>400</height>
</size>
</property>
<property name="text">
<string>TextLabel</string>
</property>
</widget>
</item>
<item>
<widget class="QTextBrowser" name="browserResult">
<property name="minimumSize">
<size>
<width>0</width>
<height>200</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>200</height>
</size>
</property>
</widget>
</item>
</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">
<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>
<item row="2" column="3">
<widget class="QLCDNumber" name="lcdNumber">
<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="2" column="5">
<widget class="QSlider" name="sliderRight">
<property name="minimumSize">
<size>
<width>0</width>
<height>30</height>
</size>
</property>
<property name="minimum">
<number>42</number>
</property>
<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>
</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>
<item row="1" column="2">
<widget class="QPushButton" name="buttonConnect">
<property name="minimumSize">
<size>
<width>0</width>
<height>40</height>
</size>
</property>
<property name="text">
<string>连接服务器</string>
</property>
</widget>
</item>
<item row="3" column="5">
<widget class="QLCDNumber" name="lcdNumber_4">
<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>
<item row="4" column="2">
<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>
<item row="4" column="4">
<widget class="QSlider" name="sliderBackward">
<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="invertedAppearance">
<bool>true</bool>
</property>
<property name="invertedControls">
<bool>true</bool>
</property>
<property name="tickPosition">
<enum>QSlider::TicksBelow</enum>
</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>