tommy.view.selected_information_view.SelectedInformationView

class tommy.view.selected_information_view.SelectedInformationView(graph_controller: GraphController, model_parameters_controller: ModelParametersController)[source]

Bases: QScrollArea

Class to define the SelectedInformationView UI component

__init__(graph_controller: GraphController, model_parameters_controller: ModelParametersController) None[source]

Initialize the SelectedInformationView.

change_button_appearance_info() None[source]

Change the appearance of the toggle button.

clear_layout() None[source]

Clear the layout. :return: None

clear_sub_layout(layout: QLayout) None[source]

Clear a sub-layout :param layout: The sub-layout to clear :return: None

collapse_component_info() None[source]

Collapse the information view.

display_file_info(file_label: FileLabel) None[source]

Display the file info :param file_label: The file label to display :return: None

display_no_component_selected() None[source]

Display a message when no component is selected. :return: None

display_run_info(run_name: str) None[source]

Display the run information

Parameters:

run_name – The name of the run

Returns:

None

display_topic_info(topic_entity) None[source]

Display the topic information :param topic_entity: The topic entity to display :return: None

initialize_title_widget() None[source]

Add the title label widget with collapse button

staticMetaObject = PySide6.QtCore.QMetaObject("SelectedInformationView" inherits "QScrollArea": )
toggle_collapse_info() None[source]

Toggle visibility of the scroll area and adjust layout accordingly.