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:
QWidgetTab 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
- edit_services()¶
Open the editor of the services, then list them again: the editor writes its changes to pg_service.conf as it goes.
- Return type:
- refresh_services()¶
List the services of pg_service.conf, keeping the selected one if it’s still there.
- Return type:
- set_selected_pg_service(service_name)¶
Select a PG service by name if it exists in the combobox.
- Return type: