RawDataControls

class RawDataControls(parent: Optional[QWidget] = None)

Bases: QWidget

Public Methods

RawDataControls.clear_popup_reference(comboBox: QComboBox) None

Clears the reference to the popup when it is closed.

RawDataControls.collect_parameters() Dict[str, Any]
RawDataControls.connect_signals() None
RawDataControls.createButton(parent: QWidget, text: str, bold: bool = False) QPushButton
RawDataControls.createLabel(parent: QWidget, pointSize: int, text: str) QLabel
RawDataControls.create_add_button(parent: QWidget, comboBox: QComboBox, add_text: str, metaclass: str) QToolButton

Creates an add button linked to the corresponding combobox.

RawDataControls.create_comboBox(parent: QWidget) QComboBox
RawDataControls.create_delete_button(parent: QWidget, comboBox: QComboBox, info_text: str, metaclass: str) QToolButton

Creates a delete button linked to the corresponding combobox.

RawDataControls.create_info_button(parent: QWidget, comboBox: QComboBox, info_text: str, metaclass: str) QToolButton

Creates an info button linked to the corresponding combobox.

RawDataControls.delete_plugin(comboBox: QComboBox, metaclass: str) None

Deletes the plugin corresponding tot he current ComboBox selection

RawDataControls.is_placeholder_item(comboBox: QComboBox) bool

Returns True if the combobox contains a placeholder like ‘No Reader’, ‘No Writer’, etc.

RawDataControls.on_button_clicked(button_type: str) None
RawDataControls.on_parameter_changed() None
RawDataControls.retranslateUi() None
RawDataControls.set_event_index_input(value: str) None
RawDataControls.set_range_inputs(start: float, length: float) None
RawDataControls.setupUi() None
RawDataControls.show_plugin_add_manager(comboBox: QComboBox, metaclass: str) None

Displays the plugin manager with details for the selected item from the combobox.

RawDataControls.show_plugin_edit_manager(comboBox: QComboBox, metaclass: str) None

Displays the plugin manager with details for the selected item from the combobox.

RawDataControls.toggle_info_button(button: QToolButton, comboBox: QComboBox) None

Enables or disables the info button based on the comboBox selection and item count.

RawDataControls.update_channels(channels: Sequence[int]) None

Updates the channels displayed in the MultiSelectComboBox widget and restores previous selections.

Parameters:

channels (Sequence[int]) – Channel indices to display.

RawDataControls.update_eventfinders(eventfinders: list[str]) None
RawDataControls.update_filters(filters: list[str]) None
RawDataControls.update_readers(readers: list[str]) None
RawDataControls.update_writers(writers: list[str]) None
RawDataControls.validate_inputs() None

Private Methods

RawDataControls.__init__(parent: QWidget | None = None) None