GUIBRUSHR.GUI.Input_Output_Panels.Output_Panels.OutputPanel module¶
Output Panel module for GUIBRUSHR application.
This module contains the OutputPanel class which serves as a container for output-related components including a table panel and button panel for data retrieval.
The OutputPanel is responsible for: - Displaying data in a tabular format - Providing buttons for data retrieval operations - Managing the layout of output components - Handling exceptions during data operations
- class GUIBRUSHR.GUI.Input_Output_Panels.Output_Panels.OutputPanel.OutputPanel(parent, row, column, color, path_default, width_GUI, height_frame, window, **kwargs)[source]¶
Bases:
MyPanelA panel class that manages the output interface components of the application.
This class extends MyPanel to create a container that holds both a table panel for displaying data and a button panel for data retrieval operations.
The panel is organized in a grid layout with: - Table panel on the left (column 1) - Button panel on the right (column 2)
- width_GUI¶
The width of the GUI panel in pixels
- Type:
int
- parent¶
The parent widget of this panel
- path_default¶
Default path for file operations
- Type:
str
- panel_table¶
Panel for displaying data in table format
- Type:
- panel_buttons¶
Panel containing retrieval operation buttons
- Type:
- global_exc¶
Global exception counter for tracking errors
- Type:
int
- __init__(parent, row, column, color, path_default, width_GUI, height_frame, window, **kwargs)[source]¶
Initialize the OutputPanel with its components.
- Parameters:
parent – The parent widget that contains this panel
row (int) – Row position in the grid layout
column (int) – Column position in the grid layout
color (str) – Background color of the panel
path_default (Path, str) – Default path for file operations
width_GUI (int) – Width of the GUI panel in pixels
height_frame (int) – Height of the frame in pixels
window – The main window instance
**kwargs – Additional keyword arguments passed to the parent class
Note
The panel is initialized with two sub-panels: 1. A table panel for data display (PanelTableRetrieval) 2. A button panel for data operations (PanelButtonRetrieval)