16 #ifndef QGSAUTHSETTINGSWIDGET_H
17 #define QGSAUTHSETTINGSWIDGET_H
22 #include "ui_qgsauthsettingswidget.h"
67 const QString &configId = QString(),
68 const QString &username = QString(),
69 const QString &password = QString(),
70 const QString &dataprovider = QString() );
77 void setWarningText(
const QString &warningText );
83 void setBasicText(
const QString &basicText );
89 QString username()
const;
95 void setUsername(
const QString &username );
101 QString password()
const;
107 void setPassword(
const QString &password );
113 QString configId()
const;
119 void setConfigId(
const QString &configId );
125 void setDataprovider(
const QString &dataprovider );
131 QString dataprovider()
const;
138 static QString formattedWarning(
WarningType warning );
144 bool btnConvertToEncryptedIsEnabled()
const;
153 void showStoreCheckboxes(
bool enabled );
160 void setStoreUsernameChecked(
bool checked );
167 void setStorePasswordChecked(
bool checked );
173 bool storePasswordIsChecked()
const;
179 bool storeUsernameIsChecked()
const;
185 bool configurationTabIsSelected();
195 bool convertToEncrypted();
204 void usernameChanged();
211 void passwordChanged();
218 void configIdChanged();
225 void userNameTextChanged(
const QString &text );
230 void passwordTextChanged(
const QString &text );
235 QString mDataprovider;
237 void updateConvertBtnState();
239 void updateSelectedTab();
243 #endif // QGSAUTHSETTINGSWIDGET_H