QGIS API Documentation
3.99.0-Master (26c88405ac0)
Loading...
Searching...
No Matches
src
gui
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
19
#include "
qgsabstractdatabaseproviderconnection.h
"
20
#include "
qgsdatabaseschemacombobox.h
"
21
22
#include <QDialog>
23
#include <QDialogButtonBox>
24
33
class
GUI_EXPORT
QgsDatabaseSchemaSelectionDialog
:
public
QDialog
34
{
35
Q_OBJECT
36
public
:
37
43
explicit
QgsDatabaseSchemaSelectionDialog
(
QgsAbstractDatabaseProviderConnection
*connection
SIP_TRANSFER
, QWidget *parent
SIP_TRANSFERTHIS
=
nullptr
);
44
48
QString
selectedSchema
()
const
;
49
50
private
:
51
QDialogButtonBox *mButtonBox =
nullptr
;
52
QgsDatabaseSchemaComboBox
*mCboSchema =
nullptr
;
53
};
54
#endif
// QGSDATABASESCHEMASELECTIONDIALOG_H
QgsAbstractDatabaseProviderConnection
Provides common functionality for database based connections.
Definition
qgsabstractdatabaseproviderconnection.h:47
QgsDatabaseSchemaComboBox
A combo box which displays the list of schemas for a specific database connection.
Definition
qgsdatabaseschemacombobox.h:52
QgsDatabaseSchemaSelectionDialog::QgsDatabaseSchemaSelectionDialog
QgsDatabaseSchemaSelectionDialog(QgsAbstractDatabaseProviderConnection *connection, QWidget *parent=nullptr)
Constructor for QgsDatabaseSchemaSelectionDialog, for the specified connection.
Definition
qgsdatabaseschemaselectiondialog.cpp:25
QgsDatabaseSchemaSelectionDialog::selectedSchema
QString selectedSchema() const
Returns the name of the current schema selected in the combo box.
Definition
qgsdatabaseschemaselectiondialog.cpp:47
SIP_TRANSFERTHIS
#define SIP_TRANSFERTHIS
Definition
qgis_sip.h:53
SIP_TRANSFER
#define SIP_TRANSFER
Definition
qgis_sip.h:36
qgsabstractdatabaseproviderconnection.h
qgsdatabaseschemacombobox.h
Generated on
for QGIS API Documentation by
1.15.0