1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
|
# -*- coding: utf-8 -*-
################################################################################
## Form generated from reading UI file 'canbusdeviceinfodialog.ui'
##
## Created by: Qt User Interface Compiler version 6.7.0
##
## WARNING! All changes made in this file will be lost when recompiling UI file!
################################################################################
from PySide6.QtCore import (QCoreApplication, QDate, QDateTime, QLocale,
QMetaObject, QObject, QPoint, QRect,
QSize, QTime, QUrl, Qt)
from PySide6.QtGui import (QBrush, QColor, QConicalGradient, QCursor,
QFont, QFontDatabase, QGradient, QIcon,
QImage, QKeySequence, QLinearGradient, QPainter,
QPalette, QPixmap, QRadialGradient, QTransform)
from PySide6.QtWidgets import (QApplication, QDialog, QHBoxLayout, QPushButton,
QSizePolicy, QSpacerItem, QVBoxLayout, QWidget)
from canbusdeviceinfobox import CanBusDeviceInfoBox
class Ui_CanBusDeviceInfoDialog(object):
def setupUi(self, CanBusDeviceInfoDialog):
if not CanBusDeviceInfoDialog.objectName():
CanBusDeviceInfoDialog.setObjectName(u"CanBusDeviceInfoDialog")
CanBusDeviceInfoDialog.resize(237, 225)
self.verticalLayout = QVBoxLayout(CanBusDeviceInfoDialog)
self.verticalLayout.setObjectName(u"verticalLayout")
self.deviceInfoBox = CanBusDeviceInfoBox(CanBusDeviceInfoDialog)
self.deviceInfoBox.setObjectName(u"deviceInfoBox")
self.deviceInfoBox.setEnabled(True)
self.verticalLayout.addWidget(self.deviceInfoBox)
self.horizontalLayout = QHBoxLayout()
self.horizontalLayout.setObjectName(u"horizontalLayout")
self.horizontalSpacer = QSpacerItem(40, 20, QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Minimum)
self.horizontalLayout.addItem(self.horizontalSpacer)
self.okButton = QPushButton(CanBusDeviceInfoDialog)
self.okButton.setObjectName(u"okButton")
self.horizontalLayout.addWidget(self.okButton)
self.verticalLayout.addLayout(self.horizontalLayout)
self.retranslateUi(CanBusDeviceInfoDialog)
self.okButton.setDefault(True)
QMetaObject.connectSlotsByName(CanBusDeviceInfoDialog)
# setupUi
def retranslateUi(self, CanBusDeviceInfoDialog):
CanBusDeviceInfoDialog.setWindowTitle(QCoreApplication.translate("CanBusDeviceInfoDialog", u"CAN Interface Properties", None))
self.deviceInfoBox.setTitle(QCoreApplication.translate("CanBusDeviceInfoDialog", u"CAN Interface Properties", None))
self.okButton.setText(QCoreApplication.translate("CanBusDeviceInfoDialog", u"Ok", None))
# retranslateUi
|