QGIS API Documentation
3.4.15-Madeira (e83d02e274)
|
Custom widget for editing an authentication configuration ID. More...
#include <qgsauthconfigidedit.h>
Public Slots | |
void | clear () |
Clear all of the widget's editing state and contents. More... | |
void | setAllowEmptyId (bool allowed) |
Sets whether to allow no ID to be set. More... | |
void | setAuthConfigId (const QString &authcfg) |
Sets the authentication configuration ID, storing it, and validating the passed value. More... | |
Signals | |
void | validityChanged (bool valid) |
Validity of the ID has changed. More... | |
Public Member Functions | |
QgsAuthConfigIdEdit (QWidget *parent=nullptr, const QString &authcfg=QString(), bool allowEmpty=true) | |
Widget to unlock and edit an authentication configuration ID. More... | |
bool | allowEmptyId () |
Whether to allow no ID to be set. More... | |
QString const | configId () |
The authentication configuration ID, if valid, otherwise null QString. More... | |
bool | validate () |
Validate the widget state and ID. More... | |
Custom widget for editing an authentication configuration ID.
Definition at line 33 of file qgsauthconfigidedit.h.
|
explicit |
Widget to unlock and edit an authentication configuration ID.
parent | Parent widget |
authcfg | Authentication configuration ID |
allowEmpty | Whether to allow no ID to be set, even when editing, e.g. Add config functions |
Definition at line 25 of file qgsauthconfigidedit.cpp.
|
inline |
Whether to allow no ID to be set.
Definition at line 51 of file qgsauthconfigidedit.h.
|
slot |
Clear all of the widget's editing state and contents.
Definition at line 87 of file qgsauthconfigidedit.cpp.
const QString QgsAuthConfigIdEdit::configId | ( | ) |
The authentication configuration ID, if valid, otherwise null QString.
Definition at line 42 of file qgsauthconfigidedit.cpp.
|
slot |
Sets whether to allow no ID to be set.
Definition at line 81 of file qgsauthconfigidedit.cpp.
|
slot |
Sets the authentication configuration ID, storing it, and validating the passed value.
Definition at line 71 of file qgsauthconfigidedit.cpp.
bool QgsAuthConfigIdEdit::validate | ( | ) |
Validate the widget state and ID.
Definition at line 51 of file qgsauthconfigidedit.cpp.
|
signal |
Validity of the ID has changed.