5 Star 23 Fork 8

xinkunlong / can bus view

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
MainWindow.ui 13.84 KB
一键复制 编辑 原始数据 按行查看 历史
KuhnXin 提交于 2021-05-09 22:49 . 添加Ui
<?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>975</width>
<height>763</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>975</width>
<height>763</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>975</width>
<height>763</height>
</size>
</property>
<property name="windowTitle">
<string>CanTool</string>
</property>
<property name="windowIcon">
<iconset>
<normaloff>1.png</normaloff>1.png</iconset>
</property>
<widget class="QWidget" name="centralwidget">
<widget class="QGroupBox" name="groupBox">
<property name="geometry">
<rect>
<x>10</x>
<y>10</y>
<width>215</width>
<height>306</height>
</rect>
</property>
<property name="layoutDirection">
<enum>Qt::LeftToRight</enum>
</property>
<property name="title">
<string>Channel Information</string>
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="3" column="0">
<widget class="QComboBox" name="BitratecomboBox">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>191</width>
<height>0</height>
</size>
</property>
<property name="currentText">
<string>10000</string>
</property>
<item>
<property name="text">
<string>10000</string>
</property>
</item>
<item>
<property name="text">
<string>20000</string>
</property>
</item>
<item>
<property name="text">
<string>50000</string>
</property>
</item>
<item>
<property name="text">
<string>100000</string>
</property>
</item>
<item>
<property name="text">
<string>125000</string>
</property>
</item>
<item>
<property name="text">
<string>250000</string>
</property>
</item>
<item>
<property name="text">
<string>500000</string>
</property>
</item>
<item>
<property name="text">
<string>800000</string>
</property>
</item>
<item>
<property name="text">
<string>1000000</string>
</property>
</item>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="label_3">
<property name="text">
<string>Bitrate</string>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QComboBox" name="ChannelcomboBox">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>191</width>
<height>0</height>
</size>
</property>
</widget>
</item>
<item row="4" column="0">
<layout class="QVBoxLayout" name="verticalLayout_3">
<item>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QLabel" name="IsFdlabel">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>181</width>
<height>16</height>
</size>
</property>
<property name="text">
<string>TextLabel</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="HwChannellabel">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>181</width>
<height>0</height>
</size>
</property>
<property name="text">
<string>TextLabel</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="SerialNumlabel">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>181</width>
<height>16</height>
</size>
</property>
<property name="text">
<string>TextLabel</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="TransceiverNamelabel">
<property name="minimumSize">
<size>
<width>180</width>
<height>60</height>
</size>
</property>
<property name="contextMenuPolicy">
<enum>Qt::DefaultContextMenu</enum>
</property>
<property name="layoutDirection">
<enum>Qt::LeftToRight</enum>
</property>
<property name="text">
<string>TextLabel</string>
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
</widget>
</item>
</layout>
</item>
<item>
<widget class="QPushButton" name="InitpushButton">
<property name="text">
<string>Init</string>
</property>
</widget>
</item>
</layout>
</item>
<item row="0" column="0">
<widget class="QLabel" name="label_7">
<property name="text">
<string>Channel</string>
</property>
</widget>
</item>
</layout>
</widget>
<widget class="QWidget" name="layoutWidget">
<property name="geometry">
<rect>
<x>1</x>
<y>311</y>
<width>971</width>
<height>31</height>
</rect>
</property>
<layout class="QGridLayout" name="gridLayout_2">
<item row="0" column="0">
<widget class="QLabel" name="label">
<property name="maximumSize">
<size>
<width>45</width>
<height>16777215</height>
</size>
</property>
<property name="text">
<string>帧格式</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QComboBox" name="FrameFormatcomboBox">
<property name="maximumSize">
<size>
<width>75</width>
<height>16777215</height>
</size>
</property>
<item>
<property name="text">
<string>标准帧</string>
</property>
</item>
<item>
<property name="text">
<string>扩展帧</string>
</property>
</item>
</widget>
</item>
<item row="0" column="2">
<widget class="QLabel" name="label_5">
<property name="maximumSize">
<size>
<width>43</width>
<height>16777215</height>
</size>
</property>
<property name="text">
<string>帧类型</string>
</property>
</widget>
</item>
<item row="0" column="3">
<widget class="QComboBox" name="FrameTypecomboBox">
<property name="maximumSize">
<size>
<width>75</width>
<height>16777215</height>
</size>
</property>
<item>
<property name="text">
<string>数据帧</string>
</property>
</item>
<item>
<property name="text">
<string>远程帧</string>
</property>
</item>
</widget>
</item>
<item row="0" column="4">
<widget class="QLabel" name="label_6">
<property name="maximumSize">
<size>
<width>20</width>
<height>16777215</height>
</size>
</property>
<property name="text">
<string>ID</string>
</property>
</widget>
</item>
<item row="0" column="5">
<widget class="QLineEdit" name="IdlineEdit">
<property name="maximumSize">
<size>
<width>50</width>
<height>16777215</height>
</size>
</property>
<property name="text">
<string>666</string>
</property>
</widget>
</item>
<item row="0" column="6">
<widget class="QLabel" name="label_2">
<property name="maximumSize">
<size>
<width>33</width>
<height>16777215</height>
</size>
</property>
<property name="text">
<string>数据</string>
</property>
</widget>
</item>
<item row="0" column="7">
<widget class="QLineEdit" name="DatalineEdit">
<property name="maximumSize">
<size>
<width>250</width>
<height>16777215</height>
</size>
</property>
<property name="text">
<string>99 88 77 66 55 44 33 22</string>
</property>
</widget>
</item>
<item row="0" column="8">
<widget class="QPushButton" name="SendpushButton">
<property name="maximumSize">
<size>
<width>48</width>
<height>16777215</height>
</size>
</property>
<property name="text">
<string>发送</string>
</property>
</widget>
</item>
<item row="0" column="9">
<widget class="QCheckBox" name="checkBox">
<property name="maximumSize">
<size>
<width>88</width>
<height>16777215</height>
</size>
</property>
<property name="text">
<string>周期发送</string>
</property>
</widget>
</item>
<item row="0" column="10">
<widget class="QLabel" name="label_4">
<property name="maximumSize">
<size>
<width>60</width>
<height>16777215</height>
</size>
</property>
<property name="text">
<string>周期(ms)</string>
</property>
</widget>
</item>
<item row="0" column="11">
<widget class="QLineEdit" name="TlineEdit">
<property name="maximumSize">
<size>
<width>80</width>
<height>16777215</height>
</size>
</property>
<property name="placeholderText">
<string>1000</string>
</property>
</widget>
</item>
</layout>
</widget>
<widget class="QWidget" name="layoutWidget">
<property name="geometry">
<rect>
<x>0</x>
<y>349</y>
<width>971</width>
<height>371</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout_2">
<item>
<widget class="QPushButton" name="CleanpushButton">
<property name="text">
<string>Clean</string>
</property>
</widget>
</item>
<item>
<widget class="QTreeWidget" name="MsgtreeWidget">
<column>
<property name="text">
<string notr="true">1</string>
</property>
</column>
</widget>
</item>
</layout>
</widget>
<widget class="QPushButton" name="GitpushButton">
<property name="geometry">
<rect>
<x>870</x>
<y>20</y>
<width>91</width>
<height>71</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">background-color: transparent;</string>
</property>
<property name="text">
<string/>
</property>
<property name="icon">
<iconset>
<normaloff>git.png</normaloff>git.png</iconset>
</property>
</widget>
<widget class="QLabel" name="label_8">
<property name="geometry">
<rect>
<x>370</x>
<y>30</y>
<width>321</width>
<height>251</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">background-color: transparent;
font: 20pt &quot;Blackadder ITC&quot;;</string>
</property>
<property name="text">
<string>She was still too young to know that life never gives anything for nothing, and that a price is always exacted for what fate bestows.</string>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
</widget>
</widget>
<widget class="QMenuBar" name="menubar">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>975</width>
<height>26</height>
</rect>
</property>
</widget>
<widget class="QStatusBar" name="statusbar"/>
</widget>
<resources/>
<connections/>
</ui>
Python
1
https://gitee.com/kunlong_xin/can-bus-view.git
git@gitee.com:kunlong_xin/can-bus-view.git
kunlong_xin
can-bus-view
can bus view
main

搜索帮助