API reference - Class QGraphicsObject

Notation used in Ruby API documentation

Module: QtWidgets

Description: Binding of QGraphicsObject

Class hierarchy: QGraphicsObject » QObject

Sub-classes:

Public constructors

new QGraphicsObjectnew(QGraphicsItem ptr parent = 0)Constructor QGraphicsObject::QGraphicsObject(QGraphicsItem *parent)

Public methods

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 QGraphicsObject::advance(int phase)
[const]const QGraphicsItem ptrasConstQGraphicsItemDelivers the base class interface QGraphicsItem of QGraphicsObject
[const]const QObject ptrasConstQObjectDelivers the base class interface QObject of QGraphicsObject
QGraphicsItem ptrasQGraphicsItemDelivers the base class interface QGraphicsItem of QGraphicsObject
QObject ptrasQObjectDelivers the base class interface QObject of QGraphicsObject
[const]QRectFboundingRectVirtual method QRectF QGraphicsObject::boundingRect()
[const]QObject ptr[]childrenMethod const QList<QObject*> &QGraphicsObject::children()
[signal]voidchildrenChangedSignal declaration for QGraphicsObject::childrenChanged()
[const]boolcollidesWithItem(const QGraphicsItem ptr other,
const Qt_ItemSelectionMode mode)
Virtual method bool QGraphicsObject::collidesWithItem(const QGraphicsItem *other, Qt::ItemSelectionMode mode)
[const]boolcollidesWithPath(const QPainterPath path,
const Qt_ItemSelectionMode mode)
Virtual method bool QGraphicsObject::collidesWithPath(const QPainterPath &path, Qt::ItemSelectionMode mode)
[const]boolcontains(const QPointF point)Virtual method bool QGraphicsObject::contains(const QPointF &point)
[signal]voiddestroyed(QObject ptr arg1)Signal declaration for QGraphicsObject::destroyed(QObject *)
voidemit_childrenChangedEmitter for signal void QGraphicsObject::childrenChanged()
voidemit_destroyed(QObject ptr arg1 = 0)Emitter for signal void QGraphicsObject::destroyed(QObject *)
voidemit_enabledChangedEmitter for signal void QGraphicsObject::enabledChanged()
voidemit_heightChangedEmitter for signal void QGraphicsObject::heightChanged()
voidemit_objectNameChanged(string objectName)Emitter for signal void QGraphicsObject::objectNameChanged(const QString &objectName)
voidemit_opacityChangedEmitter for signal void QGraphicsObject::opacityChanged()
voidemit_parentChangedEmitter for signal void QGraphicsObject::parentChanged()
voidemit_rotationChangedEmitter for signal void QGraphicsObject::rotationChanged()
voidemit_scaleChangedEmitter for signal void QGraphicsObject::scaleChanged()
voidemit_visibleChangedEmitter for signal void QGraphicsObject::visibleChanged()
voidemit_widthChangedEmitter for signal void QGraphicsObject::widthChanged()
voidemit_xChangedEmitter for signal void QGraphicsObject::xChanged()
voidemit_yChangedEmitter for signal void QGraphicsObject::yChanged()
voidemit_zChangedEmitter for signal void QGraphicsObject::zChanged()
[signal]voidenabledChangedSignal declaration for QGraphicsObject::enabledChanged()
booleventFilter(QObject ptr arg1,
QEvent ptr arg2)
Virtual method bool QGraphicsObject::eventFilter(QObject *, QEvent *)
voidgrabGesture(const Qt_GestureType type,
Qt_QFlags_GestureFlag flags = Qt::GestureFlags())
Method void QGraphicsObject::grabGesture(Qt::GestureType type, QFlags<Qt::GestureFlag> flags)
[signal]voidheightChangedSignal declaration for QGraphicsObject::heightChanged()
[const]boolisObscuredBy(const QGraphicsItem ptr item)Virtual method bool QGraphicsObject::isObscuredBy(const QGraphicsItem *item)
[signal]voidobjectNameChanged(string objectName)Signal declaration for QGraphicsObject::objectNameChanged(const QString &objectName)
[signal]voidopacityChangedSignal declaration for QGraphicsObject::opacityChanged()
[const]QPainterPathopaqueAreaVirtual method QPainterPath QGraphicsObject::opaqueArea()
voidpaint(QPainter ptr painter,
const QStyleOptionGraphicsItem ptr option,
QWidget ptr widget)
Virtual method void QGraphicsObject::paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget)
[signal]voidparentChangedSignal declaration for QGraphicsObject::parentChanged()
[signal]voidrotationChangedSignal declaration for QGraphicsObject::rotationChanged()
[signal]voidscaleChangedSignal declaration for QGraphicsObject::scaleChanged()
[const]QPainterPathshapeVirtual method QPainterPath QGraphicsObject::shape()
[const]inttypeVirtual method int QGraphicsObject::type()
voidungrabGesture(const Qt_GestureType type)Method void QGraphicsObject::ungrabGesture(Qt::GestureType type)
[signal]voidvisibleChangedSignal declaration for QGraphicsObject::visibleChanged()
[signal]voidwidthChangedSignal declaration for QGraphicsObject::widthChanged()
[signal]voidxChangedSignal declaration for QGraphicsObject::xChanged()
[signal]voidyChangedSignal declaration for QGraphicsObject::yChanged()
[signal]voidzChangedSignal declaration for QGraphicsObject::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 QGraphicsObject::tr(const char *s, const char *c, int n)
stringtrUtf8(string s,
string c = nullptr,
int n = -1)
Static method QString QGraphicsObject::trUtf8(const char *s, const char *c, int n)

