Class: QgsAttributeEditorQmlElement¶
An attribute editor widget that will represent arbitrary QML code.
Added in version 3.4.
Class Hierarchy¶
Base classes¶
This is an abstract base class for any elements of a drag and drop form.  | 
Methods
The QML code that will be represented within this widget.  | 
|
Sets the QML code that will be represented within this widget to qmlCode.  | 
- class qgis.core.QgsAttributeEditorQmlElement[source]¶
 Bases:
QgsAttributeEditorElement- __init__(name: str | None, parent: QgsAttributeEditorElement | None)
 Creates a new element which can display QML
- Parameters:
 name (Optional[str]) – The name of the widget
parent (Optional[QgsAttributeEditorElement]) – The parent (used as container)
- __init__(a0: QgsAttributeEditorQmlElement)
 - Parameters: