Class: QgsFormAnnotation¶
-
class
qgis.gui.
QgsFormAnnotation
(parent: QObject = None)¶ Bases:
qgis._core.QgsAnnotation
Constructor for QgsFormAnnotation.
An annotation item that embeds a designer form showing the feature attribute
New in version 3.0: Enums
Methods
Returns a new QgsFormAnnotation object.
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.
Signals
Attributes
-
childEvent
()¶
-
clone
(self) → QgsFormAnnotation¶
-
connectNotify
()¶
-
copyCommonProperties
()¶
-
create
() → QgsFormAnnotation¶ Returns a new QgsFormAnnotation object.
-
customEvent
()¶
-
designerForm
(self) → str¶ Returns the path to the Qt Designer UI file to show in the annotation.
See also
-
disconnectNotify
()¶
-
isSignalConnected
()¶
-
minimumFrameSize
(self) → QSizeF¶
-
preferredFrameSize
(self) → QSizeF¶ Returns the optimal frame size
-
readXml
(self, itemElem: QDomElement, context: QgsReadWriteContext)¶
-
receivers
()¶
-
renderAnnotation
(self, context: QgsRenderContext, size: QSizeF)¶
-
sender
()¶
-
senderSignalIndex
()¶
-
setAssociatedFeature
(self, feature: QgsFeature)¶
-
setDesignerForm
(self, uiFile: str)¶ Sets the path to the Qt Designer UI file to show in the annotation.
See also
-
timerEvent
()¶
-
writeXml
(self, elem: QDomElement, doc: QDomDocument, context: QgsReadWriteContext)¶
-