dicogis.ui.wdg_settings module¶
Name: SettingsWidget Purpose: Form of the settings of DicoGIS, shown in the settings dialog.
Author: Julien Moura (@geojulien)
- class dicogis.ui.wdg_settings.SettingsWidget(parent=None)¶
Bases:
QWidgetForm of the end-user settings, shown by the settings dialog.
- __init__(parent=None)¶
Initializes the form of the end-user options.
- Parameters:
parent (
QWidget|None) – Qt parent widget
- apply_debug_logging(enabled)¶
Toggle root logger verbosity immediately.
- apply_ui_style(style_name)¶
Apply the selected Qt style immediately to the running application.
- get_listing_scan_kwargs()¶
Return parallel_scan/max_workers kwargs ready for find_geodata_files() (translating the spinbox’s 0 = ‘Auto’ into the None that find_geodata_files() expects).
- Return type:
- get_publish_timeout()¶
Return how long to wait for a catalog.
- Return type:
- Returns:
timeout, in seconds
- get_settings()¶
Return the settings, as shown.
- imposed_settings()¶
Settings imposed by an environment variable: not to be saved.
- set_settings(values)¶
Show settings, from options.ini or saved before an edit. The ones imposed by an environment variable keep its value.