navigate.view.popups.camera_setting_popup.AdvancedCameraSettingPopup
- class navigate.view.popups.camera_setting_popup.AdvancedCameraSettingPopup(root, *args, **kwargs)
Bases:
objectPopup window for advanced camera setting.
- __init__(root, *args, **kwargs)
Initialize the AdvancedCameraSettingPopup class.
- Parameters:
root (tkinter.Tk) – Root window of the application.
args (list) – List of arguments.
kwargs (dict) – Dictionary of keyword arguments.
Methods
__init__(root, *args, **kwargs)Initialize the AdvancedCameraSettingPopup class.
Clear the view by destroying all widgets and resetting variables.
populate_view(flip_flags)Populate the view with the camera flip flags.
Attributes
Popup window for the camera settings.
Dictionary to hold the flip flags for each axis.
Dictionary to hold the flip buttons for each axis.
Button to save the settings.
Dropdown for selecting the microscope.
Frame to hold camera control inputs.
Holder for column frames (LabelFrames)
Fixed row height (px) to ensure perfect alignment
widgets
buttons
variables
- clear_view() → None
Clear the view by destroying all widgets and resetting variables.
- populate_view(flip_flags: dict) → None
Populate the view with the camera flip flags.
- Parameters:
flip_flags (dict) – A dictionary containing the flip flags for x and y axes.
- buttons
buttons
- Type:
dict
- camera_control_frame
Frame to hold camera control inputs.
- Type:
ttk.Frame
- column_frames
Holder for column frames (LabelFrames)
- Type:
dict
- flip_button
Dictionary to hold the flip buttons for each axis.
- Type:
dict
- flip_flags
Dictionary to hold the flip flags for each axis.
- Type:
dict
- inputs
widgets
- Type:
dict
- microscope
Dropdown for selecting the microscope.
- Type:
- row_minsize
Fixed row height (px) to ensure perfect alignment
- Type:
int
- save_button
Button to save the settings.
- Type:
- variables
variables
- Type:
dict