17#ifndef QGSAUTHCONFIGSELECT_H 
   18#define QGSAUTHCONFIGSELECT_H 
   24#include "ui_qgsauthconfigselect.h" 
   47    void setConfigId( 
const QString &authcfg );
 
   50    const QString 
configId()
 const { 
return mAuthCfg; }
 
   53    void setDataProviderKey( 
const QString &key );
 
   64    void showMessage( 
const QString &msg );
 
   72    void validateConfig();
 
   73    void populateConfigSelector();
 
   75    void cmbConfigSelect_currentIndexChanged( 
int index );
 
   77    void btnConfigAdd_clicked();
 
   79    void btnConfigEdit_clicked();
 
   81    void btnConfigRemove_clicked();
 
   83    void btnConfigMsgClear_clicked();
 
   86    void loadAvailableConfigs();
 
   89    QString mDataProvider;
 
   92    bool mDisabled = 
false;
 
   93    QVBoxLayout *mAuthNotifyLayout = 
nullptr;
 
   94    QLabel *mAuthNotify = 
nullptr;
 
   95    bool mTemporarilyBlockLoad = 
false;
 
 
  101#include "ui_qgsauthconfiguriedit.h" 
  123    void setDataSourceUri( 
const QString &datauri );
 
  126    QString dataSourceUri();
 
  129    static bool hasConfigId( 
const QString &txt );
 
  136    void authCfgUpdated( 
const QString &authcfg );
 
  138    void authCfgRemoved( 
const QString &authcfg );
 
  143    QString authCfgFromUri();
 
  145    void selectAuthCfgInUri();
 
  147    void updateUriWithAuthCfg();
 
  149    void removeAuthCfgFromUri();
 
  153    QString mDataUriOrig;
 
  155    bool mDisabled = 
false;
 
  156    QVBoxLayout *mAuthNotifyLayout = 
nullptr;
 
  157    QLabel *mAuthNotify = 
nullptr;
 
 
Selector widget for authentication configs.
 
void selectedConfigIdRemoved(const QString &authcfg)
Emitted when authentication config is removed.
 
void selectedConfigIdChanged(const QString &authcfg)
Emitted when authentication config is changed or missing.
 
const QString configId() const
Gets the authentication config id for the resource.
 
Dialog wrapper of select widget to edit an authcfg in a data source URI.
 
QHash< QString, QgsAuthMethodConfig > QgsAuthMethodConfigsMap