dicogis.ui.wdg_tab_settings module

Name: TabSettings Purpose: Tab containing settings widgets in DicoGIS Notebook.

Author: Julien Moura (@geojulien)

class dicogis.ui.wdg_tab_settings.TabSettings(parent=None)

Bases: QWidget

Tab form for end-user settings.

Parameters:

QWidget – inherited Qt widget

__init__(parent=None)

Initializes UI tab for end-user options.

Parameters:

parent (QWidget | None) – Qt parent widget

apply_debug_logging(enabled)

Toggle root logger verbosity immediately.

Parameters:

enabled (bool) – whether debug (verbose) logging should be enabled.

Return type:

None

apply_ui_style(style_name)

Apply the selected Qt style immediately to the running application.

Parameters:

style_name (str) – name of a Qt style, as listed by QStyleFactory.keys().

Return type:

None

get_export_options()

Return export/general options as a dict.

Return type:

dict

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:

dict

get_proxy_settings()

Return proxy settings as a dict.

Return type:

dict

get_ui_options()

Return interface options as a dict.

Return type:

dict

retranslate_ui()

Update widgets texts for the currently active language.

Return type:

None

set_export_options(values)

Apply export/general options from a dict.

Return type:

None

set_proxy_settings(values)

Apply proxy settings from a dict.

Return type:

None

set_ui_options(values)

Apply interface options from a dict.

Return type:

None