QgsAuthConfigUriEdit class
Dialog wrapper of select widget to edit an authcfg in a data source URI.
Contents
Public static functions
- static auto hasConfigId(const QString& txt) -> bool
- Whether a string contains an authcfg ID.
Constructors, destructors, conversion operators
- QgsAuthConfigUriEdit(QWidget* parent = nullptr, const QString& datauri = QString(), const QString& dataprovider = QString()) explicit
- Construct wrapper dialog for select widget to edit an authcfg in a data source URI.
Public functions
- auto dataSourceUri() -> QString
- The returned, possibly edited data source URI.
- void setDataSourceUri(const QString& datauri)
- Sets the data source URI to parse.
Function documentation
QgsAuthConfigUriEdit:: QgsAuthConfigUriEdit(QWidget* parent = nullptr,
const QString& datauri = QString(),
const QString& dataprovider = QString()) explicit
Construct wrapper dialog for select widget to edit an authcfg in a data source URI.
| Parameters | |
|---|---|
| parent | Parent widget |
| datauri | URI QString with of without an authcfg=ID string |
| dataprovider | The key of the calling layer provider, if applicable |