/** \ingroup core * Holder for the widget type and its configuration for a field. */ class QgsEditorWidgetSetup { %TypeHeaderCode #include %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; };