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¶
Base classes¶
Methods
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:
connection (Optional[QgsAbstractDatabaseProviderConnection])
parent (Optional[QWidget] = None)