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

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

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

Bases: MyPanel

Panel for managing observatory database operations.

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

Initialize the observatories 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_observatory_db()[source]

Insert a new observatory into the database.

show_observatory()[source]

Display details of the selected observatory.

delete_observatory_from_db()[source]

Delete the selected observatory from the database.