GUIBRUSHR.GUI.Input_Output_Panels.Input_Panels.TabPanels.FrameDBInteractions.FrameInstrument module

Frame for managing instrument database interactions in the GUI. This module provides functionality to insert, delete, and display instrument details in the database.

class GUIBRUSHR.GUI.Input_Output_Panels.Input_Panels.TabPanels.FrameDBInteractions.FrameInstrument.FrameInstrument(parent, color, row, column, path_default, frame_input, window, **kwargs)[source]

Bases: MyPanel

Panel for managing instrument database operations.

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

Initialize the instrument frame panel.

Parameters:
  • parent – Parent widget

  • color – Background color

  • row – Row position

  • column – Column position

  • path_default – Default path for database

  • frame_input – Input frame reference

  • window – Main window reference

  • **kwargs – Additional keyword arguments

insert_instrument_db()[source]

Insert a new instrument into the database.

show_instrument()[source]

Display details of the selected instrument.

delete_instrument_from_db()[source]

Delete the selected instrument from the database.