dicogis.ui.wdg_tab_database module

Name: TabDatabase Purpose: Tab containing database widgets in DicoGIS Notebook.

Author: Julien Moura (@geojulien)

class dicogis.ui.wdg_tab_database.TabDatabaseServer(parent=None)

Bases: QWidget

Tab form for server database connections.

Parameters:

QWidget – inherited Qt widget

__init__(parent=None)

UI tab for databases initialization.

Parameters:

parent (QWidget | None) – Qt parent widget

get_selected_pg_service()

Return the currently selected PG service name.

Return type:

str

get_views_enabled()

Return whether PostGIS views are enabled.

Return type:

bool

open_form()

Open the modal dialog for database form.

Return type:

None

retranslate_ui()

Update widgets texts for the currently active language.

Return type:

None

set_selected_pg_service(service_name)

Select a PG service by name if it exists in the combobox.

Return type:

None

set_views_enabled(value)

Set whether PostGIS views are enabled.

Return type:

None