-
Notifications
You must be signed in to change notification settings - Fork 0
/
Ui_mainwindow.py
182 lines (175 loc) · 9.18 KB
/
Ui_mainwindow.py
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'e:\008-fengbaochun-master\Visual_terminal\mainwindow.ui'
#
# Created by: PyQt5 UI code generator 5.15.0
#
# 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_MainWindow(object):
def setupUi(self, MainWindow):
MainWindow.setObjectName("MainWindow")
MainWindow.resize(1506, 1015)
self.centralwidget = QtWidgets.QWidget(MainWindow)
self.centralwidget.setObjectName("centralwidget")
self.horizontalLayout_3 = QtWidgets.QHBoxLayout(self.centralwidget)
self.horizontalLayout_3.setObjectName("horizontalLayout_3")
self.verticalLayout_4 = QtWidgets.QVBoxLayout()
self.verticalLayout_4.setObjectName("verticalLayout_4")
self.groupBox = QtWidgets.QGroupBox(self.centralwidget)
font = QtGui.QFont()
font.setFamily("3ds")
font.setPointSize(12)
self.groupBox.setFont(font)
self.groupBox.setObjectName("groupBox")
self.verticalLayout = QtWidgets.QVBoxLayout(self.groupBox)
self.verticalLayout.setObjectName("verticalLayout")
self.formLayout = QtWidgets.QFormLayout()
self.formLayout.setObjectName("formLayout")
self.Box_com = QtWidgets.QComboBox(self.groupBox)
self.Box_com.setObjectName("Box_com")
self.formLayout.setWidget(0, QtWidgets.QFormLayout.FieldRole, self.Box_com)
self.Box_bps = QtWidgets.QComboBox(self.groupBox)
self.Box_bps.setObjectName("Box_bps")
self.formLayout.setWidget(1, QtWidgets.QFormLayout.FieldRole, self.Box_bps)
self.label_3 = QtWidgets.QLabel(self.groupBox)
font = QtGui.QFont()
font.setFamily("3ds")
font.setPointSize(12)
self.label_3.setFont(font)
self.label_3.setObjectName("label_3")
self.formLayout.setWidget(2, QtWidgets.QFormLayout.LabelRole, self.label_3)
self.Box_data = QtWidgets.QComboBox(self.groupBox)
self.Box_data.setObjectName("Box_data")
self.formLayout.setWidget(2, QtWidgets.QFormLayout.FieldRole, self.Box_data)
self.label_4 = QtWidgets.QLabel(self.groupBox)
font = QtGui.QFont()
font.setFamily("3ds")
font.setPointSize(12)
self.label_4.setFont(font)
self.label_4.setObjectName("label_4")
self.formLayout.setWidget(3, QtWidgets.QFormLayout.LabelRole, self.label_4)
self.Box_stop = QtWidgets.QComboBox(self.groupBox)
self.Box_stop.setObjectName("Box_stop")
self.formLayout.setWidget(3, QtWidgets.QFormLayout.FieldRole, self.Box_stop)
self.label_5 = QtWidgets.QLabel(self.groupBox)
font = QtGui.QFont()
font.setFamily("3ds")
font.setPointSize(12)
self.label_5.setFont(font)
self.label_5.setObjectName("label_5")
self.formLayout.setWidget(4, QtWidgets.QFormLayout.LabelRole, self.label_5)
self.Box_check = QtWidgets.QComboBox(self.groupBox)
self.Box_check.setObjectName("Box_check")
self.formLayout.setWidget(4, QtWidgets.QFormLayout.FieldRole, self.Box_check)
self.label = QtWidgets.QLabel(self.groupBox)
font = QtGui.QFont()
font.setFamily("3ds")
font.setPointSize(12)
self.label.setFont(font)
self.label.setObjectName("label")
self.formLayout.setWidget(0, QtWidgets.QFormLayout.LabelRole, self.label)
self.label_2 = QtWidgets.QLabel(self.groupBox)
font = QtGui.QFont()
font.setFamily("3ds")
font.setPointSize(12)
self.label_2.setFont(font)
self.label_2.setObjectName("label_2")
self.formLayout.setWidget(1, QtWidgets.QFormLayout.LabelRole, self.label_2)
self.verticalLayout.addLayout(self.formLayout)
self.horizontalLayout = QtWidgets.QHBoxLayout()
self.horizontalLayout.setObjectName("horizontalLayout")
self.Button_refresh = QtWidgets.QPushButton(self.groupBox)
self.Button_refresh.setObjectName("Button_refresh")
self.horizontalLayout.addWidget(self.Button_refresh)
self.Button_opencom = QtWidgets.QPushButton(self.groupBox)
font = QtGui.QFont()
font.setFamily("3ds")
font.setPointSize(12)
self.Button_opencom.setFont(font)
self.Button_opencom.setObjectName("Button_opencom")
self.horizontalLayout.addWidget(self.Button_opencom)
self.verticalLayout.addLayout(self.horizontalLayout)
self.verticalLayout_4.addWidget(self.groupBox)
self.groupBox_2 = QtWidgets.QGroupBox(self.centralwidget)
font = QtGui.QFont()
font.setFamily("3ds")
font.setPointSize(12)
self.groupBox_2.setFont(font)
self.groupBox_2.setObjectName("groupBox_2")
self.verticalLayout_3 = QtWidgets.QVBoxLayout(self.groupBox_2)
self.verticalLayout_3.setObjectName("verticalLayout_3")
self.verticalLayout_2 = QtWidgets.QVBoxLayout()
self.verticalLayout_2.setObjectName("verticalLayout_2")
self.formLayout_2 = QtWidgets.QFormLayout()
self.formLayout_2.setObjectName("formLayout_2")
self.label_6 = QtWidgets.QLabel(self.groupBox_2)
font = QtGui.QFont()
font.setFamily("3ds")
font.setPointSize(12)
self.label_6.setFont(font)
self.label_6.setObjectName("label_6")
self.formLayout_2.setWidget(0, QtWidgets.QFormLayout.LabelRole, self.label_6)
self.Box_cam = QtWidgets.QComboBox(self.groupBox_2)
self.Box_cam.setObjectName("Box_cam")
self.formLayout_2.setWidget(0, QtWidgets.QFormLayout.FieldRole, self.Box_cam)
self.verticalLayout_2.addLayout(self.formLayout_2)
self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
self.horizontalLayout_2.setObjectName("horizontalLayout_2")
self.Button_cam_refresh = QtWidgets.QPushButton(self.groupBox_2)
font = QtGui.QFont()
font.setFamily("3ds")
font.setPointSize(12)
self.Button_cam_refresh.setFont(font)
self.Button_cam_refresh.setObjectName("Button_cam_refresh")
self.horizontalLayout_2.addWidget(self.Button_cam_refresh)
self.Button_open_cam = QtWidgets.QPushButton(self.groupBox_2)
font = QtGui.QFont()
font.setFamily("3ds")
font.setPointSize(12)
self.Button_open_cam.setFont(font)
self.Button_open_cam.setObjectName("Button_open_cam")
self.horizontalLayout_2.addWidget(self.Button_open_cam)
self.verticalLayout_2.addLayout(self.horizontalLayout_2)
self.verticalLayout_3.addLayout(self.verticalLayout_2)
self.verticalLayout_4.addWidget(self.groupBox_2)
spacerItem = QtWidgets.QSpacerItem(20, 100, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
self.verticalLayout_4.addItem(spacerItem)
self.horizontalLayout_3.addLayout(self.verticalLayout_4)
self.tabWidget = QtWidgets.QTabWidget(self.centralwidget)
self.tabWidget.setObjectName("tabWidget")
self.tab_2 = QtWidgets.QWidget()
self.tab_2.setObjectName("tab_2")
self.tabWidget.addTab(self.tab_2, "")
self.tab = QtWidgets.QWidget()
self.tab.setObjectName("tab")
self.tabWidget.addTab(self.tab, "")
self.horizontalLayout_3.addWidget(self.tabWidget)
MainWindow.setCentralWidget(self.centralwidget)
self.menubar = QtWidgets.QMenuBar(MainWindow)
self.menubar.setGeometry(QtCore.QRect(0, 0, 1506, 23))
self.menubar.setObjectName("menubar")
MainWindow.setMenuBar(self.menubar)
self.statusbar = QtWidgets.QStatusBar(MainWindow)
self.statusbar.setObjectName("statusbar")
MainWindow.setStatusBar(self.statusbar)
self.retranslateUi(MainWindow)
self.tabWidget.setCurrentIndex(0)
QtCore.QMetaObject.connectSlotsByName(MainWindow)
def retranslateUi(self, MainWindow):
_translate = QtCore.QCoreApplication.translate
MainWindow.setWindowTitle(_translate("MainWindow", "MainWindow"))
self.groupBox.setTitle(_translate("MainWindow", "Serial"))
self.label_3.setText(_translate("MainWindow", "Data"))
self.label_4.setText(_translate("MainWindow", "Stop"))
self.label_5.setText(_translate("MainWindow", "Check"))
self.label.setText(_translate("MainWindow", "Com"))
self.label_2.setText(_translate("MainWindow", "Baud"))
self.Button_refresh.setText(_translate("MainWindow", "Refresh"))
self.Button_opencom.setText(_translate("MainWindow", "Open"))
self.groupBox_2.setTitle(_translate("MainWindow", "Camera"))
self.label_6.setText(_translate("MainWindow", "Dev"))
self.Button_cam_refresh.setText(_translate("MainWindow", "Refresh"))
self.Button_open_cam.setText(_translate("MainWindow", "Open"))
self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_2), _translate("MainWindow", "Tab 2"))
self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab), _translate("MainWindow", "Tab 1"))