Subgroup: other
Class: QgsEditorWidgetSetup¶
-
class
qgis.core.
QgsEditorWidgetSetup
¶ Bases:
sip.wrapper
Holder for the widget type and its configuration for a field.
New in version 3.0: Methods
config
return: the widget configuration to used isNull
return: true if there is no widget configured. type
return: the widget type to use Attributes
-
config
(self) → Dict[str, Any]¶ Returns: the widget configuration to used
-
isNull
(self) → bool¶ Returns: true if there is no widget configured.
-
type
(self) → str¶ Returns: the widget type to use
-