17 #ifndef QGSAUTHCONFIGSELECT_H 18 #define QGSAUTHCONFIGSELECT_H 22 #include "ui_qgsauthconfigselect.h" 44 void setConfigId(
const QString& authcfg );
50 void setDataProviderKey(
const QString &key );
54 void selectedConfigIdChanged(
const QString& authcfg );
57 void selectedConfigIdRemoved(
const QString& authcfg );
61 void showMessage(
const QString &msg );
69 void validateConfig();
70 void populateConfigSelector();
72 void on_cmbConfigSelect_currentIndexChanged(
int index );
74 void on_btnConfigAdd_clicked();
76 void on_btnConfigEdit_clicked();
78 void on_btnConfigRemove_clicked();
80 void on_btnConfigMsgClear_clicked();
83 void loadAvailableConfigs();
97 #include "ui_qgsauthconfiguriedit.h" 121 void setDataSourceUri(
const QString &datauri );
127 static bool hasConfigID(
const QString &txt );
134 void authCfgUpdated(
const QString &authcfg );
136 void authCfgRemoved(
const QString &authcfg );
143 void selectAuthCfgInUri();
145 void updateUriWithAuthCfg();
147 void removeAuthCfgFromUri();
158 #endif // QGSAUTHCONFIGSELECT_H
Dialog wrapper of select widget to edit an authcfg in a data source URI.
Selector widget for authentication configs.
const QString configId() const
Get the authentication config id for the resource.