QGIS API Documentation 3.41.0-Master (3440c17df1d)
|
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. | |
void | setAllowEmptyId (bool allowed) |
Sets whether to allow no ID to be set. | |
void | setAuthConfigId (const QString &authcfg) |
Sets the authentication configuration ID, storing it, and validating the passed value. | |
Signals | |
void | validityChanged (bool valid) |
Validity of the ID has changed. | |
Public Member Functions | |
QgsAuthConfigIdEdit (QWidget *parent=nullptr, const QString &authcfg=QString(), bool allowEmpty=true) | |
Widget to unlock and edit an authentication configuration ID. | |
bool | allowEmptyId () |
Whether to allow no ID to be set. | |
QString const | configId () |
The authentication configuration ID, if valid, otherwise null QString. | |
bool | validate () |
Validate the widget state and ID. | |
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 28 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 90 of file qgsauthconfigidedit.cpp.
const QString QgsAuthConfigIdEdit::configId | ( | ) |
The authentication configuration ID, if valid, otherwise null QString.
Definition at line 45 of file qgsauthconfigidedit.cpp.
|
slot |
Sets whether to allow no ID to be set.
Definition at line 84 of file qgsauthconfigidedit.cpp.
|
slot |
Sets the authentication configuration ID, storing it, and validating the passed value.
Definition at line 74 of file qgsauthconfigidedit.cpp.
bool QgsAuthConfigIdEdit::validate | ( | ) |
Validate the widget state and ID.
Definition at line 54 of file qgsauthconfigidedit.cpp.
|
signal |
Validity of the ID has changed.