QGIS/python/core/auto_generated/qgseditorwidgetsetup.sip.in

61 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
2017-12-15 10:36:55 -04:00
Holder for the widget type and its configuration for a field.
2017-05-14 09:48:41 +02:00
.. 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
2017-12-15 10:36:55 -04:00
Constructor
2017-05-14 09:48:41 +02:00
%End
QgsEditorWidgetSetup();
2017-11-11 15:22:19 +10:00
%Docstring
Constructor for QgsEditorWidgetSetup
%End
QString type() const;
2017-05-14 09:48:41 +02:00
%Docstring
2017-12-15 10:36:55 -04:00
:return: the widget type to use
2017-05-14 09:48:41 +02:00
%End
QVariantMap config() const;
2017-05-14 09:48:41 +02:00
%Docstring
2017-12-15 10:36:55 -04:00
:return: the widget configuration to used
2017-05-14 09:48:41 +02:00
%End
bool isNull() const;
2017-05-14 09:48:41 +02:00
%Docstring
2017-12-15 10:36:55 -04:00
:return: true if there is no widget configured.
2017-05-14 09:48:41 +02:00
%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 *
************************************************************************/