QGIS/python/core/qgseditorwidgetsetup.sip
Denis Rouzaud 93971d5ed3 [sip] align pointer and reference in blacklisted files
this will facilitate sip diff checking
2017-05-01 17:49:43 +02:00

33 lines
599 B
Plaintext

/** \ingroup core
* Holder for the widget type and its configuration for a field.
*/
class QgsEditorWidgetSetup
{
%TypeHeaderCode
#include <qgseditorwidgetsetup.h>
%End
public:
/**
* Constructor
*/
QgsEditorWidgetSetup( const QString &type, const QVariantMap &config );
QgsEditorWidgetSetup();
/**
* @return the widget type to use
*/
QString type() const;
/**
* @return the widget configuration to used
*/
QVariantMap config() const;
/**
* @return true if there is no widget configured.
*/
bool isNull() const;
};