KLayout 0.29.8 (2024-10-28 63dd591e5) [master]

API reference - Class QGraphicsSvgItem

Notation used in Ruby API documentation

Module: QtSvg

Description: Binding of QGraphicsSvgItem

Class hierarchy: QGraphicsSvgItem » QGraphicsObject » QObject

Public constructors

new QGraphicsSvgItemnew(QGraphicsItem ptr parentItem = nullptr)Constructor QGraphicsSvgItem::QGraphicsSvgItem(QGraphicsItem *parentItem)
new QGraphicsSvgItemnew(string fileName,
QGraphicsItem ptr parentItem = nullptr)
Constructor QGraphicsSvgItem::QGraphicsSvgItem(const QString &fileName, QGraphicsItem *parentItem)

Public methods

[const]QGraphicsSvgItem ptr_const_castReturns a non-const reference to self.
void_createEnsures the C++ object is created
void_destroyExplicitly destroys the object
[const]bool_destroyed?Returns a value indicating whether the object was already destroyed
[const]bool_is_const_object?Returns a value indicating whether the reference is a const reference
void_manageMarks the object as managed by the script side.
void_unmanageMarks the object as no longer owned by the script side.
voidadvance(int phase)Virtual method void QGraphicsSvgItem::advance(int phase)
[const]QRectFboundingRectVirtual method QRectF QGraphicsSvgItem::boundingRect()
[const]boolcachingEnabledMethod bool QGraphicsSvgItem::isCachingEnabled()
voidcachingEnabled=(bool arg1)Method void QGraphicsSvgItem::setCachingEnabled(bool)
[signal]voidchildrenChangedSignal declaration for QGraphicsSvgItem::childrenChanged()
[const]boolcollidesWithItem(const QGraphicsItem ptr other,
const Qt_ItemSelectionMode mode)
Virtual method bool QGraphicsSvgItem::collidesWithItem(const QGraphicsItem *other, Qt::ItemSelectionMode mode)
[const]boolcollidesWithPath(const QPainterPath path,
const Qt_ItemSelectionMode mode)
Virtual method bool QGraphicsSvgItem::collidesWithPath(const QPainterPath &path, Qt::ItemSelectionMode mode)
[const]boolcontains(const QPointF point)Virtual method bool QGraphicsSvgItem::contains(const QPointF &point)
[signal]voiddestroyed(QObject ptr arg1)Signal declaration for QGraphicsSvgItem::destroyed(QObject *)
[const]stringelementIdMethod QString QGraphicsSvgItem::elementId()
voidelementId=(string id)Method void QGraphicsSvgItem::setElementId(const QString &id)
voidemit_childrenChangedEmitter for signal void QGraphicsSvgItem::childrenChanged()
voidemit_destroyed(QObject ptr arg1 = nullptr)Emitter for signal void QGraphicsSvgItem::destroyed(QObject *)
voidemit_enabledChangedEmitter for signal void QGraphicsSvgItem::enabledChanged()
voidemit_heightChangedEmitter for signal void QGraphicsSvgItem::heightChanged()
voidemit_objectNameChanged(string objectName)Emitter for signal void QGraphicsSvgItem::objectNameChanged(const QString &objectName)
voidemit_opacityChangedEmitter for signal void QGraphicsSvgItem::opacityChanged()
voidemit_parentChangedEmitter for signal void QGraphicsSvgItem::parentChanged()
voidemit_rotationChangedEmitter for signal void QGraphicsSvgItem::rotationChanged()
voidemit_scaleChangedEmitter for signal void QGraphicsSvgItem::scaleChanged()
voidemit_visibleChangedEmitter for signal void QGraphicsSvgItem::visibleChanged()
voidemit_widthChangedEmitter for signal void QGraphicsSvgItem::widthChanged()
voidemit_xChangedEmitter for signal void QGraphicsSvgItem::xChanged()
voidemit_yChangedEmitter for signal void QGraphicsSvgItem::yChanged()
voidemit_zChangedEmitter for signal void QGraphicsSvgItem::zChanged()
[signal]voidenabledChangedSignal declaration for QGraphicsSvgItem::enabledChanged()
booleventFilter(QObject ptr watched,
QEvent ptr event)
Virtual method bool QGraphicsSvgItem::eventFilter(QObject *watched, QEvent *event)
[signal]voidheightChangedSignal declaration for QGraphicsSvgItem::heightChanged()
[const]boolisCachingEnabled?Method bool QGraphicsSvgItem::isCachingEnabled()
[const]boolisObscuredBy(const QGraphicsItem ptr item)Virtual method bool QGraphicsSvgItem::isObscuredBy(const QGraphicsItem *item)
[const]QSizemaximumCacheSizeMethod QSize QGraphicsSvgItem::maximumCacheSize()
voidmaximumCacheSize=(const QSize size)Method void QGraphicsSvgItem::setMaximumCacheSize(const QSize &size)
[signal]voidobjectNameChanged(string objectName)Signal declaration for QGraphicsSvgItem::objectNameChanged(const QString &objectName)
[signal]voidopacityChangedSignal declaration for QGraphicsSvgItem::opacityChanged()
[const]QPainterPathopaqueAreaVirtual method QPainterPath QGraphicsSvgItem::opaqueArea()
voidpaint(QPainter ptr painter,
const QStyleOptionGraphicsItem ptr option,
QWidget ptr widget)
Virtual method void QGraphicsSvgItem::paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget)
[signal]voidparentChangedSignal declaration for QGraphicsSvgItem::parentChanged()
[const]QSvgRenderer ptrrendererMethod QSvgRenderer *QGraphicsSvgItem::renderer()
[signal]voidrotationChangedSignal declaration for QGraphicsSvgItem::rotationChanged()
[signal]voidscaleChangedSignal declaration for QGraphicsSvgItem::scaleChanged()
voidsetCachingEnabled(bool arg1)Method void QGraphicsSvgItem::setCachingEnabled(bool)
voidsetElementId(string id)Method void QGraphicsSvgItem::setElementId(const QString &id)
voidsetMaximumCacheSize(const QSize size)Method void QGraphicsSvgItem::setMaximumCacheSize(const QSize &size)
voidsetSharedRenderer(QSvgRenderer ptr renderer)Method void QGraphicsSvgItem::setSharedRenderer(QSvgRenderer *renderer)
[const]QPainterPathshapeVirtual method QPainterPath QGraphicsSvgItem::shape()
[const]inttypeVirtual method int QGraphicsSvgItem::type()
[signal]voidvisibleChangedSignal declaration for QGraphicsSvgItem::visibleChanged()
[signal]voidwidthChangedSignal declaration for QGraphicsSvgItem::widthChanged()
[signal]voidxChangedSignal declaration for QGraphicsSvgItem::xChanged()
[signal]voidyChangedSignal declaration for QGraphicsSvgItem::yChanged()
[signal]voidzChangedSignal declaration for QGraphicsSvgItem::zChanged()