Protected methods (static, non-static and constructors)

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

Detailed description

_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 QGraphicsObject::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 QGraphicsObject::advance(int phase)

This method can be reimplemented in a derived class.

asConstQGraphicsItem

Signature: [const] const QGraphicsItem ptr asConstQGraphicsItem

Description: Delivers the base class interface QGraphicsItem of QGraphicsObject

Class QGraphicsObject is derived from multiple base classes. This method delivers the QGraphicsItem base class aspect.

Use this version if you have a const reference.

asConstQObject

Signature: [const] const QObject ptr asConstQObject

Description: Delivers the base class interface QObject of QGraphicsObject

Class QGraphicsObject is derived from multiple base classes. This method delivers the QObject base class aspect.

Use this version if you have a const reference.

asQGraphicsItem

Signature: QGraphicsItem ptr asQGraphicsItem

Description: Delivers the base class interface QGraphicsItem of QGraphicsObject

Class QGraphicsObject is derived from multiple base classes. This method delivers the QGraphicsItem base class aspect.

asQObject

Signature: QObject ptr asQObject

Description: Delivers the base class interface QObject of QGraphicsObject

Class QGraphicsObject is derived from multiple base classes. This method delivers the QObject base class aspect.

boundingRect

Signature: [const] QRectF boundingRect

Description: Virtual method QRectF QGraphicsObject::boundingRect()

This method can be reimplemented in a derived class.

childEvent

Signature: void childEvent (QChildEvent ptr arg1)

Description: Virtual method void QGraphicsObject::childEvent(QChildEvent *)

This method can be reimplemented in a derived class.

children

Signature: [const] QObject ptr[] children

Description: Method const QList<QObject*> &QGraphicsObject::children()

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

childrenChanged

Signature: [signal] void childrenChanged

Description: Signal declaration for QGraphicsObject::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 QGraphicsObject::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 QGraphicsObject::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 QGraphicsObject::contains(const QPointF &point)

This method can be reimplemented in a derived class.

contextMenuEvent

Signature: void contextMenuEvent (QGraphicsSceneContextMenuEvent ptr event)

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

This method can be reimplemented in a derived class.

customEvent

