navigate.view.popups.diagnostics_popup.DiagnosticsPopup
- class navigate.view.popups.diagnostics_popup.DiagnosticsPopup(root: Tk)
Bases:
FramePopup window with plots that provide information on the software performance.
- __init__(root: Tk) → None
Initialize the DiagnosticsPopupWindow class.
- Parameters:
root (tkinter.Tk) – Root window of the application.
Methods
__init__(root)Initialize the DiagnosticsPopupWindow class.
add_plot_figure(title)Add a plot figure to the diagnostics popup.
Get the dictionary that holds the buttons.
Get the variables tied to the widgets.
Get the dictionary that holds the input widgets.
Attributes
- add_plot_figure(title: str) → None
Add a plot figure to the diagnostics popup. :param title: Title of the plot figure. :type title: str
- get_buttons()
Get the dictionary that holds the buttons.
This function returns the dictionary that holds the buttons. The key is the button name, value is the button.
- Returns:
Dictionary that holds the buttons.
- Return type:
dict
- get_variables()
Get the variables tied to the widgets.
This function returns a dictionary of all the variables that are tied to each widget name.
The key is the widget name, value is the variable associated.
- Returns:
Dictionary of all the variables that are tied to each widget name.
- Return type:
dict
- get_widgets()
Get the dictionary that holds the input widgets.
This function returns the dictionary that holds the input widgets. The key is the widget name, value is the LabelInput class that has all the data.
- Returns:
Dictionary that holds the input widgets.
- Return type:
dict
- buttons
Dictionary to hold buttons in the popup.
- Type:
dict
- frame
Frame for the diagnostics popup.
- Type:
ttk.Labelframe
- inputs
Dictionary to hold input widgets in the popup.
- Type:
dict
- label_frame
Dictionary to hold label frames in the popup.
- Type:
dict