Class: QgsHtmlAnnotation¶
-
class
qgis.core.
QgsHtmlAnnotation
(parent: QObject = None)¶ Bases:
qgis._core.QgsAnnotation
Constructor for QgsHtmlAnnotation.
An annotation item that embeds HTML content.
New in version 3.0: Enums
Methods
Returns a new QgsHtmlAnnotation object.
Sets the file path for the source HTML file.
Returns the file path for the source HTML file.
Signals
Attributes
-
childEvent
()¶
-
clone
(self) → QgsHtmlAnnotation¶
-
connectNotify
()¶
-
copyCommonProperties
()¶
-
create
() → QgsHtmlAnnotation¶ Returns a new QgsHtmlAnnotation object.
-
customEvent
()¶
-
disconnectNotify
()¶
-
isSignalConnected
()¶
-
minimumFrameSize
(self) → QSizeF¶
-
readXml
(self, itemElem: QDomElement, context: QgsReadWriteContext)¶
-
receivers
()¶
-
renderAnnotation
(self, context: QgsRenderContext, size: QSizeF)¶
-
sender
()¶
-
senderSignalIndex
()¶
-
setAssociatedFeature
(self, feature: QgsFeature)¶
-
setSourceFile
(self, htmlFile: str)¶ Sets the file path for the source HTML file.
See also
-
sourceFile
(self) → str¶ Returns the file path for the source HTML file.
See also
-
timerEvent
()¶
-
writeXml
(self, elem: QDomElement, doc: QDomDocument, context: QgsReadWriteContext)¶
-