-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathui_Drummer_ANC350_v2.py
424 lines (415 loc) · 23.4 KB
/
ui_Drummer_ANC350_v2.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
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'ui_Drummer_ANC350_v2.ui'
#
# Created by: PyQt5 UI code generator 5.15.4
#
# 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_Drummer_ANC350(object):
def setupUi(self, Drummer_ANC350):
Drummer_ANC350.setObjectName("Drummer_ANC350")
Drummer_ANC350.setWindowModality(QtCore.Qt.NonModal)
Drummer_ANC350.resize(659, 402)
icon = QtGui.QIcon()
icon.addPixmap(QtGui.QPixmap("icons8-drumstick-65.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
Drummer_ANC350.setWindowIcon(icon)
Drummer_ANC350.setLocale(QtCore.QLocale(QtCore.QLocale.English, QtCore.QLocale.UnitedStates))
self.centralwidget = QtWidgets.QWidget(Drummer_ANC350)
self.centralwidget.setObjectName("centralwidget")
self.gridLayout_20 = QtWidgets.QGridLayout(self.centralwidget)
self.gridLayout_20.setObjectName("gridLayout_20")
self.horizontalLayout_8 = QtWidgets.QHBoxLayout()
self.horizontalLayout_8.setObjectName("horizontalLayout_8")
self.groupBox_X = QtWidgets.QGroupBox(self.centralwidget)
self.groupBox_X.setFlat(False)
self.groupBox_X.setObjectName("groupBox_X")
self.gridLayout_6 = QtWidgets.QGridLayout(self.groupBox_X)
self.gridLayout_6.setObjectName("gridLayout_6")
self.verticalLayout = QtWidgets.QVBoxLayout()
self.verticalLayout.setObjectName("verticalLayout")
self.groupBox_3 = QtWidgets.QGroupBox(self.groupBox_X)
self.groupBox_3.setObjectName("groupBox_3")
self.gridLayout_2 = QtWidgets.QGridLayout(self.groupBox_3)
self.gridLayout_2.setObjectName("gridLayout_2")
self.b_minus_x = QtWidgets.QPushButton(self.groupBox_3)
self.b_minus_x.setText("")
icon1 = QtGui.QIcon()
icon1.addPixmap(QtGui.QPixmap("minus.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.b_minus_x.setIcon(icon1)
self.b_minus_x.setObjectName("b_minus_x")
self.gridLayout_2.addWidget(self.b_minus_x, 0, 0, 1, 1)
self.b_plus_x = QtWidgets.QPushButton(self.groupBox_3)
self.b_plus_x.setText("")
icon2 = QtGui.QIcon()
icon2.addPixmap(QtGui.QPixmap("plus.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.b_plus_x.setIcon(icon2)
self.b_plus_x.setObjectName("b_plus_x")
self.gridLayout_2.addWidget(self.b_plus_x, 0, 1, 1, 1)
self.verticalLayout.addWidget(self.groupBox_3)
self.horizontalLayout_3 = QtWidgets.QHBoxLayout()
self.horizontalLayout_3.setObjectName("horizontalLayout_3")
self.groupBox_4 = QtWidgets.QGroupBox(self.groupBox_X)
self.groupBox_4.setObjectName("groupBox_4")
self.gridLayout_3 = QtWidgets.QGridLayout(self.groupBox_4)
self.gridLayout_3.setObjectName("gridLayout_3")
self.sb_freq_x = QtWidgets.QDoubleSpinBox(self.groupBox_4)
self.sb_freq_x.setWrapping(False)
self.sb_freq_x.setFrame(True)
self.sb_freq_x.setAlignment(QtCore.Qt.AlignCenter)
self.sb_freq_x.setButtonSymbols(QtWidgets.QAbstractSpinBox.UpDownArrows)
self.sb_freq_x.setProperty("showGroupSeparator", False)
self.sb_freq_x.setDecimals(0)
self.sb_freq_x.setMinimum(1.0)
self.sb_freq_x.setMaximum(2000.0)
self.sb_freq_x.setSingleStep(10.0)
self.sb_freq_x.setStepType(QtWidgets.QAbstractSpinBox.AdaptiveDecimalStepType)
self.sb_freq_x.setProperty("value", 100.0)
self.sb_freq_x.setObjectName("sb_freq_x")
self.gridLayout_3.addWidget(self.sb_freq_x, 0, 0, 1, 1)
self.horizontalLayout_3.addWidget(self.groupBox_4)
self.groupBox_5 = QtWidgets.QGroupBox(self.groupBox_X)
self.groupBox_5.setObjectName("groupBox_5")
self.gridLayout_4 = QtWidgets.QGridLayout(self.groupBox_5)
self.gridLayout_4.setObjectName("gridLayout_4")
self.sb_amp_x = QtWidgets.QDoubleSpinBox(self.groupBox_5)
self.sb_amp_x.setWrapping(False)
self.sb_amp_x.setFrame(True)
self.sb_amp_x.setAlignment(QtCore.Qt.AlignCenter)
self.sb_amp_x.setButtonSymbols(QtWidgets.QAbstractSpinBox.UpDownArrows)
self.sb_amp_x.setProperty("showGroupSeparator", False)
self.sb_amp_x.setDecimals(0)
self.sb_amp_x.setMaximum(70.0)
self.sb_amp_x.setSingleStep(1.0)
self.sb_amp_x.setStepType(QtWidgets.QAbstractSpinBox.AdaptiveDecimalStepType)
self.sb_amp_x.setProperty("value", 20.0)
self.sb_amp_x.setObjectName("sb_amp_x")
self.gridLayout_4.addWidget(self.sb_amp_x, 0, 0, 1, 1)
self.horizontalLayout_3.addWidget(self.groupBox_5)
self.verticalLayout.addLayout(self.horizontalLayout_3)
self.groupBox_6 = QtWidgets.QGroupBox(self.groupBox_X)
self.groupBox_6.setObjectName("groupBox_6")
self.gridLayout = QtWidgets.QGridLayout(self.groupBox_6)
self.gridLayout.setObjectName("gridLayout")
self.verticalLayout_2 = QtWidgets.QVBoxLayout()
self.verticalLayout_2.setObjectName("verticalLayout_2")
self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
self.horizontalLayout_2.setObjectName("horizontalLayout_2")
self.label_5 = QtWidgets.QLabel(self.groupBox_6)
self.label_5.setObjectName("label_5")
self.horizontalLayout_2.addWidget(self.label_5)
spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.horizontalLayout_2.addItem(spacerItem)
self.label_6 = QtWidgets.QLabel(self.groupBox_6)
self.label_6.setObjectName("label_6")
self.horizontalLayout_2.addWidget(self.label_6)
self.verticalLayout_2.addLayout(self.horizontalLayout_2)
self.slider_x = QtWidgets.QSlider(self.groupBox_6)
self.slider_x.setMaximum(1)
self.slider_x.setSliderPosition(0)
self.slider_x.setOrientation(QtCore.Qt.Horizontal)
self.slider_x.setInvertedAppearance(False)
self.slider_x.setInvertedControls(True)
self.slider_x.setTickPosition(QtWidgets.QSlider.TicksBothSides)
self.slider_x.setTickInterval(1)
self.slider_x.setObjectName("slider_x")
self.verticalLayout_2.addWidget(self.slider_x)
self.gridLayout.addLayout(self.verticalLayout_2, 0, 0, 1, 1)
self.verticalLayout.addWidget(self.groupBox_6)
self.groupBox_7 = QtWidgets.QGroupBox(self.groupBox_X)
self.groupBox_7.setObjectName("groupBox_7")
self.gridLayout_5 = QtWidgets.QGridLayout(self.groupBox_7)
self.gridLayout_5.setObjectName("gridLayout_5")
self.l_pos_x = QtWidgets.QLabel(self.groupBox_7)
self.l_pos_x.setFrameShape(QtWidgets.QFrame.Box)
self.l_pos_x.setScaledContents(True)
self.l_pos_x.setAlignment(QtCore.Qt.AlignCenter)
self.l_pos_x.setObjectName("l_pos_x")
self.gridLayout_5.addWidget(self.l_pos_x, 0, 0, 1, 1)
self.verticalLayout.addWidget(self.groupBox_7)
self.gridLayout_6.addLayout(self.verticalLayout, 0, 0, 1, 1)
self.horizontalLayout_8.addWidget(self.groupBox_X)
self.groupBox_Y = QtWidgets.QGroupBox(self.centralwidget)
self.groupBox_Y.setFlat(False)
self.groupBox_Y.setObjectName("groupBox_Y")
self.gridLayout_8 = QtWidgets.QGridLayout(self.groupBox_Y)
self.gridLayout_8.setObjectName("gridLayout_8")
self.verticalLayout_3 = QtWidgets.QVBoxLayout()
self.verticalLayout_3.setObjectName("verticalLayout_3")
self.groupBox_9 = QtWidgets.QGroupBox(self.groupBox_Y)
self.groupBox_9.setObjectName("groupBox_9")
self.gridLayout_9 = QtWidgets.QGridLayout(self.groupBox_9)
self.gridLayout_9.setObjectName("gridLayout_9")
self.b_minus_y = QtWidgets.QPushButton(self.groupBox_9)
self.b_minus_y.setText("")
self.b_minus_y.setIcon(icon1)
self.b_minus_y.setObjectName("b_minus_y")
self.gridLayout_9.addWidget(self.b_minus_y, 0, 0, 1, 1)
self.b_plus_y = QtWidgets.QPushButton(self.groupBox_9)
self.b_plus_y.setText("")
self.b_plus_y.setIcon(icon2)
self.b_plus_y.setObjectName("b_plus_y")
self.gridLayout_9.addWidget(self.b_plus_y, 0, 1, 1, 1)
self.verticalLayout_3.addWidget(self.groupBox_9)
self.horizontalLayout_4 = QtWidgets.QHBoxLayout()
self.horizontalLayout_4.setObjectName("horizontalLayout_4")
self.groupBox_10 = QtWidgets.QGroupBox(self.groupBox_Y)
self.groupBox_10.setObjectName("groupBox_10")
self.gridLayout_10 = QtWidgets.QGridLayout(self.groupBox_10)
self.gridLayout_10.setObjectName("gridLayout_10")
self.sb_freq_y = QtWidgets.QDoubleSpinBox(self.groupBox_10)
self.sb_freq_y.setWrapping(False)
self.sb_freq_y.setFrame(True)
self.sb_freq_y.setAlignment(QtCore.Qt.AlignCenter)
self.sb_freq_y.setButtonSymbols(QtWidgets.QAbstractSpinBox.UpDownArrows)
self.sb_freq_y.setProperty("showGroupSeparator", False)
self.sb_freq_y.setDecimals(0)
self.sb_freq_y.setMinimum(1.0)
self.sb_freq_y.setMaximum(2000.0)
self.sb_freq_y.setSingleStep(10.0)
self.sb_freq_y.setStepType(QtWidgets.QAbstractSpinBox.AdaptiveDecimalStepType)
self.sb_freq_y.setProperty("value", 100.0)
self.sb_freq_y.setObjectName("sb_freq_y")
self.gridLayout_10.addWidget(self.sb_freq_y, 0, 0, 1, 1)
self.horizontalLayout_4.addWidget(self.groupBox_10)
self.groupBox_11 = QtWidgets.QGroupBox(self.groupBox_Y)
self.groupBox_11.setObjectName("groupBox_11")
self.gridLayout_11 = QtWidgets.QGridLayout(self.groupBox_11)
self.gridLayout_11.setObjectName("gridLayout_11")
self.sb_amp_y = QtWidgets.QDoubleSpinBox(self.groupBox_11)
self.sb_amp_y.setWrapping(False)
self.sb_amp_y.setFrame(True)
self.sb_amp_y.setAlignment(QtCore.Qt.AlignCenter)
self.sb_amp_y.setButtonSymbols(QtWidgets.QAbstractSpinBox.UpDownArrows)
self.sb_amp_y.setProperty("showGroupSeparator", False)
self.sb_amp_y.setDecimals(0)
self.sb_amp_y.setMaximum(70.0)
self.sb_amp_y.setSingleStep(1.0)
self.sb_amp_y.setStepType(QtWidgets.QAbstractSpinBox.AdaptiveDecimalStepType)
self.sb_amp_y.setProperty("value", 20.0)
self.sb_amp_y.setObjectName("sb_amp_y")
self.gridLayout_11.addWidget(self.sb_amp_y, 0, 0, 1, 1)
self.horizontalLayout_4.addWidget(self.groupBox_11)
self.verticalLayout_3.addLayout(self.horizontalLayout_4)
self.groupBox_12 = QtWidgets.QGroupBox(self.groupBox_Y)
self.groupBox_12.setObjectName("groupBox_12")
self.gridLayout_12 = QtWidgets.QGridLayout(self.groupBox_12)
self.gridLayout_12.setObjectName("gridLayout_12")
self.verticalLayout_4 = QtWidgets.QVBoxLayout()
self.verticalLayout_4.setObjectName("verticalLayout_4")
self.horizontalLayout_5 = QtWidgets.QHBoxLayout()
self.horizontalLayout_5.setObjectName("horizontalLayout_5")
self.label_7 = QtWidgets.QLabel(self.groupBox_12)
self.label_7.setObjectName("label_7")
self.horizontalLayout_5.addWidget(self.label_7)
spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.horizontalLayout_5.addItem(spacerItem1)
self.label_8 = QtWidgets.QLabel(self.groupBox_12)
self.label_8.setObjectName("label_8")
self.horizontalLayout_5.addWidget(self.label_8)
self.verticalLayout_4.addLayout(self.horizontalLayout_5)
self.slider_y = QtWidgets.QSlider(self.groupBox_12)
self.slider_y.setMaximum(1)
self.slider_y.setSliderPosition(0)
self.slider_y.setOrientation(QtCore.Qt.Horizontal)
self.slider_y.setInvertedAppearance(False)
self.slider_y.setInvertedControls(True)
self.slider_y.setTickPosition(QtWidgets.QSlider.TicksBothSides)
self.slider_y.setTickInterval(1)
self.slider_y.setObjectName("slider_y")
self.verticalLayout_4.addWidget(self.slider_y)
self.gridLayout_12.addLayout(self.verticalLayout_4, 0, 0, 1, 1)
self.verticalLayout_3.addWidget(self.groupBox_12)
self.groupBox_13 = QtWidgets.QGroupBox(self.groupBox_Y)
self.groupBox_13.setObjectName("groupBox_13")
self.gridLayout_13 = QtWidgets.QGridLayout(self.groupBox_13)
self.gridLayout_13.setObjectName("gridLayout_13")
self.l_pos_y = QtWidgets.QLabel(self.groupBox_13)
self.l_pos_y.setFrameShape(QtWidgets.QFrame.Box)
self.l_pos_y.setScaledContents(True)
self.l_pos_y.setAlignment(QtCore.Qt.AlignCenter)
self.l_pos_y.setObjectName("l_pos_y")
self.gridLayout_13.addWidget(self.l_pos_y, 0, 0, 1, 1)
self.verticalLayout_3.addWidget(self.groupBox_13)
self.gridLayout_8.addLayout(self.verticalLayout_3, 0, 0, 1, 1)
self.horizontalLayout_8.addWidget(self.groupBox_Y)
self.groupBox_Z = QtWidgets.QGroupBox(self.centralwidget)
self.groupBox_Z.setFlat(False)
self.groupBox_Z.setObjectName("groupBox_Z")
self.gridLayout_14 = QtWidgets.QGridLayout(self.groupBox_Z)
self.gridLayout_14.setObjectName("gridLayout_14")
self.verticalLayout_5 = QtWidgets.QVBoxLayout()
self.verticalLayout_5.setObjectName("verticalLayout_5")
self.groupBox_15 = QtWidgets.QGroupBox(self.groupBox_Z)
self.groupBox_15.setObjectName("groupBox_15")
self.gridLayout_15 = QtWidgets.QGridLayout(self.groupBox_15)
self.gridLayout_15.setObjectName("gridLayout_15")
self.b_minus_z = QtWidgets.QPushButton(self.groupBox_15)
self.b_minus_z.setText("")
self.b_minus_z.setIcon(icon1)
self.b_minus_z.setObjectName("b_minus_z")
self.gridLayout_15.addWidget(self.b_minus_z, 0, 0, 1, 1)
self.b_plus_z = QtWidgets.QPushButton(self.groupBox_15)
self.b_plus_z.setText("")
self.b_plus_z.setIcon(icon2)
self.b_plus_z.setObjectName("b_plus_z")
self.gridLayout_15.addWidget(self.b_plus_z, 0, 1, 1, 1)
self.verticalLayout_5.addWidget(self.groupBox_15)
self.horizontalLayout_6 = QtWidgets.QHBoxLayout()
self.horizontalLayout_6.setObjectName("horizontalLayout_6")
self.groupBox_16 = QtWidgets.QGroupBox(self.groupBox_Z)
self.groupBox_16.setObjectName("groupBox_16")
self.gridLayout_16 = QtWidgets.QGridLayout(self.groupBox_16)
self.gridLayout_16.setObjectName("gridLayout_16")
self.sb_freq_z = QtWidgets.QDoubleSpinBox(self.groupBox_16)
self.sb_freq_z.setWrapping(False)
self.sb_freq_z.setFrame(True)
self.sb_freq_z.setAlignment(QtCore.Qt.AlignCenter)
self.sb_freq_z.setButtonSymbols(QtWidgets.QAbstractSpinBox.UpDownArrows)
self.sb_freq_z.setProperty("showGroupSeparator", False)
self.sb_freq_z.setDecimals(0)
self.sb_freq_z.setMinimum(1.0)
self.sb_freq_z.setMaximum(2000.0)
self.sb_freq_z.setSingleStep(10.0)
self.sb_freq_z.setStepType(QtWidgets.QAbstractSpinBox.AdaptiveDecimalStepType)
self.sb_freq_z.setProperty("value", 100.0)
self.sb_freq_z.setObjectName("sb_freq_z")
self.gridLayout_16.addWidget(self.sb_freq_z, 0, 0, 1, 1)
self.horizontalLayout_6.addWidget(self.groupBox_16)
self.groupBox_17 = QtWidgets.QGroupBox(self.groupBox_Z)
self.groupBox_17.setObjectName("groupBox_17")
self.gridLayout_17 = QtWidgets.QGridLayout(self.groupBox_17)
self.gridLayout_17.setObjectName("gridLayout_17")
self.sb_amp_z = QtWidgets.QDoubleSpinBox(self.groupBox_17)
self.sb_amp_z.setWrapping(False)
self.sb_amp_z.setFrame(True)
self.sb_amp_z.setAlignment(QtCore.Qt.AlignCenter)
self.sb_amp_z.setButtonSymbols(QtWidgets.QAbstractSpinBox.UpDownArrows)
self.sb_amp_z.setProperty("showGroupSeparator", False)
self.sb_amp_z.setDecimals(0)
self.sb_amp_z.setMaximum(70.0)
self.sb_amp_z.setSingleStep(1.0)
self.sb_amp_z.setStepType(QtWidgets.QAbstractSpinBox.AdaptiveDecimalStepType)
self.sb_amp_z.setProperty("value", 20.0)
self.sb_amp_z.setObjectName("sb_amp_z")
self.gridLayout_17.addWidget(self.sb_amp_z, 0, 0, 1, 1)
self.horizontalLayout_6.addWidget(self.groupBox_17)
self.verticalLayout_5.addLayout(self.horizontalLayout_6)
self.groupBox_18 = QtWidgets.QGroupBox(self.groupBox_Z)
self.groupBox_18.setObjectName("groupBox_18")
self.gridLayout_18 = QtWidgets.QGridLayout(self.groupBox_18)
self.gridLayout_18.setObjectName("gridLayout_18")
self.verticalLayout_6 = QtWidgets.QVBoxLayout()
self.verticalLayout_6.setObjectName("verticalLayout_6")
self.horizontalLayout_7 = QtWidgets.QHBoxLayout()
self.horizontalLayout_7.setObjectName("horizontalLayout_7")
self.label_9 = QtWidgets.QLabel(self.groupBox_18)
self.label_9.setObjectName("label_9")
self.horizontalLayout_7.addWidget(self.label_9)
spacerItem2 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.horizontalLayout_7.addItem(spacerItem2)
self.label_10 = QtWidgets.QLabel(self.groupBox_18)
self.label_10.setObjectName("label_10")
self.horizontalLayout_7.addWidget(self.label_10)
self.verticalLayout_6.addLayout(self.horizontalLayout_7)
self.slider_z = QtWidgets.QSlider(self.groupBox_18)
self.slider_z.setMaximum(1)
self.slider_z.setSliderPosition(0)
self.slider_z.setOrientation(QtCore.Qt.Horizontal)
self.slider_z.setInvertedAppearance(False)
self.slider_z.setInvertedControls(True)
self.slider_z.setTickPosition(QtWidgets.QSlider.TicksBothSides)
self.slider_z.setTickInterval(1)
self.slider_z.setObjectName("slider_z")
self.verticalLayout_6.addWidget(self.slider_z)
self.gridLayout_18.addLayout(self.verticalLayout_6, 0, 0, 1, 1)
self.verticalLayout_5.addWidget(self.groupBox_18)
self.groupBox_19 = QtWidgets.QGroupBox(self.groupBox_Z)
self.groupBox_19.setObjectName("groupBox_19")
self.gridLayout_19 = QtWidgets.QGridLayout(self.groupBox_19)
self.gridLayout_19.setObjectName("gridLayout_19")
self.l_pos_z = QtWidgets.QLabel(self.groupBox_19)
self.l_pos_z.setFrameShape(QtWidgets.QFrame.Box)
self.l_pos_z.setScaledContents(True)
self.l_pos_z.setAlignment(QtCore.Qt.AlignCenter)
self.l_pos_z.setObjectName("l_pos_z")
self.gridLayout_19.addWidget(self.l_pos_z, 0, 0, 1, 1)
self.verticalLayout_5.addWidget(self.groupBox_19)
self.gridLayout_14.addLayout(self.verticalLayout_5, 0, 0, 1, 1)
self.horizontalLayout_8.addWidget(self.groupBox_Z)
self.gridLayout_20.addLayout(self.horizontalLayout_8, 1, 0, 1, 1)
self.horizontalLayout_13 = QtWidgets.QHBoxLayout()
self.horizontalLayout_13.setObjectName("horizontalLayout_13")
self.horizontalLayout = QtWidgets.QHBoxLayout()
self.horizontalLayout.setObjectName("horizontalLayout")
self.horizontalLayout_13.addLayout(self.horizontalLayout)
spacerItem3 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.horizontalLayout_13.addItem(spacerItem3)
self.b_connect = QtWidgets.QPushButton(self.centralwidget)
self.b_connect.setObjectName("b_connect")
self.horizontalLayout_13.addWidget(self.b_connect)
self.horizontalLayout_12 = QtWidgets.QHBoxLayout()
self.horizontalLayout_12.setObjectName("horizontalLayout_12")
self.b_disconnect = QtWidgets.QPushButton(self.centralwidget)
self.b_disconnect.setObjectName("b_disconnect")
self.horizontalLayout_12.addWidget(self.b_disconnect)
self.horizontalLayout_13.addLayout(self.horizontalLayout_12)
self.gridLayout_20.addLayout(self.horizontalLayout_13, 0, 0, 1, 1)
Drummer_ANC350.setCentralWidget(self.centralwidget)
self.menubar = QtWidgets.QMenuBar(Drummer_ANC350)
self.menubar.setGeometry(QtCore.QRect(0, 0, 659, 21))
self.menubar.setObjectName("menubar")
self.menuAbout = QtWidgets.QMenu(self.menubar)
self.menuAbout.setObjectName("menuAbout")
Drummer_ANC350.setMenuBar(self.menubar)
self.statusbar = QtWidgets.QStatusBar(Drummer_ANC350)
self.statusbar.setObjectName("statusbar")
Drummer_ANC350.setStatusBar(self.statusbar)
self.actionAbout = QtWidgets.QAction(Drummer_ANC350)
self.actionAbout.setObjectName("actionAbout")
self.menuAbout.addAction(self.actionAbout)
self.menubar.addAction(self.menuAbout.menuAction())
self.retranslateUi(Drummer_ANC350)
QtCore.QMetaObject.connectSlotsByName(Drummer_ANC350)
def retranslateUi(self, Drummer_ANC350):
_translate = QtCore.QCoreApplication.translate
Drummer_ANC350.setWindowTitle(_translate("Drummer_ANC350", "Drummer - ANC350"))
self.groupBox_X.setTitle(_translate("Drummer_ANC350", "X"))
self.groupBox_3.setTitle(_translate("Drummer_ANC350", "Move"))
self.groupBox_4.setTitle(_translate("Drummer_ANC350", "Frequency (Hz)"))
self.groupBox_5.setTitle(_translate("Drummer_ANC350", "Amplitude (V)"))
self.groupBox_6.setTitle(_translate("Drummer_ANC350", "Speed"))
self.label_5.setText(_translate("Drummer_ANC350", "Single Step"))
self.label_6.setText(_translate("Drummer_ANC350", "Continuous"))
self.groupBox_7.setTitle(_translate("Drummer_ANC350", "Position (um)"))
self.l_pos_x.setText(_translate("Drummer_ANC350", "-1273.1234"))
self.groupBox_Y.setTitle(_translate("Drummer_ANC350", "Y"))
self.groupBox_9.setTitle(_translate("Drummer_ANC350", "Move"))
self.groupBox_10.setTitle(_translate("Drummer_ANC350", "Frequency (Hz)"))
self.groupBox_11.setTitle(_translate("Drummer_ANC350", "Amplitude (V)"))
self.groupBox_12.setTitle(_translate("Drummer_ANC350", "Speed"))
self.label_7.setText(_translate("Drummer_ANC350", "Single Step"))
self.label_8.setText(_translate("Drummer_ANC350", "Continuous"))
self.groupBox_13.setTitle(_translate("Drummer_ANC350", "Position (um)"))
self.l_pos_y.setText(_translate("Drummer_ANC350", "-1273.1234"))
self.groupBox_Z.setTitle(_translate("Drummer_ANC350", "Z"))
self.groupBox_15.setTitle(_translate("Drummer_ANC350", "Move"))
self.groupBox_16.setTitle(_translate("Drummer_ANC350", "Frequency (Hz)"))
self.groupBox_17.setTitle(_translate("Drummer_ANC350", "Amplitude (V)"))
self.groupBox_18.setTitle(_translate("Drummer_ANC350", "Speed"))
self.label_9.setText(_translate("Drummer_ANC350", "Single Step"))
self.label_10.setText(_translate("Drummer_ANC350", "Continuous"))
self.groupBox_19.setTitle(_translate("Drummer_ANC350", "Position (um)"))
self.l_pos_z.setText(_translate("Drummer_ANC350", "-1273.1234"))
self.b_connect.setText(_translate("Drummer_ANC350", "Connect"))
self.b_disconnect.setText(_translate("Drummer_ANC350", "Disconnect"))
self.menuAbout.setTitle(_translate("Drummer_ANC350", "About"))
self.actionAbout.setText(_translate("Drummer_ANC350", "About"))
if __name__ == "__main__":
import sys
app = QtWidgets.QApplication(sys.argv)
Drummer_ANC350 = QtWidgets.QMainWindow()
ui = Ui_Drummer_ANC350()
ui.setupUi(Drummer_ANC350)
Drummer_ANC350.show()
sys.exit(app.exec_())