Signature: void customEvent (QEvent ptr arg1)

Description: Virtual method void QGraphicsObject::customEvent(QEvent *)

This method can be reimplemented in a derived class.

destroyed

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

Description: Signal declaration for QGraphicsObject::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 QGraphicsObject::disconnectNotify(const QMetaMethod &signal)

This method can be reimplemented in a derived class.

dragEnterEvent

Signature: void dragEnterEvent (QGraphicsSceneDragDropEvent ptr event)

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

This method can be reimplemented in a derived class.

dragLeaveEvent

Signature: void dragLeaveEvent (QGraphicsSceneDragDropEvent ptr event)

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

This method can be reimplemented in a derived class.

dragMoveEvent

Signature: void dragMoveEvent (QGraphicsSceneDragDropEvent ptr event)

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

This method can be reimplemented in a derived class.

dropEvent

Signature: void dropEvent (QGraphicsSceneDragDropEvent ptr event)

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

This method can be reimplemented in a derived class.

emit_childrenChanged

Signature: void emit_childrenChanged

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

Call this method to emit this signal.

emit_destroyed

Signature: void emit_destroyed (QObject ptr arg1 = 0)

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

Call this method to emit this signal.

emit_enabledChanged

Signature: void emit_enabledChanged

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

Call this method to emit this signal.

emit_heightChanged

Signature: void emit_heightChanged

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

Call this method to emit this signal.

emit_objectNameChanged

Signature: void emit_objectNameChanged (string objectName)

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

Call this method to emit this signal.

emit_opacityChanged

Signature: void emit_opacityChanged

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

Call this method to emit this signal.

emit_parentChanged

Signature: void emit_parentChanged

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

Call this method to emit this signal.

emit_rotationChanged

Signature: void emit_rotationChanged

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

Call this method to emit this signal.

emit_scaleChanged

Signature: void emit_scaleChanged

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

Call this method to emit this signal.

emit_visibleChanged

Signature: void emit_visibleChanged

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

Call this method to emit this signal.

emit_widthChanged

Signature: void emit_widthChanged

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

Call this method to emit this signal.

emit_xChanged

Signature: void emit_xChanged

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

Call this method to emit this signal.

emit_yChanged

Signature: void emit_yChanged

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

Call this method to emit this signal.

emit_zChanged

Signature: void emit_zChanged

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

Call this method to emit this signal.

enabledChanged

Signature: [signal] void enabledChanged

Description: Signal declaration for QGraphicsObject::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 QGraphicsObject::event(QEvent *ev)

This method can be reimplemented in a derived class.

eventFilter

Signature: bool eventFilter (QObject ptr arg1, QEvent ptr arg2)

Description: Virtual method bool QGraphicsObject::eventFilter(QObject *, QEvent *)

This method can be reimplemented in a derived class.

extension

Signature: [const] variant extension (variant variant)

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

This method can be reimplemented in a derived class.

focusInEvent

Signature: void focusInEvent (QFocusEvent ptr event)

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

This method can be reimplemented in a derived class.

focusOutEvent

Signature: void focusOutEvent (QFocusEvent ptr event)

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

This method can be reimplemented in a derived class.

grabGesture

Signature: void grabGesture (const Qt_GestureType type, Qt_QFlags_GestureFlag flags = Qt::GestureFlags())

Description: Method void QGraphicsObject::grabGesture(Qt::GestureType type, QFlags<Qt::GestureFlag> flags)

heightChanged

Signature: [signal] void heightChanged

Description: Signal declaration for QGraphicsObject::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 QGraphicsObject::hoverEnterEvent(QGraphicsSceneHoverEvent *event)

This method can be reimplemented in a derived class.

hoverLeaveEvent

Signature: void hoverLeaveEvent (QGraphicsSceneHoverEvent ptr event)

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

This method can be reimplemented in a derived class.

hoverMoveEvent

