QGIS API Documentation 3.40.0-Bratislava (b56115d8743)
|
Selector widget for authentication configs. More...
#include <qgsauthconfigselect.h>
Public Slots | |
void | clearMessage () |
Clear and hide small message bar. | |
void | showMessage (const QString &msg) |
Show a small message bar with a close button. | |
Signals | |
void | selectedConfigIdChanged (const QString &authcfg) |
Emitted when authentication config is changed or missing. | |
void | selectedConfigIdRemoved (const QString &authcfg) |
Emitted when authentication config is removed. | |
Public Member Functions | |
QgsAuthConfigSelect (QWidget *parent=nullptr, const QString &dataprovider=QString()) | |
Create a dialog for setting an associated authentication config, either from existing configs, or creating/removing them from auth database. | |
const QString | configId () const |
Gets the authentication config id for the resource. | |
void | setConfigId (const QString &authcfg) |
Sets the authentication config id for the resource. | |
void | setDataProviderKey (const QString &key) |
Sets key of layer provider, if applicable. | |
Selector widget for authentication configs.
Definition at line 33 of file qgsauthconfigselect.h.
|
explicit |
Create a dialog for setting an associated authentication config, either from existing configs, or creating/removing them from auth database.
parent | Parent widget |
dataprovider | The key of the calling layer provider, if applicable |
Definition at line 34 of file qgsauthconfigselect.cpp.
|
slot |
Clear and hide small message bar.
Definition at line 187 of file qgsauthconfigselect.cpp.
|
inline |
Gets the authentication config id for the resource.
Definition at line 51 of file qgsauthconfigselect.h.
|
signal |
Emitted when authentication config is changed or missing.
|
signal |
Emitted when authentication config is removed.
void QgsAuthConfigSelect::setConfigId | ( | const QString & | authcfg | ) |
Sets the authentication config id for the resource.
Definition at line 75 of file qgsauthconfigselect.cpp.
void QgsAuthConfigSelect::setDataProviderKey | ( | const QString & | key | ) |
Sets key of layer provider, if applicable.
Definition at line 97 of file qgsauthconfigselect.cpp.
|
slot |
Show a small message bar with a close button.
Definition at line 177 of file qgsauthconfigselect.cpp.