Public static methods and constants

QMetaObjectstaticMetaObjectObtains the static MetaObject for this class.
stringtr(string s,
string c = nullptr,
int n = -1)
Static method QString QGraphicsSvgItem::tr(const char *s, const char *c, int n)
stringtrUtf8(string s,
string c = nullptr,
int n = -1)
Static method QString QGraphicsSvgItem::trUtf8(const char *s, const char *c, int n)

Protected methods (static, non-static and constructors)

voidaddToIndexMethod void QGraphicsSvgItem::addToIndex()
voidchildEvent(QChildEvent ptr event)Virtual method void QGraphicsSvgItem::childEvent(QChildEvent *event)
voidcontextMenuEvent(QGraphicsSceneContextMenuEvent ptr event)Virtual method void QGraphicsSvgItem::contextMenuEvent(QGraphicsSceneContextMenuEvent *event)
voidcustomEvent(QEvent ptr event)Virtual method void QGraphicsSvgItem::customEvent(QEvent *event)
voiddisconnectNotify(const QMetaMethod signal)Virtual method void QGraphicsSvgItem::disconnectNotify(const QMetaMethod &signal)
voiddragEnterEvent(QGraphicsSceneDragDropEvent ptr event)Virtual method void QGraphicsSvgItem::dragEnterEvent(QGraphicsSceneDragDropEvent *event)
voiddragLeaveEvent(QGraphicsSceneDragDropEvent ptr event)Virtual method void QGraphicsSvgItem::dragLeaveEvent(QGraphicsSceneDragDropEvent *event)
voiddragMoveEvent(QGraphicsSceneDragDropEvent ptr event)Virtual method void QGraphicsSvgItem::dragMoveEvent(QGraphicsSceneDragDropEvent *event)
voiddropEvent(QGraphicsSceneDragDropEvent ptr event)Virtual method void QGraphicsSvgItem::dropEvent(QGraphicsSceneDragDropEvent *event)
boolevent(QEvent ptr ev)Virtual method bool QGraphicsSvgItem::event(QEvent *ev)
[const]variantextension(variant variant)Virtual method QVariant QGraphicsSvgItem::extension(const QVariant &variant)
voidfocusInEvent(QFocusEvent ptr event)Virtual method void QGraphicsSvgItem::focusInEvent(QFocusEvent *event)
voidfocusOutEvent(QFocusEvent ptr event)Virtual method void QGraphicsSvgItem::focusOutEvent(QFocusEvent *event)
voidhoverEnterEvent(QGraphicsSceneHoverEvent ptr event)Virtual method void QGraphicsSvgItem::hoverEnterEvent(QGraphicsSceneHoverEvent *event)
voidhoverLeaveEvent(QGraphicsSceneHoverEvent ptr event)Virtual method void QGraphicsSvgItem::hoverLeaveEvent(QGraphicsSceneHoverEvent *event)
voidhoverMoveEvent(QGraphicsSceneHoverEvent ptr event)Virtual method void QGraphicsSvgItem::hoverMoveEvent(QGraphicsSceneHoverEvent *event)
voidinputMethodEvent(QInputMethodEvent ptr event)Virtual method void QGraphicsSvgItem::inputMethodEvent(QInputMethodEvent *event)
[const]variantinputMethodQuery(const Qt_InputMethodQuery query)Virtual method QVariant QGraphicsSvgItem::inputMethodQuery(Qt::InputMethodQuery query)
[const]boolisSignalConnected(const QMetaMethod signal)Method bool QGraphicsSvgItem::isSignalConnected(const QMetaMethod &signal)
variantitemChange(const QGraphicsItem_GraphicsItemChange change,
variant value)
Virtual method QVariant QGraphicsSvgItem::itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant &value)
voidkeyPressEvent(QKeyEvent ptr event)Virtual method void QGraphicsSvgItem::keyPressEvent(QKeyEvent *event)
voidkeyReleaseEvent(QKeyEvent ptr event)Virtual method void QGraphicsSvgItem::keyReleaseEvent(QKeyEvent *event)
voidmouseDoubleClickEvent(QGraphicsSceneMouseEvent ptr event)Virtual method void QGraphicsSvgItem::mouseDoubleClickEvent(QGraphicsSceneMouseEvent *event)
voidmouseMoveEvent(QGraphicsSceneMouseEvent ptr event)Virtual method void QGraphicsSvgItem::mouseMoveEvent(QGraphicsSceneMouseEvent *event)
voidmousePressEvent(QGraphicsSceneMouseEvent ptr event)Virtual method void QGraphicsSvgItem::mousePressEvent(QGraphicsSceneMouseEvent *event)
voidmouseReleaseEvent(QGraphicsSceneMouseEvent ptr event)Virtual method void QGraphicsSvgItem::mouseReleaseEvent(QGraphicsSceneMouseEvent *event)
voidprepareGeometryChangeMethod void QGraphicsSvgItem::prepareGeometryChange()
[const]intreceivers(string signal)Method int QGraphicsSvgItem::receivers(const char *signal)
voidremoveFromIndexMethod void QGraphicsSvgItem::removeFromIndex()
boolsceneEvent(QEvent ptr event)Virtual method bool QGraphicsSvgItem::sceneEvent(QEvent *event)
boolsceneEventFilter(QGraphicsItem ptr watched,
QEvent ptr event)
Virtual method bool QGraphicsSvgItem::sceneEventFilter(QGraphicsItem *watched, QEvent *event)
[const]QObject ptrsenderMethod QObject *QGraphicsSvgItem::sender()
[const]intsenderSignalIndexMethod int QGraphicsSvgItem::senderSignalIndex()
voidsetExtension(unsigned int extension,
variant variant)
Virtual method void QGraphicsSvgItem::setExtension(QGraphicsItem::Extension extension, const QVariant &variant)
[const]boolsupportsExtension(unsigned int extension)Virtual method bool QGraphicsSvgItem::supportsExtension(QGraphicsItem::Extension extension)
voidtimerEvent(QTimerEvent ptr event)Virtual method void QGraphicsSvgItem::timerEvent(QTimerEvent *event)
voidupdateMicroFocusMethod void QGraphicsSvgItem::updateMicroFocus()
voidwheelEvent(QGraphicsSceneWheelEvent ptr event)Virtual method void QGraphicsSvgItem::wheelEvent(QGraphicsSceneWheelEvent *event)