Signature: void hoverMoveEvent (QGraphicsSceneHoverEvent ptr event)

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

This method can be reimplemented in a derived class.

inputMethodEvent

Signature: void inputMethodEvent (QInputMethodEvent ptr event)

Description: Virtual method void QGraphicsObject::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 QGraphicsObject::inputMethodQuery(Qt::InputMethodQuery query)

This method can be reimplemented in a derived class.

isObscuredBy

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

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

This method can be reimplemented in a derived class.

isSignalConnected

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

Description: Method bool QGraphicsObject::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 QGraphicsObject::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 QGraphicsObject::keyPressEvent(QKeyEvent *event)

This method can be reimplemented in a derived class.

keyReleaseEvent

Signature: void keyReleaseEvent (QKeyEvent ptr event)

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

This method can be reimplemented in a derived class.

mouseDoubleClickEvent

Signature: void mouseDoubleClickEvent (QGraphicsSceneMouseEvent ptr event)

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

This method can be reimplemented in a derived class.

mouseMoveEvent

Signature: void mouseMoveEvent (QGraphicsSceneMouseEvent ptr event)

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

This method can be reimplemented in a derived class.

mousePressEvent

Signature: void mousePressEvent (QGraphicsSceneMouseEvent ptr event)

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

This method can be reimplemented in a derived class.

mouseReleaseEvent

Signature: void mouseReleaseEvent (QGraphicsSceneMouseEvent ptr event)

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

This method can be reimplemented in a derived class.

new

Signature: [static] new QGraphicsObject new (QGraphicsItem ptr parent = 0)

Description: Constructor QGraphicsObject::QGraphicsObject(QGraphicsItem *parent)

This method creates an object of class QGraphicsObject.

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

objectNameChanged

Signature: [signal] void objectNameChanged (string objectName)

Description: Signal declaration for QGraphicsObject::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 QGraphicsObject::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 QGraphicsObject::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 QGraphicsObject::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 QGraphicsObject::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 QGraphicsObject::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 QGraphicsObject::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 QGraphicsObject::removeFromIndex()

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

rotationChanged

Signature: [signal] void rotationChanged

Description: Signal declaration for QGraphicsObject::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 QGraphicsObject::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 QGraphicsObject::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 QGraphicsObject::sceneEventFilter(QGraphicsItem *watched, QEvent *event)

This method can be reimplemented in a derived class.

sender

Signature: [const] QObject ptr sender

Description: Method QObject *QGraphicsObject::sender()

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

senderSignalIndex

Signature: [const] int senderSignalIndex

Description: Method int QGraphicsObject::senderSignalIndex()

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

setExtension

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

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

This method can be reimplemented in a derived class.

shape

Signature: [const] QPainterPath shape

Description: Virtual method QPainterPath QGraphicsObject::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 QGraphicsObject::supportsExtension(QGraphicsItem::Extension extension)

This method can be reimplemented in a derived class.

timerEvent

Signature: void timerEvent (QTimerEvent ptr arg1)

Description: Virtual method void QGraphicsObject::timerEvent(QTimerEvent *)

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 QGraphicsObject::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 QGraphicsObject::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 QGraphicsObject::type()

This method can be reimplemented in a derived class.

ungrabGesture

Signature: void ungrabGesture (const Qt_GestureType type)

Description: Method void QGraphicsObject::ungrabGesture(Qt::GestureType type)

updateMicroFocus

Signature: void updateMicroFocus

Description: Method void QGraphicsObject::updateMicroFocus()

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

visibleChanged

Signature: [signal] void visibleChanged

Description: Signal declaration for QGraphicsObject::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 QGraphicsObject::wheelEvent(QGraphicsSceneWheelEvent *event)

This method can be reimplemented in a derived class.

widthChanged

Signature: [signal] void widthChanged

Description: Signal declaration for QGraphicsObject::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 QGraphicsObject::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 QGraphicsObject::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 QGraphicsObject::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.