PythonQt.QtSvg.QGraphicsSvgItem · declarations 001
Back to PythonQt.QtSvg.QGraphicsSvgItem
boundingRect
boundingRect() -> Any
X.boundingRect() -> PythonQt.QtCore.QRectF
Supplemental documentation: Qt 5 reference:
[override virtual] QRectF QGraphicsSvgItem::boundingRect() const
Reimplements: QGraphicsItem::boundingRect() const.
Returns the bounding rectangle of this item.
Upstream PySide2 reference signatures (binding differences may apply):
boundingRect(self) -> PySide2.QtCore.QRectF
Source: https://doc.qt.io/archives/qt-5.15/qgraphicssvgitem.html#boundingRect
childrenChanged
childrenChanged(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtSvg.QGraphicsSvgItem.childrenChanged; argument details are not documented.
destroyed
destroyed(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtSvg.QGraphicsSvgItem.destroyed; argument details are not documented.
elementId
instance-attribute
elementId: str
Qt 5 reference:
elementId : QString
This property holds the element's XML ID.
This property was introduced in Qt 4.6.
Access functions:
| QString | elementId() const |
|---|---|
| void | setElementId(const QString \&id) |
QString QGraphicsSvgItem::elementId() const
Returns the XML ID the element that is currently being rendered. Returns an empty string if the whole file is being rendered.
Note: Getter function for property elementId.
See also setElementId().
Source: https://doc.qt.io/archives/qt-5.15/qgraphicssvgitem.html#elementId
enabledChanged
enabledChanged(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtSvg.QGraphicsSvgItem.enabledChanged; argument details are not documented.
heightChanged
heightChanged(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtSvg.QGraphicsSvgItem.heightChanged; argument details are not documented.
isCachingEnabled
isCachingEnabled() -> bool
X.isCachingEnabled() -> bool
Upstream PySide2 reference signatures (binding differences may apply):
isCachingEnabled(self) -> bool
Source: https://doc.qt.io/archives/qt-5.15/qgraphicssvgitem.html#isCachingEnabled
maximumCacheSize
instance-attribute
maximumCacheSize: QSize
Qt 5 reference:
maximumCacheSize : QSize
This property holds the maximum size of the device coordinate cache for this item.
This property was introduced in Qt 4.6.
Access functions:
| QSize | maximumCacheSize() const |
|---|---|
| void | setMaximumCacheSize(const QSize \&size) |
QSize QGraphicsSvgItem::maximumCacheSize() const
Returns the current maximum size of the device coordinate cache for this item. If the item is cached using QGraphicsItem::DeviceCoordinateCache mode, caching is bypassed if the extension of the item in device coordinates is larger than the maximum size.
The default maximum cache size is 1024x768. QPixmapCache::cacheLimit() gives the cumulative bounds of the whole cache, whereas maximumCacheSize() refers to a maximum cache size for this particular item.
Note: Getter function for property maximumCacheSize.
See also setMaximumCacheSize() and QGraphicsItem::cacheMode().
Source: https://doc.qt.io/archives/qt-5.15/qgraphicssvgitem.html#maximumCacheSize
objectNameChanged
objectNameChanged(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtSvg.QGraphicsSvgItem.objectNameChanged; argument details are not documented.
opacityChanged
opacityChanged(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtSvg.QGraphicsSvgItem.opacityChanged; argument details are not documented.
paint
paint(painter: Any, option: Any, widget: Any) -> None
X.paint(painter, option, widget)
Supplemental documentation: Qt 5 reference:
[override virtual] void QGraphicsSvgItem::paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget \= nullptr)
Reimplements: QGraphicsItem::paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget).
Upstream PySide2 reference signatures (binding differences may apply):
paint(self, painter: PySide2.QtGui.QPainter, option: PySide2.QtWidgets.QStyleOptionGraphicsItem, widget: typing.Optional[PySide2.QtWidgets.QWidget]=...) -> None
Source: https://doc.qt.io/archives/qt-5.15/qgraphicssvgitem.html#paint
parentChanged
parentChanged(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtSvg.QGraphicsSvgItem.parentChanged; argument details are not documented.
renderer
renderer() -> Any
X.renderer() -> PythonQt.QtSvg.QSvgRenderer
Supplemental documentation: Qt 5 reference:
QSvgRenderer *QGraphicsSvgItem::renderer() const
Returns the currently use QSvgRenderer.
Upstream PySide2 reference signatures (binding differences may apply):
renderer(self) -> PySide2.QtSvg.QSvgRenderer
Source: https://doc.qt.io/archives/qt-5.15/qgraphicssvgitem.html#renderer
rotationChanged
rotationChanged(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtSvg.QGraphicsSvgItem.rotationChanged; argument details are not documented.
scaleChanged
scaleChanged(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtSvg.QGraphicsSvgItem.scaleChanged; argument details are not documented.
setCachingEnabled
setCachingEnabled(arg__1: bool) -> None
X.setCachingEnabled(arg__1)
Upstream PySide2 reference signatures (binding differences may apply):
setCachingEnabled(self, arg__1: bool) -> None
Source: https://doc.qt.io/archives/qt-5.15/qgraphicssvgitem.html#setCachingEnabled
setElementId
setElementId(id: str) -> None
X.setElementId(id)
Supplemental documentation: Qt 5 reference:
void QGraphicsSvgItem::setElementId(const QString \&id)
Sets the XML ID of the element to id.
Note: Setter function for property elementId.
See also elementId().
Upstream PySide2 reference signatures (binding differences may apply):
setElementId(self, id: str) -> None
Source: https://doc.qt.io/archives/qt-5.15/qgraphicssvgitem.html#setElementId
setMaximumCacheSize
setMaximumCacheSize(size: Any) -> None
X.setMaximumCacheSize(size)
Supplemental documentation: Qt 5 reference:
void QGraphicsSvgItem::setMaximumCacheSize(const QSize \&size)
Sets the maximum device coordinate cache size of the item to size. If the item is cached using QGraphicsItem::DeviceCoordinateCache mode, caching is bypassed if the extension of the item in device coordinates is larger than size.
The cache corresponds to the QPixmap which is used to cache the results of the rendering. Use QPixmapCache::setCacheLimit() to set limitations on the whole cache and use setMaximumCacheSize() when setting cache size for individual items.
Note: Setter function for property maximumCacheSize.
See also maximumCacheSize() and QGraphicsItem::cacheMode().
Upstream PySide2 reference signatures (binding differences may apply):
setMaximumCacheSize(self, size: PySide2.QtCore.QSize) -> None
Source: https://doc.qt.io/archives/qt-5.15/qgraphicssvgitem.html#setMaximumCacheSize
setSharedRenderer
setSharedRenderer(renderer: Any) -> None
X.setSharedRenderer(renderer)
Supplemental documentation: Qt 5 reference:
void QGraphicsSvgItem::setSharedRenderer(QSvgRenderer *renderer)
Sets renderer to be a shared QSvgRenderer on the item. By using this method one can share the same QSvgRenderer on a number of items. This means that the SVG file will be parsed only once. QSvgRenderer passed to this method has to exist for as long as this item is used.
Upstream PySide2 reference signatures (binding differences may apply):
setSharedRenderer(self, renderer: PySide2.QtSvg.QSvgRenderer) -> None
Source: https://doc.qt.io/archives/qt-5.15/qgraphicssvgitem.html#setSharedRenderer
type
type() -> int
X.type() -> int
Supplemental documentation: Qt 5 reference:
[override virtual] int QGraphicsSvgItem::type() const
Reimplements: QGraphicsItem::type() const.
Upstream PySide2 reference signatures (binding differences may apply):
type(self) -> int
Source: https://doc.qt.io/archives/qt-5.15/qgraphicssvgitem.html#type
visibleChanged
visibleChanged(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtSvg.QGraphicsSvgItem.visibleChanged; argument details are not documented.
widthChanged
widthChanged(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtSvg.QGraphicsSvgItem.widthChanged; argument details are not documented.
xChanged
xChanged(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtSvg.QGraphicsSvgItem.xChanged; argument details are not documented.
yChanged
yChanged(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtSvg.QGraphicsSvgItem.yChanged; argument details are not documented.
zChanged
zChanged(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtSvg.QGraphicsSvgItem.zChanged; argument details are not documented.