EventAnalysisControls

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

Bases: QWidget

Public Methods

EventAnalysisControls.clear_popup_reference(comboBox: QComboBox) None

Clears the reference to the popup when it is closed.

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

Creates an add button linked to the corresponding combobox.

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

Creates a delete button linked to the corresponding combobox.

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

Creates an info button linked to the corresponding combobox.

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

Deletes the plugin corresponding tot he current ComboBox selection

EventAnalysisControls.is_placeholder_item(comboBox: QComboBox) bool

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

EventAnalysisControls.on_button_clicked(button_type: str) None
EventAnalysisControls.on_parameter_changed() None
EventAnalysisControls.retranslateUi() None
EventAnalysisControls.set_event_index_input(value: str) None
EventAnalysisControls.setupUi() None
EventAnalysisControls.show_plugin_add_manager(comboBox: QComboBox, metaclass: str) None

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

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

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

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

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

EventAnalysisControls.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.

EventAnalysisControls.update_eventfitters(eventfitters: list[str]) None
EventAnalysisControls.update_filters(filters: list[str]) None
EventAnalysisControls.update_loaders(loaders: list[str]) None
EventAnalysisControls.update_writers(writers: list[str]) None
EventAnalysisControls.validate_inputs() None

Private Methods

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