edifice.ImageSvg#
- class edifice.ImageSvg(src, **kwargs)[source]#
Bases:
QtWidgetElement
An SVG Image container.
Underlying Qt Widget QSvgWidget
- Parameters:
src (
str
|QByteArray
) – Either a path to an SVG image file, or aQByteArray
containing the serialized XML representation of an SVG file.
Methods
__init__
(src, **kwargs)register_ref
(reference)Registers provided
Reference
to this Element.set_key
(key)Sets the key of the Element.
Attributes
children
The children of this Element.
props
The props of this Element.
underlying
The underlying QWidget, which may not exist if this Element has not rendered.