QGIS/python/core/qgseditorwidgetsetup.sip

58 lines
1.6 KiB
Plaintext
Raw Normal View History

2017-05-14 09:48:41 +02:00
/************************************************************************
* This file has been generated automatically from *
* *
* src/core/qgseditorwidgetsetup.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/
class QgsEditorWidgetSetup
{
2017-05-14 09:48:41 +02:00
%Docstring
Holder for the widget type and its configuration for a field.
.. versionadded:: 3.0
%End
%TypeHeaderCode
2017-05-14 09:48:41 +02:00
#include "qgseditorwidgetsetup.h"
%End
public:
2017-05-14 09:48:41 +02:00
QgsEditorWidgetSetup( const QString &type, const QVariantMap &config );
2017-05-14 09:48:41 +02:00
%Docstring
Constructor
%End
QgsEditorWidgetSetup();
QString type() const;
2017-05-14 09:48:41 +02:00
%Docstring
:return: the widget type to use
:rtype: str
%End
QVariantMap config() const;
2017-05-14 09:48:41 +02:00
%Docstring
:return: the widget configuration to used
:rtype: QVariantMap
%End
bool isNull() const;
2017-05-14 09:48:41 +02:00
%Docstring
:return: true if there is no widget configured.
:rtype: bool
%End
2017-05-14 09:48:41 +02:00
};
2017-05-14 09:48:41 +02:00
/************************************************************************
* This file has been generated automatically from *
* *
* src/core/qgseditorwidgetsetup.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/