preferences#

This module handles the preferences of the graphical interface. The values are persisted in a file located in the home folder of the user. The preferences are used to store values related to ClearMap performance as well as values that affect the appearance of the software.

class PreferenceUi(main_window)[source]#

Bases: GenericDialog

This class handles the global preferences of the graphical interface It links a graphical dialog and the preference file located in the home folder of the user

apply_prefs_and_close()[source]#
open()[source]#
set_params(*args)[source]#

Associate the params object to the dialog :param args:

Returns

setup(font_size)[source]#
setup_preferences()[source]#

Setup the dialog with the values from the preference fil in the home folder .. rubric:: Returns