QGIS API Documentation 3.99.0-Master (26c88405ac0)
Loading...
Searching...
No Matches
QgsDatabaseSchemaSelectionDialog Class Reference

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

#include <qgsdatabaseschemaselectiondialog.h>

Inheritance diagram for QgsDatabaseSchemaSelectionDialog:

Public Member Functions

 QgsDatabaseSchemaSelectionDialog (QgsAbstractDatabaseProviderConnection *connection, QWidget *parent=nullptr)
 Constructor for QgsDatabaseSchemaSelectionDialog, for the specified connection.
QString selectedSchema () const
 Returns the name of the current schema selected in the combo box.

Detailed Description

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.
Since
QGIS 3.44

Definition at line 33 of file qgsdatabaseschemaselectiondialog.h.

Constructor & Destructor Documentation

◆ QgsDatabaseSchemaSelectionDialog()

QgsDatabaseSchemaSelectionDialog::QgsDatabaseSchemaSelectionDialog ( QgsAbstractDatabaseProviderConnection * connection,
QWidget * parent = nullptr )
explicit

Constructor for QgsDatabaseSchemaSelectionDialog, for the specified connection.

Ownership of connection is transferred.

Definition at line 25 of file qgsdatabaseschemaselectiondialog.cpp.

Member Function Documentation

◆ selectedSchema()

QString QgsDatabaseSchemaSelectionDialog::selectedSchema ( ) const

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

Definition at line 47 of file qgsdatabaseschemaselectiondialog.cpp.


The documentation for this class was generated from the following files: