feat: 初始化项目,添加电机控制、CAN通信、QT界面等模块
This commit is contained in:
46
qt/untitled.py
Normal file
46
qt/untitled.py
Normal file
@ -0,0 +1,46 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Form implementation generated from reading ui file 'untitled.ui'
|
||||
#
|
||||
# Created by: PyQt5 UI code generator 5.15.10
|
||||
#
|
||||
# WARNING: Any manual changes made to this file will be lost when pyuic5 is
|
||||
# run again. Do not edit this file unless you know what you are doing.
|
||||
|
||||
|
||||
from PyQt5 import QtCore, QtGui, QtWidgets
|
||||
|
||||
|
||||
class Ui_Dialog(object):
|
||||
def setupUi(self, Dialog):
|
||||
Dialog.setObjectName("Dialog")
|
||||
Dialog.resize(851, 811)
|
||||
self.pushButton = QtWidgets.QPushButton(Dialog)
|
||||
self.pushButton.setGeometry(QtCore.QRect(10, 20, 111, 25))
|
||||
self.pushButton.setObjectName("pushButton")
|
||||
self.widget = QtWidgets.QWidget(Dialog)
|
||||
self.widget.setGeometry(QtCore.QRect(10, 260, 801, 541))
|
||||
self.widget.setObjectName("widget")
|
||||
self.pushButton_2 = QtWidgets.QPushButton(Dialog)
|
||||
self.pushButton_2.setGeometry(QtCore.QRect(140, 20, 111, 25))
|
||||
self.pushButton_2.setObjectName("pushButton_2")
|
||||
self.label = QtWidgets.QLabel(Dialog)
|
||||
self.label.setGeometry(QtCore.QRect(10, 70, 131, 17))
|
||||
self.label.setObjectName("label")
|
||||
self.label_2 = QtWidgets.QLabel(Dialog)
|
||||
self.label_2.setGeometry(QtCore.QRect(10, 240, 131, 21))
|
||||
self.label_2.setObjectName("label_2")
|
||||
self.listView = QtWidgets.QListView(Dialog)
|
||||
self.listView.setGeometry(QtCore.QRect(10, 90, 801, 141))
|
||||
self.listView.setObjectName("listView")
|
||||
|
||||
self.retranslateUi(Dialog)
|
||||
QtCore.QMetaObject.connectSlotsByName(Dialog)
|
||||
|
||||
def retranslateUi(self, Dialog):
|
||||
_translate = QtCore.QCoreApplication.translate
|
||||
Dialog.setWindowTitle(_translate("Dialog", "Dialog"))
|
||||
self.pushButton.setText(_translate("Dialog", "直线轨迹移动"))
|
||||
self.pushButton_2.setText(_translate("Dialog", "圆形轨迹移动"))
|
||||
self.label.setText(_translate("Dialog", "电机转动角度"))
|
||||
self.label_2.setText(_translate("Dialog", "轨迹可视化"))
|
||||
Reference in New Issue
Block a user