QGIS API Documentation
4.3.0-Master (16eddb2670e)
Toggle main menu visibility
Loading...
Searching...
No Matches
src
gui
auth
qgsauthmethodedit.h
Go to the documentation of this file.
1
/***************************************************************************
2
qgsauthbasicedit.h
3
---------------------
4
begin : September 1, 2015
5
copyright : (C) 2015 by Boundless Spatial, Inc. USA
6
author : Larry Shaffer
7
email : lshaffer at boundlessgeo dot com
8
***************************************************************************
9
* *
10
* This program is free software; you can redistribute it and/or modify *
11
* it under the terms of the GNU General Public License as published by *
12
* the Free Software Foundation; either version 2 of the License, or *
13
* (at your option) any later version. *
14
* *
15
***************************************************************************/
16
17
#ifndef QGSAUTHMETHODEDIT_H
18
#define QGSAUTHMETHODEDIT_H
19
20
#include "
qgis.h
"
21
#include "qgis_gui.h"
22
23
#include <QWidget>
24
29
class
GUI_EXPORT
QgsAuthMethodEdit
:
public
QWidget
30
{
31
Q_OBJECT
32
33
public
:
35
virtual
bool
validateConfig
() = 0;
36
38
virtual
QgsStringMap
configMap
()
const
= 0;
39
40
signals:
42
void
validityChanged
(
bool
valid );
43
44
public
slots:
45
50
virtual
void
loadConfig
(
const
QgsStringMap
&configmap ) = 0;
51
53
virtual
void
resetConfig
() = 0;
54
56
virtual
void
clearConfig
() = 0;
57
58
protected
:
64
explicit
QgsAuthMethodEdit
( QWidget *parent =
nullptr
)
65
: QWidget( parent )
66
{}
67
68
~QgsAuthMethodEdit
()
override
=
default
;
69
};
70
71
#endif
// QGSAUTHMETHODEDIT_H
QgsAuthMethodEdit::validateConfig
virtual bool validateConfig()=0
Validate the configuration of subclasses.
QgsAuthMethodEdit::validityChanged
void validityChanged(bool valid)
Emitted when the configuration validatity changes.
QgsAuthMethodEdit::~QgsAuthMethodEdit
~QgsAuthMethodEdit() override=default
QgsAuthMethodEdit::clearConfig
virtual void clearConfig()=0
Clear GUI controls in subclassed widget.
QgsAuthMethodEdit::resetConfig
virtual void resetConfig()=0
Clear GUI controls in subclassed widget, optionally reloading any previously loaded config map.
QgsAuthMethodEdit::configMap
virtual QgsStringMap configMap() const =0
The configuration key-vale map of subclasses.
QgsAuthMethodEdit::QgsAuthMethodEdit
QgsAuthMethodEdit(QWidget *parent=nullptr)
Construct widget to edit an authentication method configuration.
Definition
qgsauthmethodedit.h:64
QgsAuthMethodEdit::loadConfig
virtual void loadConfig(const QgsStringMap &configmap)=0
Load an existing config map into subclassed widget.
qgis.h
QgsStringMap
QMap< QString, QString > QgsStringMap
Definition
qgis.h:8350
Generated on
for QGIS API Documentation by
1.17.0