QGIS API Documentation 3.99.0-Master (26c88405ac0)
Loading...
Searching...
No Matches
qgsdatabaseschemaselectiondialog.h
Go to the documentation of this file.
1/***************************************************************************
2 qgsdatabaseschemaselectiondialog.h
3 ---------------------
4 begin : March 2025
5 copyright : (C) 2025 by Jan Caha
6 email : jan.caha at outlook dot com
7 ***************************************************************************
8 * *
9 * This program is free software; you can redistribute it and/or modify *
10 * it under the terms of the GNU General Public License as published by *
11 * the Free Software Foundation; either version 2 of the License, or *
12 * (at your option) any later version. *
13 * *
14 ***************************************************************************/
15
16#ifndef QGSDATABASESCHEMASELECTIONDIALOG_H
17#define QGSDATABASESCHEMASELECTIONDIALOG_H
18
21
22#include <QDialog>
23#include <QDialogButtonBox>
24
33class GUI_EXPORT QgsDatabaseSchemaSelectionDialog : public QDialog
34{
35 Q_OBJECT
36 public:
37
44
48 QString selectedSchema() const;
49
50 private:
51 QDialogButtonBox *mButtonBox = nullptr;
52 QgsDatabaseSchemaComboBox *mCboSchema = nullptr;
53};
54#endif // QGSDATABASESCHEMASELECTIONDIALOG_H
Provides common functionality for database based connections.
A combo box which displays the list of schemas for a specific database connection.
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.
#define SIP_TRANSFERTHIS
Definition qgis_sip.h:53
#define SIP_TRANSFER
Definition qgis_sip.h:36