Class: QgsHtmlWidgetWrapper¶
-
class
qgis.gui.
QgsHtmlWidgetWrapper
(layer: QgsVectorLayer, editor: QWidget, parent: QWidget)¶ Bases:
qgis._gui.QgsWidgetWrapper
Create a html widget wrapper
- Parameters
layer – The layer on which the feature is
editor – An editor widget. Can be
None
if one should be autogenerated.parent – A parent widget
Wraps a QQuickWidget to display HTML code
New in version 3.4: Enums
Methods
Clears the content and makes new initialization
Sets the HTML code to
htmlCode
Signals
Attributes
-
childEvent
()¶
-
connectNotify
()¶
-
createWidget
(self, parent: QWidget) → QWidget¶
-
customEvent
()¶
-
disconnectNotify
()¶
-
initWidget
(self, editor: QWidget)¶
-
isSignalConnected
()¶
-
receivers
()¶
-
reinitWidget
(self)¶ Clears the content and makes new initialization
-
sender
()¶
-
senderSignalIndex
()¶
-
setFeature
(self, feature: QgsFeature)¶
-
setHtmlCode
(self, htmlCode: str)¶ Sets the HTML code to
htmlCode
-
timerEvent
()¶
-
valid
(self) → bool¶