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 );
48 QString
const configId();
62 void setAuthConfigId(
const QString &authcfg );
65 void setAllowEmptyId(
bool allowed );
71 void updateValidityStyle(
bool valid );
73 void btnLock_toggled(
bool checked );
75 void leAuthCfg_textChanged(
const QString &txt );
78 bool isAlphaNumeric(
const QString &authcfg );
Custom widget for editing an authentication configuration ID.
bool allowEmptyId()
Whether to allow no ID to be set.
void validityChanged(bool valid)
Validity of the ID has changed.