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 const QString username( )
const;
95 void setUsername(
const QString &username );
101 const QString password( )
const;
107 void setPassword(
const QString &password );
113 const QString configId( )
const;
119 void setConfigId(
const QString &configId );
125 void setDataprovider(
const QString &dataprovider );
131 const QString dataprovider( )
const;
138 static const 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( );
201 void userNameTextChanged(
const QString &text )
SIP_SKIP;
207 void passwordTextChanged(
const QString &text )
SIP_SKIP;
213 QString mDataprovider;
215 void updateConvertBtnState( );
217 void updateSelectedTab( );