6.1.1.3.1.11. thyrsis.gui.preferences_dialog module¶
preference dialog for the thyrsis plugin, it can also be used standalone
- USAGE
preference_dialog.py
- class thyrsis.gui.preferences_dialog.PreferenceDialog(settings, database=None)¶
Bases :
PyQt5.QtWidgets.QDialog
Dialog ofr the preference parameters
- ZNSCheckBoxClicked()¶
Triggered on ZNS checkbox click, to define all dependent checkbox
- ZSCheckBoxClicked()¶
Triggered on ZS checkbox click, to define all dependent checkbox
- cancelButtonClicked()¶
Triggered on cancel button click, close dialog without save
- getSettingsModified()¶
- load_expdb_to_site_db()¶
- mapsButtonClicked()¶
Triggered on map button click, to define map directory
- metisIsInLocalDir()¶
Check if Metis software exists in the local directory
- Renvoie
state
- Type renvoyé
bool
- mpiConfigButtonClicked()¶
Triggered on map button click, to define mpi directory
- okButtonClicked()¶
Triggered on ok button click, to save preference
- thyrsis.gui.preferences_dialog.bool_to_str(b)¶
Convert bool to str True => “true”, False = “”
- thyrsis.gui.preferences_dialog.str_to_bool(s)¶
Convert str to bool (based on non-empty string)