GUIBRUSHR.GUI.Input_Output_Panels.Input_Panels.TabPanels.Frame_Retrieval_Analysis.FrameFilterTable.FrameTable module

Frame Table Module for Retrieval Analysis

This module contains the FrameTable class which provides a GUI table interface for displaying and managing frame retrieval analysis data from a SQLite database.

class GUIBRUSHR.GUI.Input_Output_Panels.Input_Panels.TabPanels.Frame_Retrieval_Analysis.FrameFilterTable.FrameTable.FrameTable(parent, row, column, color, width_GUI, path_default, **kwargs)[source]

Bases: MyPanel

A GUI table component for displaying frame retrieval analysis data.

This class extends MyPanel to provide a table interface that displays retrieval analysis results from a SQLite database. It allows filtering and viewing of various retrieval parameters and results.

__init__(parent, row, column, color, width_GUI, path_default, **kwargs)[source]

Initialize the FrameTable component.

Parameters:
  • parent – Parent widget

  • row – Row position in the parent grid

  • column – Column position in the parent grid

  • color – Background color for the panel

  • width_GUI – Width of the GUI component

  • path_default – Default path for database operations

  • **kwargs – Additional keyword arguments passed to parent class

update_table()[source]

Update the table with data from the database based on current filter values.

This method: 1. Clears the existing table 2. Gets filter values from the GUI 3. Queries the database for matching records 4. Processes each record and adds it to the table 5. Handles errors gracefully with user feedback

get_arr_values()[source]

Get the values of the currently selected table row.

Returns:

Values from the currently focused table row, or None if no row is selected

Return type:

tuple