dicogis.ui.dialogs.dlg_settings module¶
Name: SettingsDialog Purpose: Dialog holding the settings of DicoGIS (File > Settings…).
Author: Julien Moura (@geojulien)
- class dicogis.ui.dialogs.dlg_settings.SettingsDialog(parent=None)¶
Bases:
QDialogDialog holding the settings form.
Created once with the main window, which reads the settings from its form (wdg_settings) when running: only its visibility follows the dialog.
- __init__(parent=None)¶
Initialize the settings dialog.
- Parameters:
parent (
QWidget|None) – the parent widget.
- edit()¶
Show the dialog and keep what’s changed only if validated.
The interface style and the debug logging are applied while editing, to see them: canceling puts the settings shown before back, which applies them back too.
- Return type:
- Returns:
True if the settings were validated