biosignal-device-interface 0.2.1a1__py3-none-any.whl → 0.2.2__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (41) hide show
  1. biosignal_device_interface/constants/devices/__init__.py +3 -3
  2. biosignal_device_interface/constants/devices/core/base_device_constants.py +61 -61
  3. biosignal_device_interface/constants/devices/otb/otb_muovi_constants.py +129 -129
  4. biosignal_device_interface/constants/devices/otb/otb_quattrocento_constants.py +313 -313
  5. biosignal_device_interface/constants/devices/otb/otb_quattrocento_light_constants.py +59 -59
  6. biosignal_device_interface/constants/devices/otb/otb_syncstation_constants.py +233 -233
  7. biosignal_device_interface/constants/plots/color_palette.py +59 -59
  8. biosignal_device_interface/devices/__init__.py +17 -17
  9. biosignal_device_interface/devices/core/base_device.py +424 -412
  10. biosignal_device_interface/devices/otb/__init__.py +29 -29
  11. biosignal_device_interface/devices/otb/otb_muovi.py +290 -290
  12. biosignal_device_interface/devices/otb/otb_quattrocento.py +332 -332
  13. biosignal_device_interface/devices/otb/otb_quattrocento_light.py +210 -210
  14. biosignal_device_interface/devices/otb/otb_syncstation.py +407 -407
  15. biosignal_device_interface/gui/device_template_widgets/all_devices_widget.py +51 -51
  16. biosignal_device_interface/gui/device_template_widgets/core/base_device_widget.py +130 -130
  17. biosignal_device_interface/gui/device_template_widgets/core/base_multiple_devices_widget.py +108 -108
  18. biosignal_device_interface/gui/device_template_widgets/otb/otb_devices_widget.py +44 -44
  19. biosignal_device_interface/gui/device_template_widgets/otb/otb_muovi_plus_widget.py +158 -158
  20. biosignal_device_interface/gui/device_template_widgets/otb/otb_muovi_widget.py +158 -158
  21. biosignal_device_interface/gui/device_template_widgets/otb/otb_quattrocento_light_widget.py +174 -174
  22. biosignal_device_interface/gui/device_template_widgets/otb/otb_quattrocento_widget.py +260 -260
  23. biosignal_device_interface/gui/device_template_widgets/otb/otb_syncstation_widget.py +262 -262
  24. biosignal_device_interface/gui/plot_widgets/biosignal_plot_widget.py +500 -501
  25. biosignal_device_interface/gui/ui/devices_template_widget.ui +38 -38
  26. biosignal_device_interface/gui/ui/otb_muovi_plus_template_widget.ui +171 -171
  27. biosignal_device_interface/gui/ui/otb_muovi_template_widget.ui +171 -171
  28. biosignal_device_interface/gui/ui/otb_quattrocento_light_template_widget.ui +266 -266
  29. biosignal_device_interface/gui/ui/otb_quattrocento_template_widget.ui +415 -415
  30. biosignal_device_interface/gui/ui/otb_syncstation_template_widget.ui +732 -732
  31. biosignal_device_interface/gui/ui_compiled/devices_template_widget.py +56 -56
  32. biosignal_device_interface/gui/ui_compiled/otb_muovi_plus_template_widget.py +153 -153
  33. biosignal_device_interface/gui/ui_compiled/otb_muovi_template_widget.py +153 -153
  34. biosignal_device_interface/gui/ui_compiled/otb_quattrocento_light_template_widget.py +217 -217
  35. biosignal_device_interface/gui/ui_compiled/otb_quattrocento_template_widget.py +318 -318
  36. biosignal_device_interface/gui/ui_compiled/otb_syncstation_template_widget.py +495 -495
  37. {biosignal_device_interface-0.2.1a1.dist-info → biosignal_device_interface-0.2.2.dist-info}/METADATA +3 -2
  38. biosignal_device_interface-0.2.2.dist-info/RECORD +46 -0
  39. {biosignal_device_interface-0.2.1a1.dist-info → biosignal_device_interface-0.2.2.dist-info}/WHEEL +1 -1
  40. {biosignal_device_interface-0.2.1a1.dist-info → biosignal_device_interface-0.2.2.dist-info/licenses}/LICENSE +675 -675
  41. biosignal_device_interface-0.2.1a1.dist-info/RECORD +0 -46
@@ -1,318 +1,318 @@
1
- # -*- coding: utf-8 -*-
2
-
3
- ################################################################################
4
- ## Form generated from reading UI file 'otb_quattrocento_template_widget.ui'
5
- ##
6
- ## Created by: Qt User Interface Compiler version 6.7.0
7
- ##
8
- ## WARNING! All changes made in this file will be lost when recompiling UI file!
9
- ################################################################################
10
-
11
- from PySide6.QtCore import (QCoreApplication, QDate, QDateTime, QLocale,
12
- QMetaObject, QObject, QPoint, QRect,
13
- QSize, QTime, QUrl, Qt)
14
- from PySide6.QtGui import (QBrush, QColor, QConicalGradient, QCursor,
15
- QFont, QFontDatabase, QGradient, QIcon,
16
- QImage, QKeySequence, QLinearGradient, QPainter,
17
- QPalette, QPixmap, QRadialGradient, QTransform)
18
- from PySide6.QtWidgets import (QApplication, QCheckBox, QComboBox, QGridLayout,
19
- QGroupBox, QLabel, QLineEdit, QPushButton,
20
- QSizePolicy, QSpacerItem, QWidget)
21
-
22
- class Ui_QuattrocentoForm(object):
23
- def setupUi(self, QuattrocentoForm):
24
- if not QuattrocentoForm.objectName():
25
- QuattrocentoForm.setObjectName(u"QuattrocentoForm")
26
- QuattrocentoForm.resize(400, 638)
27
- self.gridLayout_2 = QGridLayout(QuattrocentoForm)
28
- self.gridLayout_2.setObjectName(u"gridLayout_2")
29
- self.widget = QWidget(QuattrocentoForm)
30
- self.widget.setObjectName(u"widget")
31
- self.gridLayout_6 = QGridLayout(self.widget)
32
- self.gridLayout_6.setObjectName(u"gridLayout_6")
33
- self.inputGroupBox = QGroupBox(self.widget)
34
- self.inputGroupBox.setObjectName(u"inputGroupBox")
35
- self.gridLayout_4 = QGridLayout(self.inputGroupBox)
36
- self.gridLayout_4.setObjectName(u"gridLayout_4")
37
- self.label_3 = QLabel(self.inputGroupBox)
38
- self.label_3.setObjectName(u"label_3")
39
-
40
- self.gridLayout_4.addWidget(self.label_3, 0, 0, 1, 1)
41
-
42
- self.inputDetectionModeComboBox = QComboBox(self.inputGroupBox)
43
- self.inputDetectionModeComboBox.addItem("")
44
- self.inputDetectionModeComboBox.addItem("")
45
- self.inputDetectionModeComboBox.addItem("")
46
- self.inputDetectionModeComboBox.setObjectName(u"inputDetectionModeComboBox")
47
-
48
- self.gridLayout_4.addWidget(self.inputDetectionModeComboBox, 3, 1, 1, 1)
49
-
50
- self.label_10 = QLabel(self.inputGroupBox)
51
- self.label_10.setObjectName(u"label_10")
52
-
53
- self.gridLayout_4.addWidget(self.label_10, 3, 0, 1, 1)
54
-
55
- self.label_9 = QLabel(self.inputGroupBox)
56
- self.label_9.setObjectName(u"label_9")
57
-
58
- self.gridLayout_4.addWidget(self.label_9, 2, 0, 1, 1)
59
-
60
- self.inputHighPassComboBox = QComboBox(self.inputGroupBox)
61
- self.inputHighPassComboBox.addItem("")
62
- self.inputHighPassComboBox.addItem("")
63
- self.inputHighPassComboBox.addItem("")
64
- self.inputHighPassComboBox.addItem("")
65
- self.inputHighPassComboBox.setObjectName(u"inputHighPassComboBox")
66
-
67
- self.gridLayout_4.addWidget(self.inputHighPassComboBox, 1, 1, 1, 1)
68
-
69
- self.label_8 = QLabel(self.inputGroupBox)
70
- self.label_8.setObjectName(u"label_8")
71
-
72
- self.gridLayout_4.addWidget(self.label_8, 1, 0, 1, 1)
73
-
74
- self.inputLowPassComboBox = QComboBox(self.inputGroupBox)
75
- self.inputLowPassComboBox.addItem("")
76
- self.inputLowPassComboBox.addItem("")
77
- self.inputLowPassComboBox.addItem("")
78
- self.inputLowPassComboBox.addItem("")
79
- self.inputLowPassComboBox.setObjectName(u"inputLowPassComboBox")
80
-
81
- self.gridLayout_4.addWidget(self.inputLowPassComboBox, 2, 1, 1, 1)
82
-
83
- self.inputChannelComboBox = QComboBox(self.inputGroupBox)
84
- self.inputChannelComboBox.addItem("")
85
- self.inputChannelComboBox.addItem("")
86
- self.inputChannelComboBox.addItem("")
87
- self.inputChannelComboBox.addItem("")
88
- self.inputChannelComboBox.addItem("")
89
- self.inputChannelComboBox.addItem("")
90
- self.inputChannelComboBox.setObjectName(u"inputChannelComboBox")
91
- self.inputChannelComboBox.setEnabled(False)
92
-
93
- self.gridLayout_4.addWidget(self.inputChannelComboBox, 0, 1, 1, 1)
94
-
95
- self.inputConfigurationPushButton = QPushButton(self.inputGroupBox)
96
- self.inputConfigurationPushButton.setObjectName(u"inputConfigurationPushButton")
97
- self.inputConfigurationPushButton.setEnabled(False)
98
-
99
- self.gridLayout_4.addWidget(self.inputConfigurationPushButton, 4, 1, 1, 1)
100
-
101
-
102
- self.gridLayout_6.addWidget(self.inputGroupBox, 2, 0, 1, 1)
103
-
104
- self.verticalSpacer = QSpacerItem(20, 40, QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Expanding)
105
-
106
- self.gridLayout_6.addItem(self.verticalSpacer, 5, 0, 1, 1)
107
-
108
- self.commandsGroupBox = QGroupBox(self.widget)
109
- self.commandsGroupBox.setObjectName(u"commandsGroupBox")
110
- self.gridLayout_3 = QGridLayout(self.commandsGroupBox)
111
- self.gridLayout_3.setObjectName(u"gridLayout_3")
112
- self.commandConnectionPushButton = QPushButton(self.commandsGroupBox)
113
- self.commandConnectionPushButton.setObjectName(u"commandConnectionPushButton")
114
-
115
- self.gridLayout_3.addWidget(self.commandConnectionPushButton, 0, 0, 1, 1)
116
-
117
- self.commandConfigurationPushButton = QPushButton(self.commandsGroupBox)
118
- self.commandConfigurationPushButton.setObjectName(u"commandConfigurationPushButton")
119
-
120
- self.gridLayout_3.addWidget(self.commandConfigurationPushButton, 1, 0, 1, 1)
121
-
122
- self.commandStreamPushButton = QPushButton(self.commandsGroupBox)
123
- self.commandStreamPushButton.setObjectName(u"commandStreamPushButton")
124
-
125
- self.gridLayout_3.addWidget(self.commandStreamPushButton, 2, 0, 1, 1)
126
-
127
-
128
- self.gridLayout_6.addWidget(self.commandsGroupBox, 4, 0, 1, 1)
129
-
130
- self.acquisitionGroupBox = QGroupBox(self.widget)
131
- self.acquisitionGroupBox.setObjectName(u"acquisitionGroupBox")
132
- self.gridLayout = QGridLayout(self.acquisitionGroupBox)
133
- self.gridLayout.setObjectName(u"gridLayout")
134
- self.acquisitionNumberOfChannelsComboBox = QComboBox(self.acquisitionGroupBox)
135
- self.acquisitionNumberOfChannelsComboBox.addItem("")
136
- self.acquisitionNumberOfChannelsComboBox.addItem("")
137
- self.acquisitionNumberOfChannelsComboBox.addItem("")
138
- self.acquisitionNumberOfChannelsComboBox.addItem("")
139
- self.acquisitionNumberOfChannelsComboBox.setObjectName(u"acquisitionNumberOfChannelsComboBox")
140
-
141
- self.gridLayout.addWidget(self.acquisitionNumberOfChannelsComboBox, 1, 1, 1, 1)
142
-
143
- self.acquisitionSamplingFrequencyComboBox = QComboBox(self.acquisitionGroupBox)
144
- self.acquisitionSamplingFrequencyComboBox.addItem("")
145
- self.acquisitionSamplingFrequencyComboBox.addItem("")
146
- self.acquisitionSamplingFrequencyComboBox.addItem("")
147
- self.acquisitionSamplingFrequencyComboBox.addItem("")
148
- self.acquisitionSamplingFrequencyComboBox.setObjectName(u"acquisitionSamplingFrequencyComboBox")
149
-
150
- self.gridLayout.addWidget(self.acquisitionSamplingFrequencyComboBox, 0, 1, 1, 1)
151
-
152
- self.label_2 = QLabel(self.acquisitionGroupBox)
153
- self.label_2.setObjectName(u"label_2")
154
-
155
- self.gridLayout.addWidget(self.label_2, 1, 0, 1, 1)
156
-
157
- self.label = QLabel(self.acquisitionGroupBox)
158
- self.label.setObjectName(u"label")
159
-
160
- self.gridLayout.addWidget(self.label, 0, 0, 1, 1)
161
-
162
- self.acquisitionDecimatorCheckBox = QCheckBox(self.acquisitionGroupBox)
163
- self.acquisitionDecimatorCheckBox.setObjectName(u"acquisitionDecimatorCheckBox")
164
- self.acquisitionDecimatorCheckBox.setChecked(True)
165
-
166
- self.gridLayout.addWidget(self.acquisitionDecimatorCheckBox, 2, 0, 1, 1)
167
-
168
- self.acquisitionRecordingCheckBox = QCheckBox(self.acquisitionGroupBox)
169
- self.acquisitionRecordingCheckBox.setObjectName(u"acquisitionRecordingCheckBox")
170
- self.acquisitionRecordingCheckBox.setEnabled(False)
171
-
172
- self.gridLayout.addWidget(self.acquisitionRecordingCheckBox, 2, 1, 1, 1)
173
-
174
-
175
- self.gridLayout_6.addWidget(self.acquisitionGroupBox, 1, 0, 1, 1)
176
-
177
- self.gridSelectionGroupBox = QGroupBox(self.widget)
178
- self.gridSelectionGroupBox.setObjectName(u"gridSelectionGroupBox")
179
- self.gridLayout_5 = QGridLayout(self.gridSelectionGroupBox)
180
- self.gridLayout_5.setObjectName(u"gridLayout_5")
181
- self.gridFourCheckBox = QCheckBox(self.gridSelectionGroupBox)
182
- self.gridFourCheckBox.setObjectName(u"gridFourCheckBox")
183
-
184
- self.gridLayout_5.addWidget(self.gridFourCheckBox, 1, 1, 1, 1)
185
-
186
- self.gridThreeCheckBox = QCheckBox(self.gridSelectionGroupBox)
187
- self.gridThreeCheckBox.setObjectName(u"gridThreeCheckBox")
188
-
189
- self.gridLayout_5.addWidget(self.gridThreeCheckBox, 1, 0, 1, 1)
190
-
191
- self.gridFiveCheckBox = QCheckBox(self.gridSelectionGroupBox)
192
- self.gridFiveCheckBox.setObjectName(u"gridFiveCheckBox")
193
-
194
- self.gridLayout_5.addWidget(self.gridFiveCheckBox, 1, 2, 1, 1)
195
-
196
- self.gridSixCheckBox = QCheckBox(self.gridSelectionGroupBox)
197
- self.gridSixCheckBox.setObjectName(u"gridSixCheckBox")
198
-
199
- self.gridLayout_5.addWidget(self.gridSixCheckBox, 1, 3, 1, 1)
200
-
201
- self.gridTwoCheckBox = QCheckBox(self.gridSelectionGroupBox)
202
- self.gridTwoCheckBox.setObjectName(u"gridTwoCheckBox")
203
- self.gridTwoCheckBox.setLayoutDirection(Qt.LayoutDirection.LeftToRight)
204
-
205
- self.gridLayout_5.addWidget(self.gridTwoCheckBox, 0, 3, 1, 1)
206
-
207
- self.gridOneCheckBox = QCheckBox(self.gridSelectionGroupBox)
208
- self.gridOneCheckBox.setObjectName(u"gridOneCheckBox")
209
-
210
- self.gridLayout_5.addWidget(self.gridOneCheckBox, 0, 0, 1, 1)
211
-
212
-
213
- self.gridLayout_6.addWidget(self.gridSelectionGroupBox, 3, 0, 1, 1)
214
-
215
- self.connectionGroupBox = QGroupBox(self.widget)
216
- self.connectionGroupBox.setObjectName(u"connectionGroupBox")
217
- self.gridLayout_7 = QGridLayout(self.connectionGroupBox)
218
- self.gridLayout_7.setObjectName(u"gridLayout_7")
219
- self.label_4 = QLabel(self.connectionGroupBox)
220
- self.label_4.setObjectName(u"label_4")
221
-
222
- self.gridLayout_7.addWidget(self.label_4, 0, 0, 1, 1)
223
-
224
- self.connectionIPLineEdit = QLineEdit(self.connectionGroupBox)
225
- self.connectionIPLineEdit.setObjectName(u"connectionIPLineEdit")
226
-
227
- self.gridLayout_7.addWidget(self.connectionIPLineEdit, 0, 1, 1, 1)
228
-
229
- self.label_5 = QLabel(self.connectionGroupBox)
230
- self.label_5.setObjectName(u"label_5")
231
-
232
- self.gridLayout_7.addWidget(self.label_5, 1, 0, 1, 1)
233
-
234
- self.connectionPortLineEdit = QLineEdit(self.connectionGroupBox)
235
- self.connectionPortLineEdit.setObjectName(u"connectionPortLineEdit")
236
-
237
- self.gridLayout_7.addWidget(self.connectionPortLineEdit, 1, 1, 1, 1)
238
-
239
-
240
- self.gridLayout_6.addWidget(self.connectionGroupBox, 0, 0, 1, 1)
241
-
242
-
243
- self.gridLayout_2.addWidget(self.widget, 0, 0, 1, 1)
244
-
245
-
246
- self.retranslateUi(QuattrocentoForm)
247
-
248
- self.inputHighPassComboBox.setCurrentIndex(1)
249
- self.inputLowPassComboBox.setCurrentIndex(1)
250
- self.acquisitionNumberOfChannelsComboBox.setCurrentIndex(3)
251
- self.acquisitionSamplingFrequencyComboBox.setCurrentIndex(1)
252
-
253
-
254
- QMetaObject.connectSlotsByName(QuattrocentoForm)
255
- # setupUi
256
-
257
- def retranslateUi(self, QuattrocentoForm):
258
- QuattrocentoForm.setWindowTitle(QCoreApplication.translate("QuattrocentoForm", u"Form", None))
259
- self.inputGroupBox.setTitle(QCoreApplication.translate("QuattrocentoForm", u"Input Parameters", None))
260
- self.label_3.setText(QCoreApplication.translate("QuattrocentoForm", u"Select Channel", None))
261
- self.inputDetectionModeComboBox.setItemText(0, QCoreApplication.translate("QuattrocentoForm", u"MONOPOLAR", None))
262
- self.inputDetectionModeComboBox.setItemText(1, QCoreApplication.translate("QuattrocentoForm", u"DIFFERENTIAL", None))
263
- self.inputDetectionModeComboBox.setItemText(2, QCoreApplication.translate("QuattrocentoForm", u"BIPOLAR", None))
264
-
265
- self.label_10.setText(QCoreApplication.translate("QuattrocentoForm", u"Mode", None))
266
- self.label_9.setText(QCoreApplication.translate("QuattrocentoForm", u"Low Pass", None))
267
- self.inputHighPassComboBox.setItemText(0, QCoreApplication.translate("QuattrocentoForm", u"0.7 Hz", None))
268
- self.inputHighPassComboBox.setItemText(1, QCoreApplication.translate("QuattrocentoForm", u"10 Hz", None))
269
- self.inputHighPassComboBox.setItemText(2, QCoreApplication.translate("QuattrocentoForm", u"100 Hz", None))
270
- self.inputHighPassComboBox.setItemText(3, QCoreApplication.translate("QuattrocentoForm", u"200 Hz", None))
271
-
272
- self.label_8.setText(QCoreApplication.translate("QuattrocentoForm", u"High Pass", None))
273
- self.inputLowPassComboBox.setItemText(0, QCoreApplication.translate("QuattrocentoForm", u"130 Hz", None))
274
- self.inputLowPassComboBox.setItemText(1, QCoreApplication.translate("QuattrocentoForm", u"500 Hz", None))
275
- self.inputLowPassComboBox.setItemText(2, QCoreApplication.translate("QuattrocentoForm", u"900 Hz", None))
276
- self.inputLowPassComboBox.setItemText(3, QCoreApplication.translate("QuattrocentoForm", u"4400 Hz", None))
277
-
278
- self.inputChannelComboBox.setItemText(0, QCoreApplication.translate("QuattrocentoForm", u"IN1-4", None))
279
- self.inputChannelComboBox.setItemText(1, QCoreApplication.translate("QuattrocentoForm", u"IN5-8", None))
280
- self.inputChannelComboBox.setItemText(2, QCoreApplication.translate("QuattrocentoForm", u"MULTIPLE_IN_1", None))
281
- self.inputChannelComboBox.setItemText(3, QCoreApplication.translate("QuattrocentoForm", u"MULTIPLE_IN_2", None))
282
- self.inputChannelComboBox.setItemText(4, QCoreApplication.translate("QuattrocentoForm", u"MULTIPLE_IN_3", None))
283
- self.inputChannelComboBox.setItemText(5, QCoreApplication.translate("QuattrocentoForm", u"MULTIPLE_IN_4", None))
284
-
285
- self.inputConfigurationPushButton.setText(QCoreApplication.translate("QuattrocentoForm", u"Configure Input", None))
286
- self.commandsGroupBox.setTitle(QCoreApplication.translate("QuattrocentoForm", u"Commands", None))
287
- self.commandConnectionPushButton.setText(QCoreApplication.translate("QuattrocentoForm", u"Connect", None))
288
- self.commandConfigurationPushButton.setText(QCoreApplication.translate("QuattrocentoForm", u"Configure", None))
289
- self.commandStreamPushButton.setText(QCoreApplication.translate("QuattrocentoForm", u"Stream", None))
290
- self.acquisitionGroupBox.setTitle(QCoreApplication.translate("QuattrocentoForm", u"Acquisiton Parameters", None))
291
- self.acquisitionNumberOfChannelsComboBox.setItemText(0, QCoreApplication.translate("QuattrocentoForm", u"120", None))
292
- self.acquisitionNumberOfChannelsComboBox.setItemText(1, QCoreApplication.translate("QuattrocentoForm", u"216", None))
293
- self.acquisitionNumberOfChannelsComboBox.setItemText(2, QCoreApplication.translate("QuattrocentoForm", u"312", None))
294
- self.acquisitionNumberOfChannelsComboBox.setItemText(3, QCoreApplication.translate("QuattrocentoForm", u"408", None))
295
-
296
- self.acquisitionSamplingFrequencyComboBox.setItemText(0, QCoreApplication.translate("QuattrocentoForm", u"512", None))
297
- self.acquisitionSamplingFrequencyComboBox.setItemText(1, QCoreApplication.translate("QuattrocentoForm", u"2048", None))
298
- self.acquisitionSamplingFrequencyComboBox.setItemText(2, QCoreApplication.translate("QuattrocentoForm", u"5120", None))
299
- self.acquisitionSamplingFrequencyComboBox.setItemText(3, QCoreApplication.translate("QuattrocentoForm", u"10240", None))
300
-
301
- self.label_2.setText(QCoreApplication.translate("QuattrocentoForm", u"Number of Channels", None))
302
- self.label.setText(QCoreApplication.translate("QuattrocentoForm", u"Sampling Frequency", None))
303
- self.acquisitionDecimatorCheckBox.setText(QCoreApplication.translate("QuattrocentoForm", u"Decimator", None))
304
- self.acquisitionRecordingCheckBox.setText(QCoreApplication.translate("QuattrocentoForm", u"Recording", None))
305
- self.gridSelectionGroupBox.setTitle(QCoreApplication.translate("QuattrocentoForm", u"Grid Selection", None))
306
- self.gridFourCheckBox.setText(QCoreApplication.translate("QuattrocentoForm", u"Grid 4", None))
307
- self.gridThreeCheckBox.setText(QCoreApplication.translate("QuattrocentoForm", u"Grid 3", None))
308
- self.gridFiveCheckBox.setText(QCoreApplication.translate("QuattrocentoForm", u"Grid 5", None))
309
- self.gridSixCheckBox.setText(QCoreApplication.translate("QuattrocentoForm", u"Grid 6", None))
310
- self.gridTwoCheckBox.setText(QCoreApplication.translate("QuattrocentoForm", u"Grid 2", None))
311
- self.gridOneCheckBox.setText(QCoreApplication.translate("QuattrocentoForm", u"Grid 1", None))
312
- self.connectionGroupBox.setTitle(QCoreApplication.translate("QuattrocentoForm", u"Connection parameters", None))
313
- self.label_4.setText(QCoreApplication.translate("QuattrocentoForm", u"IP", None))
314
- self.connectionIPLineEdit.setText(QCoreApplication.translate("QuattrocentoForm", u"169.254.1.10", None))
315
- self.label_5.setText(QCoreApplication.translate("QuattrocentoForm", u"Port", None))
316
- self.connectionPortLineEdit.setText(QCoreApplication.translate("QuattrocentoForm", u"23456", None))
317
- # retranslateUi
318
-
1
+ # -*- coding: utf-8 -*-
2
+
3
+ ################################################################################
4
+ ## Form generated from reading UI file 'otb_quattrocento_template_widget.ui'
5
+ ##
6
+ ## Created by: Qt User Interface Compiler version 6.7.0
7
+ ##
8
+ ## WARNING! All changes made in this file will be lost when recompiling UI file!
9
+ ################################################################################
10
+
11
+ from PySide6.QtCore import (QCoreApplication, QDate, QDateTime, QLocale,
12
+ QMetaObject, QObject, QPoint, QRect,
13
+ QSize, QTime, QUrl, Qt)
14
+ from PySide6.QtGui import (QBrush, QColor, QConicalGradient, QCursor,
15
+ QFont, QFontDatabase, QGradient, QIcon,
16
+ QImage, QKeySequence, QLinearGradient, QPainter,
17
+ QPalette, QPixmap, QRadialGradient, QTransform)
18
+ from PySide6.QtWidgets import (QApplication, QCheckBox, QComboBox, QGridLayout,
19
+ QGroupBox, QLabel, QLineEdit, QPushButton,
20
+ QSizePolicy, QSpacerItem, QWidget)
21
+
22
+ class Ui_QuattrocentoForm(object):
23
+ def setupUi(self, QuattrocentoForm):
24
+ if not QuattrocentoForm.objectName():
25
+ QuattrocentoForm.setObjectName(u"QuattrocentoForm")
26
+ QuattrocentoForm.resize(400, 638)
27
+ self.gridLayout_2 = QGridLayout(QuattrocentoForm)
28
+ self.gridLayout_2.setObjectName(u"gridLayout_2")
29
+ self.widget = QWidget(QuattrocentoForm)
30
+ self.widget.setObjectName(u"widget")
31
+ self.gridLayout_6 = QGridLayout(self.widget)
32
+ self.gridLayout_6.setObjectName(u"gridLayout_6")
33
+ self.inputGroupBox = QGroupBox(self.widget)
34
+ self.inputGroupBox.setObjectName(u"inputGroupBox")
35
+ self.gridLayout_4 = QGridLayout(self.inputGroupBox)
36
+ self.gridLayout_4.setObjectName(u"gridLayout_4")
37
+ self.label_3 = QLabel(self.inputGroupBox)
38
+ self.label_3.setObjectName(u"label_3")
39
+
40
+ self.gridLayout_4.addWidget(self.label_3, 0, 0, 1, 1)
41
+
42
+ self.inputDetectionModeComboBox = QComboBox(self.inputGroupBox)
43
+ self.inputDetectionModeComboBox.addItem("")
44
+ self.inputDetectionModeComboBox.addItem("")
45
+ self.inputDetectionModeComboBox.addItem("")
46
+ self.inputDetectionModeComboBox.setObjectName(u"inputDetectionModeComboBox")
47
+
48
+ self.gridLayout_4.addWidget(self.inputDetectionModeComboBox, 3, 1, 1, 1)
49
+
50
+ self.label_10 = QLabel(self.inputGroupBox)
51
+ self.label_10.setObjectName(u"label_10")
52
+
53
+ self.gridLayout_4.addWidget(self.label_10, 3, 0, 1, 1)
54
+
55
+ self.label_9 = QLabel(self.inputGroupBox)
56
+ self.label_9.setObjectName(u"label_9")
57
+
58
+ self.gridLayout_4.addWidget(self.label_9, 2, 0, 1, 1)
59
+
60
+ self.inputHighPassComboBox = QComboBox(self.inputGroupBox)
61
+ self.inputHighPassComboBox.addItem("")
62
+ self.inputHighPassComboBox.addItem("")
63
+ self.inputHighPassComboBox.addItem("")
64
+ self.inputHighPassComboBox.addItem("")
65
+ self.inputHighPassComboBox.setObjectName(u"inputHighPassComboBox")
66
+
67
+ self.gridLayout_4.addWidget(self.inputHighPassComboBox, 1, 1, 1, 1)
68
+
69
+ self.label_8 = QLabel(self.inputGroupBox)
70
+ self.label_8.setObjectName(u"label_8")
71
+
72
+ self.gridLayout_4.addWidget(self.label_8, 1, 0, 1, 1)
73
+
74
+ self.inputLowPassComboBox = QComboBox(self.inputGroupBox)
75
+ self.inputLowPassComboBox.addItem("")
76
+ self.inputLowPassComboBox.addItem("")
77
+ self.inputLowPassComboBox.addItem("")
78
+ self.inputLowPassComboBox.addItem("")
79
+ self.inputLowPassComboBox.setObjectName(u"inputLowPassComboBox")
80
+
81
+ self.gridLayout_4.addWidget(self.inputLowPassComboBox, 2, 1, 1, 1)
82
+
83
+ self.inputChannelComboBox = QComboBox(self.inputGroupBox)
84
+ self.inputChannelComboBox.addItem("")
85
+ self.inputChannelComboBox.addItem("")
86
+ self.inputChannelComboBox.addItem("")
87
+ self.inputChannelComboBox.addItem("")
88
+ self.inputChannelComboBox.addItem("")
89
+ self.inputChannelComboBox.addItem("")
90
+ self.inputChannelComboBox.setObjectName(u"inputChannelComboBox")
91
+ self.inputChannelComboBox.setEnabled(False)
92
+
93
+ self.gridLayout_4.addWidget(self.inputChannelComboBox, 0, 1, 1, 1)
94
+
95
+ self.inputConfigurationPushButton = QPushButton(self.inputGroupBox)
96
+ self.inputConfigurationPushButton.setObjectName(u"inputConfigurationPushButton")
97
+ self.inputConfigurationPushButton.setEnabled(False)
98
+
99
+ self.gridLayout_4.addWidget(self.inputConfigurationPushButton, 4, 1, 1, 1)
100
+
101
+
102
+ self.gridLayout_6.addWidget(self.inputGroupBox, 2, 0, 1, 1)
103
+
104
+ self.verticalSpacer = QSpacerItem(20, 40, QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Expanding)
105
+
106
+ self.gridLayout_6.addItem(self.verticalSpacer, 5, 0, 1, 1)
107
+
108
+ self.commandsGroupBox = QGroupBox(self.widget)
109
+ self.commandsGroupBox.setObjectName(u"commandsGroupBox")
110
+ self.gridLayout_3 = QGridLayout(self.commandsGroupBox)
111
+ self.gridLayout_3.setObjectName(u"gridLayout_3")
112
+ self.commandConnectionPushButton = QPushButton(self.commandsGroupBox)
113
+ self.commandConnectionPushButton.setObjectName(u"commandConnectionPushButton")
114
+
115
+ self.gridLayout_3.addWidget(self.commandConnectionPushButton, 0, 0, 1, 1)
116
+
117
+ self.commandConfigurationPushButton = QPushButton(self.commandsGroupBox)
118
+ self.commandConfigurationPushButton.setObjectName(u"commandConfigurationPushButton")
119
+
120
+ self.gridLayout_3.addWidget(self.commandConfigurationPushButton, 1, 0, 1, 1)
121
+
122
+ self.commandStreamPushButton = QPushButton(self.commandsGroupBox)
123
+ self.commandStreamPushButton.setObjectName(u"commandStreamPushButton")
124
+
125
+ self.gridLayout_3.addWidget(self.commandStreamPushButton, 2, 0, 1, 1)
126
+
127
+
128
+ self.gridLayout_6.addWidget(self.commandsGroupBox, 4, 0, 1, 1)
129
+
130
+ self.acquisitionGroupBox = QGroupBox(self.widget)
131
+ self.acquisitionGroupBox.setObjectName(u"acquisitionGroupBox")
132
+ self.gridLayout = QGridLayout(self.acquisitionGroupBox)
133
+ self.gridLayout.setObjectName(u"gridLayout")
134
+ self.acquisitionNumberOfChannelsComboBox = QComboBox(self.acquisitionGroupBox)
135
+ self.acquisitionNumberOfChannelsComboBox.addItem("")
136
+ self.acquisitionNumberOfChannelsComboBox.addItem("")
137
+ self.acquisitionNumberOfChannelsComboBox.addItem("")
138
+ self.acquisitionNumberOfChannelsComboBox.addItem("")
139
+ self.acquisitionNumberOfChannelsComboBox.setObjectName(u"acquisitionNumberOfChannelsComboBox")
140
+
141
+ self.gridLayout.addWidget(self.acquisitionNumberOfChannelsComboBox, 1, 1, 1, 1)
142
+
143
+ self.acquisitionSamplingFrequencyComboBox = QComboBox(self.acquisitionGroupBox)
144
+ self.acquisitionSamplingFrequencyComboBox.addItem("")
145
+ self.acquisitionSamplingFrequencyComboBox.addItem("")
146
+ self.acquisitionSamplingFrequencyComboBox.addItem("")
147
+ self.acquisitionSamplingFrequencyComboBox.addItem("")
148
+ self.acquisitionSamplingFrequencyComboBox.setObjectName(u"acquisitionSamplingFrequencyComboBox")
149
+
150
+ self.gridLayout.addWidget(self.acquisitionSamplingFrequencyComboBox, 0, 1, 1, 1)
151
+
152
+ self.label_2 = QLabel(self.acquisitionGroupBox)
153
+ self.label_2.setObjectName(u"label_2")
154
+
155
+ self.gridLayout.addWidget(self.label_2, 1, 0, 1, 1)
156
+
157
+ self.label = QLabel(self.acquisitionGroupBox)
158
+ self.label.setObjectName(u"label")
159
+
160
+ self.gridLayout.addWidget(self.label, 0, 0, 1, 1)
161
+
162
+ self.acquisitionDecimatorCheckBox = QCheckBox(self.acquisitionGroupBox)
163
+ self.acquisitionDecimatorCheckBox.setObjectName(u"acquisitionDecimatorCheckBox")
164
+ self.acquisitionDecimatorCheckBox.setChecked(True)
165
+
166
+ self.gridLayout.addWidget(self.acquisitionDecimatorCheckBox, 2, 0, 1, 1)
167
+
168
+ self.acquisitionRecordingCheckBox = QCheckBox(self.acquisitionGroupBox)
169
+ self.acquisitionRecordingCheckBox.setObjectName(u"acquisitionRecordingCheckBox")
170
+ self.acquisitionRecordingCheckBox.setEnabled(False)
171
+
172
+ self.gridLayout.addWidget(self.acquisitionRecordingCheckBox, 2, 1, 1, 1)
173
+
174
+
175
+ self.gridLayout_6.addWidget(self.acquisitionGroupBox, 1, 0, 1, 1)
176
+
177
+ self.gridSelectionGroupBox = QGroupBox(self.widget)
178
+ self.gridSelectionGroupBox.setObjectName(u"gridSelectionGroupBox")
179
+ self.gridLayout_5 = QGridLayout(self.gridSelectionGroupBox)
180
+ self.gridLayout_5.setObjectName(u"gridLayout_5")
181
+ self.gridFourCheckBox = QCheckBox(self.gridSelectionGroupBox)
182
+ self.gridFourCheckBox.setObjectName(u"gridFourCheckBox")
183
+
184
+ self.gridLayout_5.addWidget(self.gridFourCheckBox, 1, 1, 1, 1)
185
+
186
+ self.gridThreeCheckBox = QCheckBox(self.gridSelectionGroupBox)
187
+ self.gridThreeCheckBox.setObjectName(u"gridThreeCheckBox")
188
+
189
+ self.gridLayout_5.addWidget(self.gridThreeCheckBox, 1, 0, 1, 1)
190
+
191
+ self.gridFiveCheckBox = QCheckBox(self.gridSelectionGroupBox)
192
+ self.gridFiveCheckBox.setObjectName(u"gridFiveCheckBox")
193
+
194
+ self.gridLayout_5.addWidget(self.gridFiveCheckBox, 1, 2, 1, 1)
195
+
196
+ self.gridSixCheckBox = QCheckBox(self.gridSelectionGroupBox)
197
+ self.gridSixCheckBox.setObjectName(u"gridSixCheckBox")
198
+
199
+ self.gridLayout_5.addWidget(self.gridSixCheckBox, 1, 3, 1, 1)
200
+
201
+ self.gridTwoCheckBox = QCheckBox(self.gridSelectionGroupBox)
202
+ self.gridTwoCheckBox.setObjectName(u"gridTwoCheckBox")
203
+ self.gridTwoCheckBox.setLayoutDirection(Qt.LayoutDirection.LeftToRight)
204
+
205
+ self.gridLayout_5.addWidget(self.gridTwoCheckBox, 0, 3, 1, 1)
206
+
207
+ self.gridOneCheckBox = QCheckBox(self.gridSelectionGroupBox)
208
+ self.gridOneCheckBox.setObjectName(u"gridOneCheckBox")
209
+
210
+ self.gridLayout_5.addWidget(self.gridOneCheckBox, 0, 0, 1, 1)
211
+
212
+
213
+ self.gridLayout_6.addWidget(self.gridSelectionGroupBox, 3, 0, 1, 1)
214
+
215
+ self.connectionGroupBox = QGroupBox(self.widget)
216
+ self.connectionGroupBox.setObjectName(u"connectionGroupBox")
217
+ self.gridLayout_7 = QGridLayout(self.connectionGroupBox)
218
+ self.gridLayout_7.setObjectName(u"gridLayout_7")
219
+ self.label_4 = QLabel(self.connectionGroupBox)
220
+ self.label_4.setObjectName(u"label_4")
221
+
222
+ self.gridLayout_7.addWidget(self.label_4, 0, 0, 1, 1)
223
+
224
+ self.connectionIPLineEdit = QLineEdit(self.connectionGroupBox)
225
+ self.connectionIPLineEdit.setObjectName(u"connectionIPLineEdit")
226
+
227
+ self.gridLayout_7.addWidget(self.connectionIPLineEdit, 0, 1, 1, 1)
228
+
229
+ self.label_5 = QLabel(self.connectionGroupBox)
230
+ self.label_5.setObjectName(u"label_5")
231
+
232
+ self.gridLayout_7.addWidget(self.label_5, 1, 0, 1, 1)
233
+
234
+ self.connectionPortLineEdit = QLineEdit(self.connectionGroupBox)
235
+ self.connectionPortLineEdit.setObjectName(u"connectionPortLineEdit")
236
+
237
+ self.gridLayout_7.addWidget(self.connectionPortLineEdit, 1, 1, 1, 1)
238
+
239
+
240
+ self.gridLayout_6.addWidget(self.connectionGroupBox, 0, 0, 1, 1)
241
+
242
+
243
+ self.gridLayout_2.addWidget(self.widget, 0, 0, 1, 1)
244
+
245
+
246
+ self.retranslateUi(QuattrocentoForm)
247
+
248
+ self.inputHighPassComboBox.setCurrentIndex(1)
249
+ self.inputLowPassComboBox.setCurrentIndex(1)
250
+ self.acquisitionNumberOfChannelsComboBox.setCurrentIndex(3)
251
+ self.acquisitionSamplingFrequencyComboBox.setCurrentIndex(1)
252
+
253
+
254
+ QMetaObject.connectSlotsByName(QuattrocentoForm)
255
+ # setupUi
256
+
257
+ def retranslateUi(self, QuattrocentoForm):
258
+ QuattrocentoForm.setWindowTitle(QCoreApplication.translate("QuattrocentoForm", u"Form", None))
259
+ self.inputGroupBox.setTitle(QCoreApplication.translate("QuattrocentoForm", u"Input Parameters", None))
260
+ self.label_3.setText(QCoreApplication.translate("QuattrocentoForm", u"Select Channel", None))
261
+ self.inputDetectionModeComboBox.setItemText(0, QCoreApplication.translate("QuattrocentoForm", u"MONOPOLAR", None))
262
+ self.inputDetectionModeComboBox.setItemText(1, QCoreApplication.translate("QuattrocentoForm", u"DIFFERENTIAL", None))
263
+ self.inputDetectionModeComboBox.setItemText(2, QCoreApplication.translate("QuattrocentoForm", u"BIPOLAR", None))
264
+
265
+ self.label_10.setText(QCoreApplication.translate("QuattrocentoForm", u"Mode", None))
266
+ self.label_9.setText(QCoreApplication.translate("QuattrocentoForm", u"Low Pass", None))
267
+ self.inputHighPassComboBox.setItemText(0, QCoreApplication.translate("QuattrocentoForm", u"0.7 Hz", None))
268
+ self.inputHighPassComboBox.setItemText(1, QCoreApplication.translate("QuattrocentoForm", u"10 Hz", None))
269
+ self.inputHighPassComboBox.setItemText(2, QCoreApplication.translate("QuattrocentoForm", u"100 Hz", None))
270
+ self.inputHighPassComboBox.setItemText(3, QCoreApplication.translate("QuattrocentoForm", u"200 Hz", None))
271
+
272
+ self.label_8.setText(QCoreApplication.translate("QuattrocentoForm", u"High Pass", None))
273
+ self.inputLowPassComboBox.setItemText(0, QCoreApplication.translate("QuattrocentoForm", u"130 Hz", None))
274
+ self.inputLowPassComboBox.setItemText(1, QCoreApplication.translate("QuattrocentoForm", u"500 Hz", None))
275
+ self.inputLowPassComboBox.setItemText(2, QCoreApplication.translate("QuattrocentoForm", u"900 Hz", None))
276
+ self.inputLowPassComboBox.setItemText(3, QCoreApplication.translate("QuattrocentoForm", u"4400 Hz", None))
277
+
278
+ self.inputChannelComboBox.setItemText(0, QCoreApplication.translate("QuattrocentoForm", u"IN1-4", None))
279
+ self.inputChannelComboBox.setItemText(1, QCoreApplication.translate("QuattrocentoForm", u"IN5-8", None))
280
+ self.inputChannelComboBox.setItemText(2, QCoreApplication.translate("QuattrocentoForm", u"MULTIPLE_IN_1", None))
281
+ self.inputChannelComboBox.setItemText(3, QCoreApplication.translate("QuattrocentoForm", u"MULTIPLE_IN_2", None))
282
+ self.inputChannelComboBox.setItemText(4, QCoreApplication.translate("QuattrocentoForm", u"MULTIPLE_IN_3", None))
283
+ self.inputChannelComboBox.setItemText(5, QCoreApplication.translate("QuattrocentoForm", u"MULTIPLE_IN_4", None))
284
+
285
+ self.inputConfigurationPushButton.setText(QCoreApplication.translate("QuattrocentoForm", u"Configure Input", None))
286
+ self.commandsGroupBox.setTitle(QCoreApplication.translate("QuattrocentoForm", u"Commands", None))
287
+ self.commandConnectionPushButton.setText(QCoreApplication.translate("QuattrocentoForm", u"Connect", None))
288
+ self.commandConfigurationPushButton.setText(QCoreApplication.translate("QuattrocentoForm", u"Configure", None))
289
+ self.commandStreamPushButton.setText(QCoreApplication.translate("QuattrocentoForm", u"Stream", None))
290
+ self.acquisitionGroupBox.setTitle(QCoreApplication.translate("QuattrocentoForm", u"Acquisiton Parameters", None))
291
+ self.acquisitionNumberOfChannelsComboBox.setItemText(0, QCoreApplication.translate("QuattrocentoForm", u"120", None))
292
+ self.acquisitionNumberOfChannelsComboBox.setItemText(1, QCoreApplication.translate("QuattrocentoForm", u"216", None))
293
+ self.acquisitionNumberOfChannelsComboBox.setItemText(2, QCoreApplication.translate("QuattrocentoForm", u"312", None))
294
+ self.acquisitionNumberOfChannelsComboBox.setItemText(3, QCoreApplication.translate("QuattrocentoForm", u"408", None))
295
+
296
+ self.acquisitionSamplingFrequencyComboBox.setItemText(0, QCoreApplication.translate("QuattrocentoForm", u"512", None))
297
+ self.acquisitionSamplingFrequencyComboBox.setItemText(1, QCoreApplication.translate("QuattrocentoForm", u"2048", None))
298
+ self.acquisitionSamplingFrequencyComboBox.setItemText(2, QCoreApplication.translate("QuattrocentoForm", u"5120", None))
299
+ self.acquisitionSamplingFrequencyComboBox.setItemText(3, QCoreApplication.translate("QuattrocentoForm", u"10240", None))
300
+
301
+ self.label_2.setText(QCoreApplication.translate("QuattrocentoForm", u"Number of Channels", None))
302
+ self.label.setText(QCoreApplication.translate("QuattrocentoForm", u"Sampling Frequency", None))
303
+ self.acquisitionDecimatorCheckBox.setText(QCoreApplication.translate("QuattrocentoForm", u"Decimator", None))
304
+ self.acquisitionRecordingCheckBox.setText(QCoreApplication.translate("QuattrocentoForm", u"Recording", None))
305
+ self.gridSelectionGroupBox.setTitle(QCoreApplication.translate("QuattrocentoForm", u"Grid Selection", None))
306
+ self.gridFourCheckBox.setText(QCoreApplication.translate("QuattrocentoForm", u"Grid 4", None))
307
+ self.gridThreeCheckBox.setText(QCoreApplication.translate("QuattrocentoForm", u"Grid 3", None))
308
+ self.gridFiveCheckBox.setText(QCoreApplication.translate("QuattrocentoForm", u"Grid 5", None))
309
+ self.gridSixCheckBox.setText(QCoreApplication.translate("QuattrocentoForm", u"Grid 6", None))
310
+ self.gridTwoCheckBox.setText(QCoreApplication.translate("QuattrocentoForm", u"Grid 2", None))
311
+ self.gridOneCheckBox.setText(QCoreApplication.translate("QuattrocentoForm", u"Grid 1", None))
312
+ self.connectionGroupBox.setTitle(QCoreApplication.translate("QuattrocentoForm", u"Connection parameters", None))
313
+ self.label_4.setText(QCoreApplication.translate("QuattrocentoForm", u"IP", None))
314
+ self.connectionIPLineEdit.setText(QCoreApplication.translate("QuattrocentoForm", u"169.254.1.10", None))
315
+ self.label_5.setText(QCoreApplication.translate("QuattrocentoForm", u"Port", None))
316
+ self.connectionPortLineEdit.setText(QCoreApplication.translate("QuattrocentoForm", u"23456", None))
317
+ # retranslateUi
318
+