Base Protocol (Panel)

class myogestic.gui.protocols.protocol.Protocol(self, parent: PySide6.QtCore.QObject | None = None)[source]

Bases: QObject

Class for handling the different protocols of the MyoGestic application.

Parameters:

parent (MyoGestic | None) – The parent object of the protocol object.

main_window

The main window of the MyoGestic application.

Type:

MyoGestic

protocol_mode_stacked_widget

Stacked widget for displaying the different protocol modes.

Type:

QStackedWidget

protocol_record_radio_button

Radio button for the record protocol.

Type:

QRadioButton

protocol_training_radio_button

Radio button for the training protocol.

Type:

QRadioButton

protocol_online_radio_button

Radio button for the online protocol.

Type:

QRadioButton

current_protocol

The current protocol object.

Type:

RecordProtocol | TrainingProtocol | OnlineProtocol | None

available_protocols
Type:

list[RecordProtocol | TrainingProtocol | OnlineProtocol]

Initialize self. See help(type(self)) for accurate signature.