QGIS API Documentation 3.43.0-Master (ac9f54ad1f7)
Public Member Functions | List of all members
QgsDatabaseSchemaSelectionDialog Class Reference

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

#include <qgsdatabaseschemaselectiondialog.h>

Inheritance diagram for QgsDatabaseSchemaSelectionDialog:
Inheritance graph
[legend]

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 24 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 46 of file qgsdatabaseschemaselectiondialog.cpp.


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