17#ifndef QGSAUTHCONFIGIDEDIT_H
18#define QGSAUTHCONFIGIDEDIT_H
20#include "ui_qgsauthconfigidedit.h"
45 explicit QgsAuthConfigIdEdit( QWidget *parent =
nullptr,
const QString &authcfg = QString(),
bool allowEmpty =
true );
71 void updateValidityStyle(
bool valid );
73 void btnLock_toggled(
bool checked );
75 void leAuthCfg_textChanged(
const QString &txt );
78 bool isAlphaNumeric(
const QString &authcfg );
QgsAuthConfigIdEdit(QWidget *parent=nullptr, const QString &authcfg=QString(), bool allowEmpty=true)
Widget to unlock and edit an authentication configuration ID.
void setAuthConfigId(const QString &authcfg)
Sets the authentication configuration ID, storing it, and validating the passed value.
void validityChanged(bool valid)
Validity of the ID has changed.
void setAllowEmptyId(bool allowed)
Sets whether to allow no ID to be set.
void clear()
Clear all of the widget's editing state and contents.
bool allowEmptyId() const
Whether to allow no ID to be set.
QString configId()
The authentication configuration ID, if valid, otherwise an empty QString.