mafw.steering_gui.views.database_editor

Expose the database editor UI for steering file configuration.

Author:

Bulgheroni Antonio (antonio.bulgheroni@ec.europa.eu)

Description:

Provide a widget to edit database backend, credentials, and pragmas without touching the builder.

Classes

DatabaseEditor([parent])

Widget that exposes database backend selection, credentials, and pragmas.

class mafw.steering_gui.views.database_editor.DatabaseEditor(parent: QWidget | None = None)[source]

Bases: QWidget

Widget that exposes database backend selection, credentials, and pragmas.

get_data() dict[str, Any][source]

Return a normalized view of the current database configuration.

is_enabled() bool[source]

Return whether the database configuration group is active.

set_data(config: dict[str, Any] | None) None[source]

Populate the UI from a configuration dictionary without emitting signals.