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.
QgsEditorWidgetSetup(type: str, config: Dict[str, Any]) Constructor
QgsEditorWidgetSetup() Constructor for QgsEditorWidgetSetup
QgsEditorWidgetSetup(
QgsEditorWidgetSetup
)- config(self) Dict[str, Any] ¶
- Return type:
Dict[str, Any]
- Returns:
the widget configuration to used
- isNull(self) bool ¶
- Return type:
bool
- Returns:
True
if there is no widget configured.
- type(self) str ¶
- Return type:
str
- Returns:
the widget type to use