Detailed description

_const_cast

Signature: [const] QGraphicsSvgItem ptr _const_cast

Description: Returns a non-const reference to self.

Basically, this method allows turning a const object reference to a non-const one. This method is provided as last resort to remove the constness from an object. Usually there is a good reason for a const object reference, so using this method may have undesired side effects.

This method has been introduced in version 0.29.6.

_create

Signature: void _create

Description: Ensures the C++ object is created

Use this method to ensure the C++ object is created, for example to ensure that resources are allocated. Usually C++ objects are created on demand and not necessarily when the script object is created.

_destroy

Signature: void _destroy

Description: Explicitly destroys the object

Explicitly destroys the object on C++ side if it was owned by the script interpreter. Subsequent access to this object will throw an exception. If the object is not owned by the script, this method will do nothing.

_destroyed?

Signature: [const] bool _destroyed?

Description: Returns a value indicating whether the object was already destroyed

This method returns true, if the object was destroyed, either explicitly or by the C++ side. The latter may happen, if the object is owned by a C++ object which got destroyed itself.

_is_const_object?

Signature: [const] bool _is_const_object?

Description: Returns a value indicating whether the reference is a const reference

This method returns true, if self is a const reference. In that case, only const methods may be called on self.

_manage

Signature: void _manage

Description: Marks the object as managed by the script side.

After calling this method on an object, the script side will be responsible for the management of the object. This method may be called if an object is returned from a C++ function and the object is known not to be owned by any C++ instance. If necessary, the script side may delete the object if the script's reference is no longer required.

Usually it's not required to call this method. It has been introduced in version 0.24.

_unmanage

Signature: void _unmanage

Description: Marks the object as no longer owned by the script side.

Calling this method will make this object no longer owned by the script's memory management. Instead, the object must be managed in some other way. Usually this method may be called if it is known that some C++ object holds and manages this object. Technically speaking, this method will turn the script's reference into a weak reference. After the script engine decides to delete the reference, the object itself will still exist. If the object is not managed otherwise, memory leaks will occur.

Usually it's not required to call this method. It has been introduced in version 0.24.

addToIndex

Signature: void addToIndex

Description: Method void QGraphicsSvgItem::addToIndex()

This method is protected and can only be called from inside a derived class.

advance

Signature: void advance (int phase)

Description: Virtual method void QGraphicsSvgItem::advance(int phase)

This method can be reimplemented in a derived class.

boundingRect

Signature: [const] QRectF boundingRect

Description: Virtual method QRectF QGraphicsSvgItem::boundingRect()

This method can be reimplemented in a derived class.

cachingEnabled

Signature: [const] bool cachingEnabled

Description: Method bool QGraphicsSvgItem::isCachingEnabled()

Python specific notes:
The object exposes a readable attribute 'cachingEnabled'. This is the getter.

cachingEnabled=

Signature: void cachingEnabled= (bool arg1)

Description: Method void QGraphicsSvgItem::setCachingEnabled(bool)

Python specific notes:
The object exposes a writable attribute 'cachingEnabled'. This is the setter.

childEvent

Signature: void childEvent (QChildEvent ptr event)

Description: Virtual method void QGraphicsSvgItem::childEvent(QChildEvent *event)

This method can be reimplemented in a derived class.

childrenChanged

Signature: [signal] void childrenChanged

Description: Signal declaration for QGraphicsSvgItem::childrenChanged()

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'childrenChanged'. This is the getter.
The object exposes a writable attribute 'childrenChanged'. This is the setter.

collidesWithItem

Signature: [const] bool collidesWithItem (const QGraphicsItem ptr other, const Qt_ItemSelectionMode mode)

Description: Virtual method bool QGraphicsSvgItem::collidesWithItem(const QGraphicsItem *other, Qt::ItemSelectionMode mode)

This method can be reimplemented in a derived class.

collidesWithPath

Signature: [const] bool collidesWithPath (const QPainterPath path, const Qt_ItemSelectionMode mode)

Description: Virtual method bool QGraphicsSvgItem::collidesWithPath(const QPainterPath &path, Qt::ItemSelectionMode mode)

This method can be reimplemented in a derived class.

contains

Signature: [const] bool contains (const QPointF point)

Description: Virtual method bool QGraphicsSvgItem::contains(const QPointF &point)

This method can be reimplemented in a derived class.

contextMenuEvent

Signature: void contextMenuEvent (QGraphicsSceneContextMenuEvent ptr event)

Description: Virtual method void QGraphicsSvgItem::contextMenuEvent(QGraphicsSceneContextMenuEvent *event)

This method can be reimplemented in a derived class.

customEvent

Signature: void customEvent (QEvent ptr event)

Description: Virtual method void QGraphicsSvgItem::customEvent(QEvent *event)

This method can be reimplemented in a derived class.

destroyed

Signature: [signal] void destroyed (QObject ptr arg1)

