Class: QgsFormAnnotation¶
An annotation item that embeds a designer form showing the feature attribute
Class Hierarchy¶
Base classes¶
Abstract base class for annotation items which are drawn over a map. |
|
Methods
Returns the path to the Qt Designer UI file to show in the annotation. |
|
Returns the optimal frame size |
|
Sets the path to the Qt Designer UI file to show in the annotation. |
Static Methods
Returns a new |
- class qgis.gui.QgsFormAnnotation[source]¶
Bases:
QgsAnnotation
- __init__(parent: QObject | None = None)
Constructor for QgsFormAnnotation.
- Parameters:
parent (Optional[QObject] = None)
- static create() QgsFormAnnotation | None [source]¶
Returns a new
QgsFormAnnotation
object.- Return type:
Optional[QgsFormAnnotation]
- designerForm(self) str [source]¶
Returns the path to the Qt Designer UI file to show in the annotation.
See also
- Return type:
str