Class: QgsEditorWidgetSetup¶
-
class
qgis.core.
QgsEditorWidgetSetup
(type: str, config: Dict[str, Any])¶ Bases:
sip.wrapper
Constructor
QgsEditorWidgetSetup() Constructor for QgsEditorWidgetSetup
QgsEditorWidgetSetup(QgsEditorWidgetSetup)
Holder for the widget type and its configuration for a field.
New in version 3.0: Enums
Methods
- return
the widget configuration to used
- return
True
if there is no widget configured.
- return
the widget type to use
Signals
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