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.
- biosignal_device_interface/constants/devices/__init__.py +3 -3
- biosignal_device_interface/constants/devices/core/base_device_constants.py +61 -61
- biosignal_device_interface/constants/devices/otb/otb_muovi_constants.py +129 -129
- biosignal_device_interface/constants/devices/otb/otb_quattrocento_constants.py +313 -313
- biosignal_device_interface/constants/devices/otb/otb_quattrocento_light_constants.py +59 -59
- biosignal_device_interface/constants/devices/otb/otb_syncstation_constants.py +233 -233
- biosignal_device_interface/constants/plots/color_palette.py +59 -59
- biosignal_device_interface/devices/__init__.py +17 -17
- biosignal_device_interface/devices/core/base_device.py +424 -412
- biosignal_device_interface/devices/otb/__init__.py +29 -29
- biosignal_device_interface/devices/otb/otb_muovi.py +290 -290
- biosignal_device_interface/devices/otb/otb_quattrocento.py +332 -332
- biosignal_device_interface/devices/otb/otb_quattrocento_light.py +210 -210
- biosignal_device_interface/devices/otb/otb_syncstation.py +407 -407
- biosignal_device_interface/gui/device_template_widgets/all_devices_widget.py +51 -51
- biosignal_device_interface/gui/device_template_widgets/core/base_device_widget.py +130 -130
- biosignal_device_interface/gui/device_template_widgets/core/base_multiple_devices_widget.py +108 -108
- biosignal_device_interface/gui/device_template_widgets/otb/otb_devices_widget.py +44 -44
- biosignal_device_interface/gui/device_template_widgets/otb/otb_muovi_plus_widget.py +158 -158
- biosignal_device_interface/gui/device_template_widgets/otb/otb_muovi_widget.py +158 -158
- biosignal_device_interface/gui/device_template_widgets/otb/otb_quattrocento_light_widget.py +174 -174
- biosignal_device_interface/gui/device_template_widgets/otb/otb_quattrocento_widget.py +260 -260
- biosignal_device_interface/gui/device_template_widgets/otb/otb_syncstation_widget.py +262 -262
- biosignal_device_interface/gui/plot_widgets/biosignal_plot_widget.py +500 -501
- biosignal_device_interface/gui/ui/devices_template_widget.ui +38 -38
- biosignal_device_interface/gui/ui/otb_muovi_plus_template_widget.ui +171 -171
- biosignal_device_interface/gui/ui/otb_muovi_template_widget.ui +171 -171
- biosignal_device_interface/gui/ui/otb_quattrocento_light_template_widget.ui +266 -266
- biosignal_device_interface/gui/ui/otb_quattrocento_template_widget.ui +415 -415
- biosignal_device_interface/gui/ui/otb_syncstation_template_widget.ui +732 -732
- biosignal_device_interface/gui/ui_compiled/devices_template_widget.py +56 -56
- biosignal_device_interface/gui/ui_compiled/otb_muovi_plus_template_widget.py +153 -153
- biosignal_device_interface/gui/ui_compiled/otb_muovi_template_widget.py +153 -153
- biosignal_device_interface/gui/ui_compiled/otb_quattrocento_light_template_widget.py +217 -217
- biosignal_device_interface/gui/ui_compiled/otb_quattrocento_template_widget.py +318 -318
- biosignal_device_interface/gui/ui_compiled/otb_syncstation_template_widget.py +495 -495
- {biosignal_device_interface-0.2.1a1.dist-info → biosignal_device_interface-0.2.2.dist-info}/METADATA +3 -2
- biosignal_device_interface-0.2.2.dist-info/RECORD +46 -0
- {biosignal_device_interface-0.2.1a1.dist-info → biosignal_device_interface-0.2.2.dist-info}/WHEEL +1 -1
- {biosignal_device_interface-0.2.1a1.dist-info → biosignal_device_interface-0.2.2.dist-info/licenses}/LICENSE +675 -675
- biosignal_device_interface-0.2.1a1.dist-info/RECORD +0 -46
|
@@ -1,56 +1,56 @@
|
|
|
1
|
-
# -*- coding: utf-8 -*-
|
|
2
|
-
|
|
3
|
-
################################################################################
|
|
4
|
-
## Form generated from reading UI file 'devices_template_widget.ui'
|
|
5
|
-
##
|
|
6
|
-
## Created by: Qt User Interface Compiler version 6.6.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, QComboBox, QGridLayout, QLabel,
|
|
19
|
-
QSizePolicy, QStackedWidget, QWidget)
|
|
20
|
-
|
|
21
|
-
class Ui_DeviceWidgetForm(object):
|
|
22
|
-
def setupUi(self, DeviceWidgetForm):
|
|
23
|
-
if not DeviceWidgetForm.objectName():
|
|
24
|
-
DeviceWidgetForm.setObjectName(u"DeviceWidgetForm")
|
|
25
|
-
DeviceWidgetForm.resize(400, 300)
|
|
26
|
-
self.gridLayout = QGridLayout(DeviceWidgetForm)
|
|
27
|
-
self.gridLayout.setObjectName(u"gridLayout")
|
|
28
|
-
self.label = QLabel(DeviceWidgetForm)
|
|
29
|
-
self.label.setObjectName(u"label")
|
|
30
|
-
|
|
31
|
-
self.gridLayout.addWidget(self.label, 0, 0, 1, 1)
|
|
32
|
-
|
|
33
|
-
self.deviceSelectionComboBox = QComboBox(DeviceWidgetForm)
|
|
34
|
-
self.deviceSelectionComboBox.setObjectName(u"deviceSelectionComboBox")
|
|
35
|
-
|
|
36
|
-
self.gridLayout.addWidget(self.deviceSelectionComboBox, 0, 1, 1, 1)
|
|
37
|
-
|
|
38
|
-
self.deviceStackedWidget = QStackedWidget(DeviceWidgetForm)
|
|
39
|
-
self.deviceStackedWidget.setObjectName(u"deviceStackedWidget")
|
|
40
|
-
|
|
41
|
-
self.gridLayout.addWidget(self.deviceStackedWidget, 1, 0, 1, 2)
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
self.retranslateUi(DeviceWidgetForm)
|
|
45
|
-
|
|
46
|
-
self.deviceStackedWidget.setCurrentIndex(-1)
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
QMetaObject.connectSlotsByName(DeviceWidgetForm)
|
|
50
|
-
# setupUi
|
|
51
|
-
|
|
52
|
-
def retranslateUi(self, DeviceWidgetForm):
|
|
53
|
-
DeviceWidgetForm.setWindowTitle(QCoreApplication.translate("DeviceWidgetForm", u"Form", None))
|
|
54
|
-
self.label.setText(QCoreApplication.translate("DeviceWidgetForm", u"Device", None))
|
|
55
|
-
# retranslateUi
|
|
56
|
-
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
|
|
3
|
+
################################################################################
|
|
4
|
+
## Form generated from reading UI file 'devices_template_widget.ui'
|
|
5
|
+
##
|
|
6
|
+
## Created by: Qt User Interface Compiler version 6.6.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, QComboBox, QGridLayout, QLabel,
|
|
19
|
+
QSizePolicy, QStackedWidget, QWidget)
|
|
20
|
+
|
|
21
|
+
class Ui_DeviceWidgetForm(object):
|
|
22
|
+
def setupUi(self, DeviceWidgetForm):
|
|
23
|
+
if not DeviceWidgetForm.objectName():
|
|
24
|
+
DeviceWidgetForm.setObjectName(u"DeviceWidgetForm")
|
|
25
|
+
DeviceWidgetForm.resize(400, 300)
|
|
26
|
+
self.gridLayout = QGridLayout(DeviceWidgetForm)
|
|
27
|
+
self.gridLayout.setObjectName(u"gridLayout")
|
|
28
|
+
self.label = QLabel(DeviceWidgetForm)
|
|
29
|
+
self.label.setObjectName(u"label")
|
|
30
|
+
|
|
31
|
+
self.gridLayout.addWidget(self.label, 0, 0, 1, 1)
|
|
32
|
+
|
|
33
|
+
self.deviceSelectionComboBox = QComboBox(DeviceWidgetForm)
|
|
34
|
+
self.deviceSelectionComboBox.setObjectName(u"deviceSelectionComboBox")
|
|
35
|
+
|
|
36
|
+
self.gridLayout.addWidget(self.deviceSelectionComboBox, 0, 1, 1, 1)
|
|
37
|
+
|
|
38
|
+
self.deviceStackedWidget = QStackedWidget(DeviceWidgetForm)
|
|
39
|
+
self.deviceStackedWidget.setObjectName(u"deviceStackedWidget")
|
|
40
|
+
|
|
41
|
+
self.gridLayout.addWidget(self.deviceStackedWidget, 1, 0, 1, 2)
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
self.retranslateUi(DeviceWidgetForm)
|
|
45
|
+
|
|
46
|
+
self.deviceStackedWidget.setCurrentIndex(-1)
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
QMetaObject.connectSlotsByName(DeviceWidgetForm)
|
|
50
|
+
# setupUi
|
|
51
|
+
|
|
52
|
+
def retranslateUi(self, DeviceWidgetForm):
|
|
53
|
+
DeviceWidgetForm.setWindowTitle(QCoreApplication.translate("DeviceWidgetForm", u"Form", None))
|
|
54
|
+
self.label.setText(QCoreApplication.translate("DeviceWidgetForm", u"Device", None))
|
|
55
|
+
# retranslateUi
|
|
56
|
+
|
|
@@ -1,153 +1,153 @@
|
|
|
1
|
-
# -*- coding: utf-8 -*-
|
|
2
|
-
|
|
3
|
-
################################################################################
|
|
4
|
-
## Form generated from reading UI file 'muovi_plus_template_widget.ui'
|
|
5
|
-
##
|
|
6
|
-
## Created by: Qt User Interface Compiler version 6.6.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, QComboBox, QGridLayout, QGroupBox,
|
|
19
|
-
QLabel, QPushButton, QSizePolicy, QSpacerItem,
|
|
20
|
-
QWidget)
|
|
21
|
-
|
|
22
|
-
class Ui_MuoviPlusForm(object):
|
|
23
|
-
def setupUi(self, MuoviPlusForm):
|
|
24
|
-
if not MuoviPlusForm.objectName():
|
|
25
|
-
MuoviPlusForm.setObjectName(u"MuoviPlusForm")
|
|
26
|
-
MuoviPlusForm.resize(400, 324)
|
|
27
|
-
self.gridLayout = QGridLayout(MuoviPlusForm)
|
|
28
|
-
self.gridLayout.setObjectName(u"gridLayout")
|
|
29
|
-
self.verticalSpacer = QSpacerItem(20, 86, QSizePolicy.Minimum, QSizePolicy.Expanding)
|
|
30
|
-
|
|
31
|
-
self.gridLayout.addItem(self.verticalSpacer, 4, 0, 1, 1)
|
|
32
|
-
|
|
33
|
-
self.connectionGroupBox = QGroupBox(MuoviPlusForm)
|
|
34
|
-
self.connectionGroupBox.setObjectName(u"connectionGroupBox")
|
|
35
|
-
self.gridLayout_7 = QGridLayout(self.connectionGroupBox)
|
|
36
|
-
self.gridLayout_7.setObjectName(u"gridLayout_7")
|
|
37
|
-
self.connectionPortLabel = QLabel(self.connectionGroupBox)
|
|
38
|
-
self.connectionPortLabel.setObjectName(u"connectionPortLabel")
|
|
39
|
-
|
|
40
|
-
self.gridLayout_7.addWidget(self.connectionPortLabel, 1, 1, 1, 1)
|
|
41
|
-
|
|
42
|
-
self.label_7 = QLabel(self.connectionGroupBox)
|
|
43
|
-
self.label_7.setObjectName(u"label_7")
|
|
44
|
-
|
|
45
|
-
self.gridLayout_7.addWidget(self.label_7, 1, 0, 1, 1)
|
|
46
|
-
|
|
47
|
-
self.label_6 = QLabel(self.connectionGroupBox)
|
|
48
|
-
self.label_6.setObjectName(u"label_6")
|
|
49
|
-
|
|
50
|
-
self.gridLayout_7.addWidget(self.label_6, 0, 0, 1, 1)
|
|
51
|
-
|
|
52
|
-
self.connectionUpdatePushButton = QPushButton(self.connectionGroupBox)
|
|
53
|
-
self.connectionUpdatePushButton.setObjectName(u"connectionUpdatePushButton")
|
|
54
|
-
|
|
55
|
-
self.gridLayout_7.addWidget(self.connectionUpdatePushButton, 0, 2, 1, 1)
|
|
56
|
-
|
|
57
|
-
self.connectionIPComboBox = QComboBox(self.connectionGroupBox)
|
|
58
|
-
self.connectionIPComboBox.setObjectName(u"connectionIPComboBox")
|
|
59
|
-
|
|
60
|
-
self.gridLayout_7.addWidget(self.connectionIPComboBox, 0, 1, 1, 1)
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
self.gridLayout.addWidget(self.connectionGroupBox, 0, 0, 1, 2)
|
|
64
|
-
|
|
65
|
-
self.commandsGroupBox = QGroupBox(MuoviPlusForm)
|
|
66
|
-
self.commandsGroupBox.setObjectName(u"commandsGroupBox")
|
|
67
|
-
self.gridLayout_3 = QGridLayout(self.commandsGroupBox)
|
|
68
|
-
self.gridLayout_3.setObjectName(u"gridLayout_3")
|
|
69
|
-
self.commandConnectionPushButton = QPushButton(self.commandsGroupBox)
|
|
70
|
-
self.commandConnectionPushButton.setObjectName(u"commandConnectionPushButton")
|
|
71
|
-
|
|
72
|
-
self.gridLayout_3.addWidget(self.commandConnectionPushButton, 0, 0, 1, 1)
|
|
73
|
-
|
|
74
|
-
self.commandConfigurationPushButton = QPushButton(self.commandsGroupBox)
|
|
75
|
-
self.commandConfigurationPushButton.setObjectName(u"commandConfigurationPushButton")
|
|
76
|
-
|
|
77
|
-
self.gridLayout_3.addWidget(self.commandConfigurationPushButton, 1, 0, 1, 1)
|
|
78
|
-
|
|
79
|
-
self.commandStreamPushButton = QPushButton(self.commandsGroupBox)
|
|
80
|
-
self.commandStreamPushButton.setObjectName(u"commandStreamPushButton")
|
|
81
|
-
|
|
82
|
-
self.gridLayout_3.addWidget(self.commandStreamPushButton, 2, 0, 1, 1)
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
self.gridLayout.addWidget(self.commandsGroupBox, 2, 0, 2, 2)
|
|
86
|
-
|
|
87
|
-
self.inputGroupBox = QGroupBox(MuoviPlusForm)
|
|
88
|
-
self.inputGroupBox.setObjectName(u"inputGroupBox")
|
|
89
|
-
self.gridLayout_4 = QGridLayout(self.inputGroupBox)
|
|
90
|
-
self.gridLayout_4.setObjectName(u"gridLayout_4")
|
|
91
|
-
self.inputDetectionModeComboBox = QComboBox(self.inputGroupBox)
|
|
92
|
-
self.inputDetectionModeComboBox.addItem("")
|
|
93
|
-
self.inputDetectionModeComboBox.addItem("")
|
|
94
|
-
self.inputDetectionModeComboBox.addItem("")
|
|
95
|
-
self.inputDetectionModeComboBox.addItem("")
|
|
96
|
-
self.inputDetectionModeComboBox.setObjectName(u"inputDetectionModeComboBox")
|
|
97
|
-
|
|
98
|
-
self.gridLayout_4.addWidget(self.inputDetectionModeComboBox, 1, 1, 1, 1)
|
|
99
|
-
|
|
100
|
-
self.label_10 = QLabel(self.inputGroupBox)
|
|
101
|
-
self.label_10.setObjectName(u"label_10")
|
|
102
|
-
|
|
103
|
-
self.gridLayout_4.addWidget(self.label_10, 1, 0, 1, 1)
|
|
104
|
-
|
|
105
|
-
self.label = QLabel(self.inputGroupBox)
|
|
106
|
-
self.label.setObjectName(u"label")
|
|
107
|
-
|
|
108
|
-
self.gridLayout_4.addWidget(self.label, 0, 0, 1, 1)
|
|
109
|
-
|
|
110
|
-
self.inputWorkingModeComboBox = QComboBox(self.inputGroupBox)
|
|
111
|
-
self.inputWorkingModeComboBox.addItem("")
|
|
112
|
-
self.inputWorkingModeComboBox.addItem("")
|
|
113
|
-
self.inputWorkingModeComboBox.setObjectName(u"inputWorkingModeComboBox")
|
|
114
|
-
|
|
115
|
-
self.gridLayout_4.addWidget(self.inputWorkingModeComboBox, 0, 1, 1, 1)
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
self.gridLayout.addWidget(self.inputGroupBox, 1, 0, 1, 2)
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
self.retranslateUi(MuoviPlusForm)
|
|
122
|
-
|
|
123
|
-
self.inputDetectionModeComboBox.setCurrentIndex(1)
|
|
124
|
-
self.inputWorkingModeComboBox.setCurrentIndex(1)
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
QMetaObject.connectSlotsByName(MuoviPlusForm)
|
|
128
|
-
# setupUi
|
|
129
|
-
|
|
130
|
-
def retranslateUi(self, MuoviPlusForm):
|
|
131
|
-
MuoviPlusForm.setWindowTitle(QCoreApplication.translate("MuoviPlusForm", u"MuoviPlusForm", None))
|
|
132
|
-
self.connectionGroupBox.setTitle(QCoreApplication.translate("MuoviPlusForm", u"Connection parameters", None))
|
|
133
|
-
self.connectionPortLabel.setText(QCoreApplication.translate("MuoviPlusForm", u"54321", None))
|
|
134
|
-
self.label_7.setText(QCoreApplication.translate("MuoviPlusForm", u"Port", None))
|
|
135
|
-
self.label_6.setText(QCoreApplication.translate("MuoviPlusForm", u"IP", None))
|
|
136
|
-
self.connectionUpdatePushButton.setText(QCoreApplication.translate("MuoviPlusForm", u"Update", None))
|
|
137
|
-
self.commandsGroupBox.setTitle(QCoreApplication.translate("MuoviPlusForm", u"Commands", None))
|
|
138
|
-
self.commandConnectionPushButton.setText(QCoreApplication.translate("MuoviPlusForm", u"Connect", None))
|
|
139
|
-
self.commandConfigurationPushButton.setText(QCoreApplication.translate("MuoviPlusForm", u"Configure", None))
|
|
140
|
-
self.commandStreamPushButton.setText(QCoreApplication.translate("MuoviPlusForm", u"Stream", None))
|
|
141
|
-
self.inputGroupBox.setTitle(QCoreApplication.translate("MuoviPlusForm", u"Input Parameters", None))
|
|
142
|
-
self.inputDetectionModeComboBox.setItemText(0, QCoreApplication.translate("MuoviPlusForm", u"Monopolar - High Gain", None))
|
|
143
|
-
self.inputDetectionModeComboBox.setItemText(1, QCoreApplication.translate("MuoviPlusForm", u"Monopolar - Low Gain", None))
|
|
144
|
-
self.inputDetectionModeComboBox.setItemText(2, QCoreApplication.translate("MuoviPlusForm", u"Impedance Check", None))
|
|
145
|
-
self.inputDetectionModeComboBox.setItemText(3, QCoreApplication.translate("MuoviPlusForm", u"Test", None))
|
|
146
|
-
|
|
147
|
-
self.label_10.setText(QCoreApplication.translate("MuoviPlusForm", u"Detection Mode", None))
|
|
148
|
-
self.label.setText(QCoreApplication.translate("MuoviPlusForm", u"Working Mode", None))
|
|
149
|
-
self.inputWorkingModeComboBox.setItemText(0, QCoreApplication.translate("MuoviPlusForm", u"EEG", None))
|
|
150
|
-
self.inputWorkingModeComboBox.setItemText(1, QCoreApplication.translate("MuoviPlusForm", u"EMG", None))
|
|
151
|
-
|
|
152
|
-
# retranslateUi
|
|
153
|
-
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
|
|
3
|
+
################################################################################
|
|
4
|
+
## Form generated from reading UI file 'muovi_plus_template_widget.ui'
|
|
5
|
+
##
|
|
6
|
+
## Created by: Qt User Interface Compiler version 6.6.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, QComboBox, QGridLayout, QGroupBox,
|
|
19
|
+
QLabel, QPushButton, QSizePolicy, QSpacerItem,
|
|
20
|
+
QWidget)
|
|
21
|
+
|
|
22
|
+
class Ui_MuoviPlusForm(object):
|
|
23
|
+
def setupUi(self, MuoviPlusForm):
|
|
24
|
+
if not MuoviPlusForm.objectName():
|
|
25
|
+
MuoviPlusForm.setObjectName(u"MuoviPlusForm")
|
|
26
|
+
MuoviPlusForm.resize(400, 324)
|
|
27
|
+
self.gridLayout = QGridLayout(MuoviPlusForm)
|
|
28
|
+
self.gridLayout.setObjectName(u"gridLayout")
|
|
29
|
+
self.verticalSpacer = QSpacerItem(20, 86, QSizePolicy.Minimum, QSizePolicy.Expanding)
|
|
30
|
+
|
|
31
|
+
self.gridLayout.addItem(self.verticalSpacer, 4, 0, 1, 1)
|
|
32
|
+
|
|
33
|
+
self.connectionGroupBox = QGroupBox(MuoviPlusForm)
|
|
34
|
+
self.connectionGroupBox.setObjectName(u"connectionGroupBox")
|
|
35
|
+
self.gridLayout_7 = QGridLayout(self.connectionGroupBox)
|
|
36
|
+
self.gridLayout_7.setObjectName(u"gridLayout_7")
|
|
37
|
+
self.connectionPortLabel = QLabel(self.connectionGroupBox)
|
|
38
|
+
self.connectionPortLabel.setObjectName(u"connectionPortLabel")
|
|
39
|
+
|
|
40
|
+
self.gridLayout_7.addWidget(self.connectionPortLabel, 1, 1, 1, 1)
|
|
41
|
+
|
|
42
|
+
self.label_7 = QLabel(self.connectionGroupBox)
|
|
43
|
+
self.label_7.setObjectName(u"label_7")
|
|
44
|
+
|
|
45
|
+
self.gridLayout_7.addWidget(self.label_7, 1, 0, 1, 1)
|
|
46
|
+
|
|
47
|
+
self.label_6 = QLabel(self.connectionGroupBox)
|
|
48
|
+
self.label_6.setObjectName(u"label_6")
|
|
49
|
+
|
|
50
|
+
self.gridLayout_7.addWidget(self.label_6, 0, 0, 1, 1)
|
|
51
|
+
|
|
52
|
+
self.connectionUpdatePushButton = QPushButton(self.connectionGroupBox)
|
|
53
|
+
self.connectionUpdatePushButton.setObjectName(u"connectionUpdatePushButton")
|
|
54
|
+
|
|
55
|
+
self.gridLayout_7.addWidget(self.connectionUpdatePushButton, 0, 2, 1, 1)
|
|
56
|
+
|
|
57
|
+
self.connectionIPComboBox = QComboBox(self.connectionGroupBox)
|
|
58
|
+
self.connectionIPComboBox.setObjectName(u"connectionIPComboBox")
|
|
59
|
+
|
|
60
|
+
self.gridLayout_7.addWidget(self.connectionIPComboBox, 0, 1, 1, 1)
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
self.gridLayout.addWidget(self.connectionGroupBox, 0, 0, 1, 2)
|
|
64
|
+
|
|
65
|
+
self.commandsGroupBox = QGroupBox(MuoviPlusForm)
|
|
66
|
+
self.commandsGroupBox.setObjectName(u"commandsGroupBox")
|
|
67
|
+
self.gridLayout_3 = QGridLayout(self.commandsGroupBox)
|
|
68
|
+
self.gridLayout_3.setObjectName(u"gridLayout_3")
|
|
69
|
+
self.commandConnectionPushButton = QPushButton(self.commandsGroupBox)
|
|
70
|
+
self.commandConnectionPushButton.setObjectName(u"commandConnectionPushButton")
|
|
71
|
+
|
|
72
|
+
self.gridLayout_3.addWidget(self.commandConnectionPushButton, 0, 0, 1, 1)
|
|
73
|
+
|
|
74
|
+
self.commandConfigurationPushButton = QPushButton(self.commandsGroupBox)
|
|
75
|
+
self.commandConfigurationPushButton.setObjectName(u"commandConfigurationPushButton")
|
|
76
|
+
|
|
77
|
+
self.gridLayout_3.addWidget(self.commandConfigurationPushButton, 1, 0, 1, 1)
|
|
78
|
+
|
|
79
|
+
self.commandStreamPushButton = QPushButton(self.commandsGroupBox)
|
|
80
|
+
self.commandStreamPushButton.setObjectName(u"commandStreamPushButton")
|
|
81
|
+
|
|
82
|
+
self.gridLayout_3.addWidget(self.commandStreamPushButton, 2, 0, 1, 1)
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
self.gridLayout.addWidget(self.commandsGroupBox, 2, 0, 2, 2)
|
|
86
|
+
|
|
87
|
+
self.inputGroupBox = QGroupBox(MuoviPlusForm)
|
|
88
|
+
self.inputGroupBox.setObjectName(u"inputGroupBox")
|
|
89
|
+
self.gridLayout_4 = QGridLayout(self.inputGroupBox)
|
|
90
|
+
self.gridLayout_4.setObjectName(u"gridLayout_4")
|
|
91
|
+
self.inputDetectionModeComboBox = QComboBox(self.inputGroupBox)
|
|
92
|
+
self.inputDetectionModeComboBox.addItem("")
|
|
93
|
+
self.inputDetectionModeComboBox.addItem("")
|
|
94
|
+
self.inputDetectionModeComboBox.addItem("")
|
|
95
|
+
self.inputDetectionModeComboBox.addItem("")
|
|
96
|
+
self.inputDetectionModeComboBox.setObjectName(u"inputDetectionModeComboBox")
|
|
97
|
+
|
|
98
|
+
self.gridLayout_4.addWidget(self.inputDetectionModeComboBox, 1, 1, 1, 1)
|
|
99
|
+
|
|
100
|
+
self.label_10 = QLabel(self.inputGroupBox)
|
|
101
|
+
self.label_10.setObjectName(u"label_10")
|
|
102
|
+
|
|
103
|
+
self.gridLayout_4.addWidget(self.label_10, 1, 0, 1, 1)
|
|
104
|
+
|
|
105
|
+
self.label = QLabel(self.inputGroupBox)
|
|
106
|
+
self.label.setObjectName(u"label")
|
|
107
|
+
|
|
108
|
+
self.gridLayout_4.addWidget(self.label, 0, 0, 1, 1)
|
|
109
|
+
|
|
110
|
+
self.inputWorkingModeComboBox = QComboBox(self.inputGroupBox)
|
|
111
|
+
self.inputWorkingModeComboBox.addItem("")
|
|
112
|
+
self.inputWorkingModeComboBox.addItem("")
|
|
113
|
+
self.inputWorkingModeComboBox.setObjectName(u"inputWorkingModeComboBox")
|
|
114
|
+
|
|
115
|
+
self.gridLayout_4.addWidget(self.inputWorkingModeComboBox, 0, 1, 1, 1)
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
self.gridLayout.addWidget(self.inputGroupBox, 1, 0, 1, 2)
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
self.retranslateUi(MuoviPlusForm)
|
|
122
|
+
|
|
123
|
+
self.inputDetectionModeComboBox.setCurrentIndex(1)
|
|
124
|
+
self.inputWorkingModeComboBox.setCurrentIndex(1)
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
QMetaObject.connectSlotsByName(MuoviPlusForm)
|
|
128
|
+
# setupUi
|
|
129
|
+
|
|
130
|
+
def retranslateUi(self, MuoviPlusForm):
|
|
131
|
+
MuoviPlusForm.setWindowTitle(QCoreApplication.translate("MuoviPlusForm", u"MuoviPlusForm", None))
|
|
132
|
+
self.connectionGroupBox.setTitle(QCoreApplication.translate("MuoviPlusForm", u"Connection parameters", None))
|
|
133
|
+
self.connectionPortLabel.setText(QCoreApplication.translate("MuoviPlusForm", u"54321", None))
|
|
134
|
+
self.label_7.setText(QCoreApplication.translate("MuoviPlusForm", u"Port", None))
|
|
135
|
+
self.label_6.setText(QCoreApplication.translate("MuoviPlusForm", u"IP", None))
|
|
136
|
+
self.connectionUpdatePushButton.setText(QCoreApplication.translate("MuoviPlusForm", u"Update", None))
|
|
137
|
+
self.commandsGroupBox.setTitle(QCoreApplication.translate("MuoviPlusForm", u"Commands", None))
|
|
138
|
+
self.commandConnectionPushButton.setText(QCoreApplication.translate("MuoviPlusForm", u"Connect", None))
|
|
139
|
+
self.commandConfigurationPushButton.setText(QCoreApplication.translate("MuoviPlusForm", u"Configure", None))
|
|
140
|
+
self.commandStreamPushButton.setText(QCoreApplication.translate("MuoviPlusForm", u"Stream", None))
|
|
141
|
+
self.inputGroupBox.setTitle(QCoreApplication.translate("MuoviPlusForm", u"Input Parameters", None))
|
|
142
|
+
self.inputDetectionModeComboBox.setItemText(0, QCoreApplication.translate("MuoviPlusForm", u"Monopolar - High Gain", None))
|
|
143
|
+
self.inputDetectionModeComboBox.setItemText(1, QCoreApplication.translate("MuoviPlusForm", u"Monopolar - Low Gain", None))
|
|
144
|
+
self.inputDetectionModeComboBox.setItemText(2, QCoreApplication.translate("MuoviPlusForm", u"Impedance Check", None))
|
|
145
|
+
self.inputDetectionModeComboBox.setItemText(3, QCoreApplication.translate("MuoviPlusForm", u"Test", None))
|
|
146
|
+
|
|
147
|
+
self.label_10.setText(QCoreApplication.translate("MuoviPlusForm", u"Detection Mode", None))
|
|
148
|
+
self.label.setText(QCoreApplication.translate("MuoviPlusForm", u"Working Mode", None))
|
|
149
|
+
self.inputWorkingModeComboBox.setItemText(0, QCoreApplication.translate("MuoviPlusForm", u"EEG", None))
|
|
150
|
+
self.inputWorkingModeComboBox.setItemText(1, QCoreApplication.translate("MuoviPlusForm", u"EMG", None))
|
|
151
|
+
|
|
152
|
+
# retranslateUi
|
|
153
|
+
|