QGIS/python/gui/auto_generated/auth/qgsauthmethodedit.sip.in

80 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
2017-12-15 10:36:55 -04:00
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
%End
virtual QgsStringMap configMap() const = 0;
2017-05-31 10:09:57 +02:00
%Docstring
The configuration key-vale map of subclasses
%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
2017-12-15 10:36:55 -04:00
Load an existing config map into subclassed widget
2017-12-15 21:36:08 -04:00
2017-12-15 10:36:55 -04:00
:param configmap:
2017-05-31 10:09:57 +02:00
%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
2017-12-15 10:36:55 -04:00
Construct widget to edit an authentication method configuration
2017-05-31 10:09:57 +02:00
.. note::
Non-public since this is an abstract base class
2017-12-15 21:36:08 -04:00
2017-12-15 10:36:55 -04:00
:param parent: Parent widget
2017-05-31 10:09:57 +02:00
%End
~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 *
************************************************************************/