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 *
|
|
|
|
************************************************************************/
|
|
|
|
|
|
|
|
|
|
|
|
|
2016-07-15 12:11:43 +02:00
|
|
|
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
|
|
|
|
|
2016-07-15 12:11:43 +02:00
|
|
|
%TypeHeaderCode
|
2017-05-14 09:48:41 +02:00
|
|
|
#include "qgseditorwidgetsetup.h"
|
2016-07-15 12:11:43 +02:00
|
|
|
%End
|
|
|
|
public:
|
2017-05-14 09:48:41 +02:00
|
|
|
|
2017-05-01 16:42:33 +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
|
|
|
|
|
2016-07-15 12:11:43 +02:00
|
|
|
QgsEditorWidgetSetup();
|
2017-11-11 15:22:19 +10:00
|
|
|
%Docstring
|
|
|
|
Constructor for QgsEditorWidgetSetup
|
|
|
|
%End
|
2016-07-15 12:11:43 +02:00
|
|
|
|
|
|
|
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
|
2016-07-15 12:11:43 +02:00
|
|
|
|
2016-12-05 11:24:30 +01:00
|
|
|
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
|
2016-07-15 12:11:43 +02:00
|
|
|
|
|
|
|
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
|
2016-07-15 12:11:43 +02:00
|
|
|
|
2017-05-14 09:48:41 +02:00
|
|
|
};
|
2016-07-15 12:11:43 +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 *
|
|
|
|
************************************************************************/
|