QGIS API Documentation 3.34.0-Prizren (ffbdd678812)
|
Dialog wrapper of select widget to edit an authcfg in a data source URI. More...
#include <qgsauthconfigselect.h>
Public Member Functions | |
QgsAuthConfigUriEdit (QWidget *parent=nullptr, const QString &datauri=QString(), const QString &dataprovider=QString()) | |
Construct wrapper dialog for select widget to edit an authcfg in a data source URI. | |
QString | dataSourceUri () |
The returned, possibly edited data source URI. | |
void | setDataSourceUri (const QString &datauri) |
Sets the data source URI to parse. | |
Static Public Member Functions | |
static bool | hasConfigId (const QString &txt) |
Whether a string contains an authcfg ID. | |
Dialog wrapper of select widget to edit an authcfg in a data source URI.
Definition at line 110 of file qgsauthconfigselect.h.
|
explicit |
Construct wrapper dialog for select widget to edit an authcfg in a data source URI.
parent | Parent widget |
datauri | URI QString with of without an authcfg=ID string |
dataprovider | The key of the calling layer provider, if applicable |
Definition at line 268 of file qgsauthconfigselect.cpp.
QString QgsAuthConfigUriEdit::dataSourceUri | ( | ) |
The returned, possibly edited data source URI.
Definition at line 329 of file qgsauthconfigselect.cpp.
|
static |
Whether a string contains an authcfg ID.
Definition at line 338 of file qgsauthconfigselect.cpp.
void QgsAuthConfigUriEdit::setDataSourceUri | ( | const QString & | datauri | ) |
Sets the data source URI to parse.
Definition at line 299 of file qgsauthconfigselect.cpp.