2012-09-24 02:28:15 +02:00
|
|
|
/** \ingroup gui
|
|
|
|
* A generic dialog for requesting credentials
|
|
|
|
*/
|
|
|
|
class QgsCredentialDialog : QDialog, QgsCredentials
|
|
|
|
{
|
|
|
|
%TypeHeaderCode
|
|
|
|
#include <qgscredentialdialog.h>
|
|
|
|
%End
|
|
|
|
|
|
|
|
public:
|
2015-10-07 11:55:34 +11:00
|
|
|
QgsCredentialDialog( QWidget *parent /TransferThis/ = 0, const Qt::WindowFlags& fl = QgisGui::ModalDialogFlags );
|
2012-09-24 02:28:15 +02:00
|
|
|
~QgsCredentialDialog();
|
|
|
|
|
|
|
|
protected:
|
2015-10-07 11:55:34 +11:00
|
|
|
virtual bool request( const QString& realm, QString &username /In,Out/, QString &password /In,Out/, const QString& message = QString::null );
|
2015-09-21 04:43:15 -06:00
|
|
|
|
|
|
|
virtual bool requestMasterPassword( QString &password /In,Out/, bool stored = false );
|
2012-09-24 02:28:15 +02:00
|
|
|
};
|