QGIS API Documentation
2.10.1-Pisa
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
src
gui
qgscredentialdialog.h
Go to the documentation of this file.
1
/***************************************************************************
2
qgscredentialdialog.h - description
3
-------------------
4
begin : February 2010
5
copyright : (C) 2010 by Juergen E. Fischer
6
email : jef at norbit dot de
7
***************************************************************************/
8
9
/***************************************************************************
10
* *
11
* This program is free software; you can redistribute it and/or modify *
12
* it under the terms of the GNU General Public License as published by *
13
* the Free Software Foundation; either version 2 of the License, or *
14
* (at your option) any later version. *
15
* *
16
***************************************************************************/
17
#ifndef QGSCREDENTIALDIALOG_H
18
#define QGSCREDENTIALDIALOG_H
19
20
#include <ui_qgscredentialdialog.h>
21
#include <
qgisgui.h
>
22
#include "
qgscredentials.h
"
23
24
#include <QString>
25
26
30
class
GUI_EXPORT
QgsCredentialDialog
:
public
QDialog
,
public
QgsCredentials
,
private
Ui_QgsCredentialDialog
31
{
32
Q_OBJECT
33
public
:
34
QgsCredentialDialog
(
QWidget
*parent = 0,
Qt::WindowFlags
fl =
QgisGui::ModalDialogFlags
);
35
~
QgsCredentialDialog
();
36
37
signals:
38
void
credentialsRequested(
QString
,
QString
*,
QString
*,
QString
,
bool
* );
39
40
private
slots:
41
void
requestCredentials(
QString
,
QString
*,
QString
*,
QString
,
bool
* );
42
43
protected
:
44
virtual
bool
request
(
QString
realm,
QString
&username,
QString
&password,
QString
message = QString::null )
override
;
45
};
46
47
#endif
QgisGui::ModalDialogFlags
static const Qt::WindowFlags ModalDialogFlags
Definition:
qgisgui.h:48
QWidget
QgsCredentials
Interface for requesting credentials in QGIS in GUI independent way.
Definition:
qgscredentials.h:37
QgsCredentials::request
virtual bool request(QString realm, QString &username, QString &password, QString message=QString::null)=0
request a password
QString
QDialog
qgscredentials.h
Qt::WindowFlags
typedef WindowFlags
qgisgui.h
QgsCredentialDialog
A generic dialog for requesting credentials.
Definition:
qgscredentialdialog.h:30
Generated on Sat Aug 22 2015 02:53:41 for QGIS API Documentation by
1.8.6