Class: QgsDatabaseSchemaSelectionDialog

Dialog which displays selection of a schema for a specific database connection.

Warning

The provider must support the connection API methods in its QgsProviderMetadata implementation.

Added in version 3.44.

Class Hierarchy

Inheritance diagram of qgis.gui.QgsDatabaseSchemaSelectionDialog

Base classes

QDialog

QWidget

QObject

QPaintDevice

Methods

selectedSchema

Returns the name of the current schema selected in the combo box.

class qgis.gui.QgsDatabaseSchemaSelectionDialog[source]

Bases: QDialog

__init__(connection: QgsAbstractDatabaseProviderConnection | None, parent: QWidget | None = None)

Constructor for QgsDatabaseSchemaSelectionDialog, for the specified connection.

Ownership of connection is transferred.

Parameters:
selectedSchema(self) str[source]

Returns the name of the current schema selected in the combo box.

Return type:

str