RawDataControls

class RawDataControls(parent = None)

Bases: QWidget

Public Methods

RawDataControls.clear_popup_reference(comboBox)

Clears the reference to the popup when it is closed.

RawDataControls.collect_parameters()
RawDataControls.connect_signals()
RawDataControls.createButton(parent, text, bold=False)
RawDataControls.createLabel(parent, pointSize, text)
RawDataControls.create_add_button(parent, comboBox, add_text, metaclass)

Creates an add button linked to the corresponding combobox.

RawDataControls.create_comboBox(parent)
RawDataControls.create_delete_button(parent, comboBox, info_text, metaclass)

Creates a delete button linked to the corresponding combobox.

RawDataControls.create_info_button(parent, comboBox, info_text, metaclass)

Creates an info button linked to the corresponding combobox.

RawDataControls.delete_plugin(comboBox, metaclass)

Deletes the plugin corresponding tot he current ComboBox selection

RawDataControls.get_nested_value(keys, default=None)

Recursively fetches values from nested dictionaries. :param d: The dictionary to fetch data from. :param keys: List of keys to navigate through the nested dictionary. :param default: Default value if any key is not found. :return: Value fetched from the dictionary or default.

RawDataControls.get_plugin_data()

Fetch plugin data from a JSON file located in the application’s local data directory.

RawDataControls.is_placeholder_item(comboBox)

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

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

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

RawDataControls.show_plugin_edit_manager(comboBox, metaclass)

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

RawDataControls.toggle_info_button(button, comboBox)

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

RawDataControls.update_channels(channels)

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

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()

Private Methods

RawDataControls.__init__(parent=None)