QGIS/python/core/auto_generated/qgseditorwidgetsetup.sip.in
2024-08-13 20:28:55 +10:00

58 lines
1.7 KiB
Plaintext

/************************************************************************
* This file has been generated automatically from *
* *
* src/core/qgseditorwidgetsetup.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.py again *
************************************************************************/
class QgsEditorWidgetSetup
{
%Docstring(signature="appended")
Holder for the widget type and its configuration for a field.
%End
%TypeHeaderCode
#include "qgseditorwidgetsetup.h"
%End
public:
QgsEditorWidgetSetup( const QString &type, const QVariantMap &config );
%Docstring
Constructor
%End
QgsEditorWidgetSetup();
QString type() const;
%Docstring
:return: the widget type to use
%End
QVariantMap config() const;
%Docstring
:return: the widget configuration to used
%End
bool isNull() const;
%Docstring
:return: ``True`` if there is no widget configured.
%End
bool operator==( const QgsEditorWidgetSetup &other ) const;
};
/************************************************************************
* This file has been generated automatically from *
* *
* src/core/qgseditorwidgetsetup.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.py again *
************************************************************************/