QGIS API Documentation 3.41.0-Master (3440c17df1d)
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | List of all members
QgsAuthConfigUriEdit Class Reference

Dialog wrapper of select widget to edit an authcfg in a data source URI. More...

#include <qgsauthconfigselect.h>

Inheritance diagram for QgsAuthConfigUriEdit:
Inheritance graph
[legend]

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.
 

Detailed Description

Dialog wrapper of select widget to edit an authcfg in a data source URI.

Definition at line 110 of file qgsauthconfigselect.h.

Constructor & Destructor Documentation

◆ QgsAuthConfigUriEdit()

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
parentParent widget
datauriURI QString with of without an authcfg=ID string
dataproviderThe key of the calling layer provider, if applicable

Definition at line 269 of file qgsauthconfigselect.cpp.

Member Function Documentation

◆ dataSourceUri()

QString QgsAuthConfigUriEdit::dataSourceUri ( )

The returned, possibly edited data source URI.

Definition at line 330 of file qgsauthconfigselect.cpp.

◆ hasConfigId()

bool QgsAuthConfigUriEdit::hasConfigId ( const QString &  txt)
static

Whether a string contains an authcfg ID.

Definition at line 339 of file qgsauthconfigselect.cpp.

◆ setDataSourceUri()

void QgsAuthConfigUriEdit::setDataSourceUri ( const QString &  datauri)

Sets the data source URI to parse.

Definition at line 300 of file qgsauthconfigselect.cpp.


The documentation for this class was generated from the following files: