Settings Dialog

Inheritance diagram of settingsdialog
class SettingsDialog(root, master)[source]

Dialog Window that allows the user to manually change the settings in config.json

change_bool_setting(key, new_val)[source]

Change a boolean config setting

change_dir_setting(key, dialog_box)[source]

Change a directory config setting

change_lock_setting(key, new_val)[source]

Change the manual/auto lock setting

create_bottom_frame()[source]

The bottom frame which holds the save and revert buttons

create_top_frame()[source]

The top frame holds all of the widgets for displaying and changing settings

free()[source]

Destroy the window and ensure the session is closed correctly

get_variable_dict()[source]

Load the dictionary of variables from config.py through CONF in constants

revert()[source]

Reverts any unsaved changes back to the initial values

save()[source]

Write all of the settings from the self.__var_dict to config.json and close