QGIS API Documentation
3.16.0-Hannover (43b64b13f3)
|
Selector widget for authentication configs. More...
#include <qgsauthconfigselect.h>
Public Slots | |
void | clearMessage () |
Clear and hide small message bar. More... | |
void | showMessage (const QString &msg) |
Show a small message bar with a close button. More... | |
Signals | |
void | selectedConfigIdChanged (const QString &authcfg) |
Emitted when authentication config is changed or missing. More... | |
void | selectedConfigIdRemoved (const QString &authcfg) |
Emitted when authentication config is removed. More... | |
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. More... | |
const QString | configId () const |
Gets the authentication config id for the resource. More... | |
void | setConfigId (const QString &authcfg) |
Sets the authentication config id for the resource. More... | |
void | setDataProviderKey (const QString &key) |
Sets key of layer provider, if applicable. More... | |
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 32 of file qgsauthconfigselect.cpp.
|
slot |
Clear and hide small message bar.
Definition at line 184 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 73 of file qgsauthconfigselect.cpp.
void QgsAuthConfigSelect::setDataProviderKey | ( | const QString & | key | ) |
Sets key of layer provider, if applicable.
Definition at line 95 of file qgsauthconfigselect.cpp.
|
slot |
Show a small message bar with a close button.
Definition at line 174 of file qgsauthconfigselect.cpp.