QgsEditorWidgetSetup class

Holder for the widget type and its configuration for a field.

Constructors, destructors, conversion operators

QgsEditorWidgetSetup(const QString& type, const QVariantMap& config)
Constructor.
QgsEditorWidgetSetup() defaulted
Constructor for QgsEditorWidgetSetup.

Public functions

auto config() const -> QVariantMap
auto isNull() const -> bool
auto type() const -> QString

Function documentation

QVariantMap QgsEditorWidgetSetup::config() const

Returns the widget configuration to used

bool QgsEditorWidgetSetup::isNull() const

Returns true if there is no widget configured.

QString QgsEditorWidgetSetup::type() const

Returns the widget type to use