Description: Signal declaration for QGraphicsSvgItem::destroyed(QObject *)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'destroyed'. This is the getter.
The object exposes a writable attribute 'destroyed'. This is the setter.

disconnectNotify

Signature: void disconnectNotify (const QMetaMethod signal)

Description: Virtual method void QGraphicsSvgItem::disconnectNotify(const QMetaMethod &signal)

This method can be reimplemented in a derived class.

dragEnterEvent

Signature: void dragEnterEvent (QGraphicsSceneDragDropEvent ptr event)

Description: Virtual method void QGraphicsSvgItem::dragEnterEvent(QGraphicsSceneDragDropEvent *event)

This method can be reimplemented in a derived class.

dragLeaveEvent

Signature: void dragLeaveEvent (QGraphicsSceneDragDropEvent ptr event)

Description: Virtual method void QGraphicsSvgItem::dragLeaveEvent(QGraphicsSceneDragDropEvent *event)

This method can be reimplemented in a derived class.

dragMoveEvent

Signature: void dragMoveEvent (QGraphicsSceneDragDropEvent ptr event)

Description: Virtual method void QGraphicsSvgItem::dragMoveEvent(QGraphicsSceneDragDropEvent *event)

This method can be reimplemented in a derived class.

dropEvent

Signature: void dropEvent (QGraphicsSceneDragDropEvent ptr event)

Description: Virtual method void QGraphicsSvgItem::dropEvent(QGraphicsSceneDragDropEvent *event)

This method can be reimplemented in a derived class.

elementId

Signature: [const] string elementId

Description: Method QString QGraphicsSvgItem::elementId()

Python specific notes:
The object exposes a readable attribute 'elementId'. This is the getter.

elementId=

Signature: void elementId= (string id)

Description: Method void QGraphicsSvgItem::setElementId(const QString &id)

Python specific notes:
The object exposes a writable attribute 'elementId'. This is the setter.

emit_childrenChanged

Signature: void emit_childrenChanged

Description: Emitter for signal void QGraphicsSvgItem::childrenChanged()

Call this method to emit this signal.

emit_destroyed

Signature: void emit_destroyed (QObject ptr arg1 = nullptr)

Description: Emitter for signal void QGraphicsSvgItem::destroyed(QObject *)

Call this method to emit this signal.

emit_enabledChanged

Signature: void emit_enabledChanged

Description: Emitter for signal void QGraphicsSvgItem::enabledChanged()

Call this method to emit this signal.

emit_heightChanged

Signature: void emit_heightChanged

Description: Emitter for signal void QGraphicsSvgItem::heightChanged()

Call this method to emit this signal.

emit_objectNameChanged

Signature: void emit_objectNameChanged (string objectName)

Description: Emitter for signal void QGraphicsSvgItem::objectNameChanged(const QString &objectName)

Call this method to emit this signal.

emit_opacityChanged

Signature: void emit_opacityChanged

Description: Emitter for signal void QGraphicsSvgItem::opacityChanged()

Call this method to emit this signal.

emit_parentChanged

Signature: void emit_parentChanged

Description: Emitter for signal void QGraphicsSvgItem::parentChanged()

Call this method to emit this signal.

emit_rotationChanged

Signature: void emit_rotationChanged

Description: Emitter for signal void QGraphicsSvgItem::rotationChanged()

Call this method to emit this signal.

emit_scaleChanged

Signature: void emit_scaleChanged

Description: Emitter for signal void QGraphicsSvgItem::scaleChanged()

Call this method to emit this signal.

emit_visibleChanged

Signature: void emit_visibleChanged

Description: Emitter for signal void QGraphicsSvgItem::visibleChanged()

Call this method to emit this signal.

emit_widthChanged

Signature: void emit_widthChanged

Description: Emitter for signal void QGraphicsSvgItem::widthChanged()

Call this method to emit this signal.

emit_xChanged

Signature: void emit_xChanged

Description: Emitter for signal void QGraphicsSvgItem::xChanged()

Call this method to emit this signal.

emit_yChanged

Signature: void emit_yChanged

Description: Emitter for signal void QGraphicsSvgItem::yChanged()

Call this method to emit this signal.

emit_zChanged

Signature: void emit_zChanged

Description: Emitter for signal void QGraphicsSvgItem::zChanged()

Call this method to emit this signal.

enabledChanged

Signature: [signal] void enabledChanged

Description: Signal declaration for QGraphicsSvgItem::enabledChanged()

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'enabledChanged'. This is the getter.
The object exposes a writable attribute 'enabledChanged'. This is the setter.

