QGIS/python/gui/auth/qgsauthmethodedit.sip

79 lines
2.2 KiB
Plaintext
Raw Normal View History

2017-05-31 10:09:57 +02:00
/************************************************************************
* This file has been generated automatically from *
* *
* src/gui/auth/qgsauthmethodedit.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/
class QgsAuthMethodEdit : QWidget
{
2017-05-31 10:09:57 +02:00
%Docstring
Abstract base class for the edit widget of authentication method plugins
%End
2017-05-31 10:09:57 +02:00
%TypeHeaderCode
#include "qgsauthmethodedit.h"
%End
public:
virtual bool validateConfig() = 0;
2017-05-31 10:09:57 +02:00
%Docstring
Validate the configuration of subclasses
:rtype: bool
%End
virtual QgsStringMap configMap() const = 0;
2017-05-31 10:09:57 +02:00
%Docstring
The configuration key-vale map of subclasses
:rtype: QgsStringMap
%End
signals:
void validityChanged( bool valid );
2017-05-31 10:09:57 +02:00
%Docstring
Emitted when the configuration validatity changes
%End
public slots:
2017-05-31 10:09:57 +02:00
virtual void loadConfig( const QgsStringMap &configmap ) = 0;
2017-05-31 10:09:57 +02:00
%Docstring
Load an existing config map into subclassed widget
\param configmap
%End
virtual void resetConfig() = 0;
2017-05-31 10:09:57 +02:00
%Docstring
Clear GUI controls in subclassed widget, optionally reloading any previously loaded config map
%End
virtual void clearConfig() = 0;
2017-05-31 10:09:57 +02:00
%Docstring
Clear GUI controls in subclassed widget
%End
protected:
2017-05-31 10:09:57 +02:00
explicit QgsAuthMethodEdit( QWidget *parent = 0 );
2017-05-31 10:09:57 +02:00
%Docstring
Construct widget to edit an authentication method configuration
.. note::
Non-public since this is an abstract base class
\param parent Parent widget
%End
virtual ~QgsAuthMethodEdit();
};
2017-05-31 10:09:57 +02:00
/************************************************************************
* This file has been generated automatically from *
* *
* src/gui/auth/qgsauthmethodedit.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/