QGIS API Documentation 3.39.0-Master (bca3cdb6021)
|
Utility functions for working with GDAL in GUI classes. More...
#include <qgsgdalguiutils.h>
Static Public Member Functions | |
static QString | createDatabaseURI (const QString &connectionType, const QString &host, const QString &database, QString port, const QString &configId, QString username, QString password, bool expandAuthConfig=false) |
Create database uri from connection parameters. | |
static QString | createProtocolURI (const QString &type, const QString &url, const QString &configId, const QString &username, const QString &password, bool expandAuthConfig=false) |
Create protocol uri from connection parameters. | |
static QWidget * | createWidgetForOption (const QgsGdalOption &option, QWidget *parent=nullptr, bool includeDefaultChoices=false) |
Creates a new widget for configuration a GDAL option. | |
Utility functions for working with GDAL in GUI classes.
Definition at line 37 of file qgsgdalguiutils.h.
|
static |
Create database uri from connection parameters.
Definition at line 29 of file qgsgdalguiutils.cpp.
|
static |
Create protocol uri from connection parameters.
Definition at line 225 of file qgsgdalguiutils.cpp.
|
static |
Creates a new widget for configuration a GDAL option.
If includeDefaultChoices is true
then the widget will include an option for the default value.
Definition at line 292 of file qgsgdalguiutils.cpp.