event

Signature: bool event (QEvent ptr ev)

Description: Virtual method bool QGraphicsSvgItem::event(QEvent *ev)

This method can be reimplemented in a derived class.

eventFilter

Signature: bool eventFilter (QObject ptr watched, QEvent ptr event)

Description: Virtual method bool QGraphicsSvgItem::eventFilter(QObject *watched, QEvent *event)

This method can be reimplemented in a derived class.

extension

Signature: [const] variant extension (variant variant)

Description: Virtual method QVariant QGraphicsSvgItem::extension(const QVariant &variant)

This method can be reimplemented in a derived class.

focusInEvent

Signature: void focusInEvent (QFocusEvent ptr event)

Description: Virtual method void QGraphicsSvgItem::focusInEvent(QFocusEvent *event)

This method can be reimplemented in a derived class.

focusOutEvent

Signature: void focusOutEvent (QFocusEvent ptr event)

Description: Virtual method void QGraphicsSvgItem::focusOutEvent(QFocusEvent *event)

This method can be reimplemented in a derived class.

heightChanged

Signature: [signal] void heightChanged

Description: Signal declaration for QGraphicsSvgItem::heightChanged()

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'heightChanged'. This is the getter.
The object exposes a writable attribute 'heightChanged'. This is the setter.

hoverEnterEvent

Signature: void hoverEnterEvent (QGraphicsSceneHoverEvent ptr event)

Description: Virtual method void QGraphicsSvgItem::hoverEnterEvent(QGraphicsSceneHoverEvent *event)

This method can be reimplemented in a derived class.

hoverLeaveEvent

Signature: void hoverLeaveEvent (QGraphicsSceneHoverEvent ptr event)

Description: Virtual method void QGraphicsSvgItem::hoverLeaveEvent(QGraphicsSceneHoverEvent *event)

This method can be reimplemented in a derived class.

hoverMoveEvent

Signature: void hoverMoveEvent (QGraphicsSceneHoverEvent ptr event)

Description: Virtual method void QGraphicsSvgItem::hoverMoveEvent(QGraphicsSceneHoverEvent *event)

This method can be reimplemented in a derived class.

inputMethodEvent

Signature: void inputMethodEvent (QInputMethodEvent ptr event)

Description: Virtual method void QGraphicsSvgItem::inputMethodEvent(QInputMethodEvent *event)

This method can be reimplemented in a derived class.

inputMethodQuery

Signature: [const] variant inputMethodQuery (const Qt_InputMethodQuery query)

Description: Virtual method QVariant QGraphicsSvgItem::inputMethodQuery(Qt::InputMethodQuery query)

This method can be reimplemented in a derived class.

isCachingEnabled?

Signature: [const] bool isCachingEnabled?

Description: Method bool QGraphicsSvgItem::isCachingEnabled()

Python specific notes:
The object exposes a readable attribute 'cachingEnabled'. This is the getter.

isObscuredBy

Signature: [const] bool isObscuredBy (const QGraphicsItem ptr item)

Description: Virtual method bool QGraphicsSvgItem::isObscuredBy(const QGraphicsItem *item)

This method can be reimplemented in a derived class.

isSignalConnected

Signature: [const] bool isSignalConnected (const QMetaMethod signal)

Description: Method bool QGraphicsSvgItem::isSignalConnected(const QMetaMethod &signal)

This method is protected and can only be called from inside a derived class.

itemChange

Signature: variant itemChange (const QGraphicsItem_GraphicsItemChange change, variant value)

Description: Virtual method QVariant QGraphicsSvgItem::itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant &value)

This method can be reimplemented in a derived class.

keyPressEvent

Signature: void keyPressEvent (QKeyEvent ptr event)

Description: Virtual method void QGraphicsSvgItem::keyPressEvent(QKeyEvent *event)

This method can be reimplemented in a derived class.

keyReleaseEvent

Signature: void keyReleaseEvent (QKeyEvent ptr event)

Description: Virtual method void QGraphicsSvgItem::keyReleaseEvent(QKeyEvent *event)

This method can be reimplemented in a derived class.

maximumCacheSize

Signature: [const] QSize maximumCacheSize

Description: Method QSize QGraphicsSvgItem::maximumCacheSize()

Python specific notes:
The object exposes a readable attribute 'maximumCacheSize'. This is the getter.

maximumCacheSize=

Signature: void maximumCacheSize= (const QSize size)

Description: Method void QGraphicsSvgItem::setMaximumCacheSize(const QSize &size)

Python specific notes:
The object exposes a writable attribute 'maximumCacheSize'. This is the setter.

mouseDoubleClickEvent

Signature: void mouseDoubleClickEvent (QGraphicsSceneMouseEvent ptr event)

Description: Virtual method void QGraphicsSvgItem::mouseDoubleClickEvent(QGraphicsSceneMouseEvent *event)

This method can be reimplemented in a derived class.

mouseMoveEvent

Signature: void mouseMoveEvent (QGraphicsSceneMouseEvent ptr event)

Description: Virtual method void QGraphicsSvgItem::mouseMoveEvent(QGraphicsSceneMouseEvent *event)

This method can be reimplemented in a derived class.

mousePressEvent

Signature: void mousePressEvent (QGraphicsSceneMouseEvent ptr event)

Description: Virtual method void QGraphicsSvgItem::mousePressEvent(QGraphicsSceneMouseEvent *event)

This method can be reimplemented in a derived class.

mouseReleaseEvent

Signature: void mouseReleaseEvent (QGraphicsSceneMouseEvent ptr event)

Description: Virtual method void QGraphicsSvgItem::mouseReleaseEvent(QGraphicsSceneMouseEvent *event)

This method can be reimplemented in a derived class.

new

(1) Signature: [static] new QGraphicsSvgItem new (QGraphicsItem ptr parentItem = nullptr)

Description: Constructor QGraphicsSvgItem::QGraphicsSvgItem(QGraphicsItem *parentItem)

This method creates an object of class QGraphicsSvgItem.

Python specific notes:
This method is the default initializer of the object.

(2) Signature: [static] new QGraphicsSvgItem new (string fileName, QGraphicsItem ptr parentItem = nullptr)

Description: Constructor QGraphicsSvgItem::QGraphicsSvgItem(const QString &fileName, QGraphicsItem *parentItem)

This method creates an object of class QGraphicsSvgItem.

Python specific notes:
This method is the default initializer of the object.

objectNameChanged

Signature: [signal] void objectNameChanged (string objectName)

Description: Signal declaration for QGraphicsSvgItem::objectNameChanged(const QString &objectName)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'objectNameChanged'. This is the getter.
The object exposes a writable attribute 'objectNameChanged'. This is the setter.

opacityChanged

Signature: [signal] void opacityChanged

Description: Signal declaration for QGraphicsSvgItem::opacityChanged()

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'opacityChanged'. This is the getter.
The object exposes a writable attribute 'opacityChanged'. This is the setter.

opaqueArea

Signature: [const] QPainterPath opaqueArea

Description: Virtual method QPainterPath QGraphicsSvgItem::opaqueArea()

This method can be reimplemented in a derived class.

paint

Signature: void paint (QPainter ptr painter, const QStyleOptionGraphicsItem ptr option, QWidget ptr widget)

Description: Virtual method void QGraphicsSvgItem::paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget)

This method can be reimplemented in a derived class.

parentChanged

Signature: [signal] void parentChanged

Description: Signal declaration for QGraphicsSvgItem::parentChanged()

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'parentChanged'. This is the getter.
The object exposes a writable attribute 'parentChanged'. This is the setter.

prepareGeometryChange

Signature: void prepareGeometryChange

Description: Method void QGraphicsSvgItem::prepareGeometryChange()

This method is protected and can only be called from inside a derived class.

receivers

Signature: [const] int receivers (string signal)

Description: Method int QGraphicsSvgItem::receivers(const char *signal)

This method is protected and can only be called from inside a derived class.

removeFromIndex

Signature: void removeFromIndex

Description: Method void QGraphicsSvgItem::removeFromIndex()

This method is protected and can only be called from inside a derived class.

renderer

Signature: [const] QSvgRenderer ptr renderer

Description: Method QSvgRenderer *QGraphicsSvgItem::renderer()

rotationChanged

Signature: [signal] void rotationChanged

Description: Signal declaration for QGraphicsSvgItem::rotationChanged()

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'rotationChanged'. This is the getter.
The object exposes a writable attribute 'rotationChanged'. This is the setter.

scaleChanged

Signature: [signal] void scaleChanged

Description: Signal declaration for QGraphicsSvgItem::scaleChanged()

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'scaleChanged'. This is the getter.
The object exposes a writable attribute 'scaleChanged'. This is the setter.

sceneEvent

Signature: bool sceneEvent (QEvent ptr event)

Description: Virtual method bool QGraphicsSvgItem::sceneEvent(QEvent *event)

This method can be reimplemented in a derived class.

sceneEventFilter

Signature: bool sceneEventFilter (QGraphicsItem ptr watched, QEvent ptr event)

Description: Virtual method bool QGraphicsSvgItem::sceneEventFilter(QGraphicsItem *watched, QEvent *event)

This method can be reimplemented in a derived class.

sender

Signature: [const] QObject ptr sender

Description: Method QObject *QGraphicsSvgItem::sender()

This method is protected and can only be called from inside a derived class.

senderSignalIndex

Signature: [const] int senderSignalIndex

Description: Method int QGraphicsSvgItem::senderSignalIndex()

This method is protected and can only be called from inside a derived class.

setCachingEnabled

Signature: void setCachingEnabled (bool arg1)

Description: Method void QGraphicsSvgItem::setCachingEnabled(bool)

Python specific notes:
The object exposes a writable attribute 'cachingEnabled'. This is the setter.

setElementId

Signature: void setElementId (string id)

Description: Method void QGraphicsSvgItem::setElementId(const QString &id)

Python specific notes:
The object exposes a writable attribute 'elementId'. This is the setter.

setExtension

Signature: void setExtension (unsigned int extension, variant variant)

Description: Virtual method void QGraphicsSvgItem::setExtension(QGraphicsItem::Extension extension, const QVariant &variant)

This method can be reimplemented in a derived class.

setMaximumCacheSize

Signature: void setMaximumCacheSize (const QSize size)

Description: Method void QGraphicsSvgItem::setMaximumCacheSize(const QSize &size)

Python specific notes:
The object exposes a writable attribute 'maximumCacheSize'. This is the setter.

setSharedRenderer

Signature: void setSharedRenderer (QSvgRenderer ptr renderer)

Description: Method void QGraphicsSvgItem::setSharedRenderer(QSvgRenderer *renderer)

shape

Signature: [const] QPainterPath shape

Description: Virtual method QPainterPath QGraphicsSvgItem::shape()

This method can be reimplemented in a derived class.

staticMetaObject

Signature: [static] QMetaObject staticMetaObject

Description: Obtains the static MetaObject for this class.

supportsExtension

Signature: [const] bool supportsExtension (unsigned int extension)

Description: Virtual method bool QGraphicsSvgItem::supportsExtension(QGraphicsItem::Extension extension)

This method can be reimplemented in a derived class.

timerEvent

Signature: void timerEvent (QTimerEvent ptr event)

Description: Virtual method void QGraphicsSvgItem::timerEvent(QTimerEvent *event)

This method can be reimplemented in a derived class.

tr

Signature: [static] string tr (string s, string c = nullptr, int n = -1)

Description: Static method QString QGraphicsSvgItem::tr(const char *s, const char *c, int n)

This method is static and can be called without an instance.

trUtf8

Signature: [static] string trUtf8 (string s, string c = nullptr, int n = -1)

Description: Static method QString QGraphicsSvgItem::trUtf8(const char *s, const char *c, int n)

This method is static and can be called without an instance.

type

Signature: [const] int type

Description: Virtual method int QGraphicsSvgItem::type()

This method can be reimplemented in a derived class.

updateMicroFocus

Signature: void updateMicroFocus

Description: Method void QGraphicsSvgItem::updateMicroFocus()

This method is protected and can only be called from inside a derived class.

visibleChanged

Signature: [signal] void visibleChanged

Description: Signal declaration for QGraphicsSvgItem::visibleChanged()

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'visibleChanged'. This is the getter.
The object exposes a writable attribute 'visibleChanged'. This is the setter.

wheelEvent

Signature: void wheelEvent (QGraphicsSceneWheelEvent ptr event)

Description: Virtual method void QGraphicsSvgItem::wheelEvent(QGraphicsSceneWheelEvent *event)

This method can be reimplemented in a derived class.

widthChanged

Signature: [signal] void widthChanged

Description: Signal declaration for QGraphicsSvgItem::widthChanged()

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'widthChanged'. This is the getter.
The object exposes a writable attribute 'widthChanged'. This is the setter.

xChanged

Signature: [signal] void xChanged

Description: Signal declaration for QGraphicsSvgItem::xChanged()

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'xChanged'. This is the getter.
The object exposes a writable attribute 'xChanged'. This is the setter.

yChanged

Signature: [signal] void yChanged

Description: Signal declaration for QGraphicsSvgItem::yChanged()

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'yChanged'. This is the getter.
The object exposes a writable attribute 'yChanged'. This is the setter.

zChanged

Signature: [signal] void zChanged

Description: Signal declaration for QGraphicsSvgItem::zChanged()

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'zChanged'. This is the getter.
The object exposes a writable attribute 'zChanged'. This is the setter.