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

API reference - Class QGraphicsVideoItem

Notation used in Ruby API documentation

Module: QtMultimedia

Description: Binding of QGraphicsVideoItem

Class hierarchy: QGraphicsVideoItem » QGraphicsObject » QObject

Sub-classes:

Public constructors

new QGraphicsVideoItemnew(QGraphicsItem ptr parent = nullptr)Constructor QGraphicsVideoItem::QGraphicsVideoItem(QGraphicsItem *parent)

Public methods

[const]QGraphicsVideoItem 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 QGraphicsVideoItem::advance(int phase)
[const]const QGraphicsObject ptrasConstQGraphicsObjectDelivers the base class interface QGraphicsObject of QGraphicsVideoItem
[const]const QMediaBindableInterface ptrasConstQMediaBindableInterfaceDelivers the base class interface QMediaBindableInterface of QGraphicsVideoItem
QGraphicsObject ptrasQGraphicsObjectDelivers the base class interface QGraphicsObject of QGraphicsVideoItem
QMediaBindableInterface ptrasQMediaBindableInterfaceDelivers the base class interface QMediaBindableInterface of QGraphicsVideoItem
[const]Qt_AspectRatioModeaspectRatioModeMethod Qt::AspectRatioMode QGraphicsVideoItem::aspectRatioMode()
voidaspectRatioMode=(const Qt_AspectRatioMode mode)Method void QGraphicsVideoItem::setAspectRatioMode(Qt::AspectRatioMode mode)
[const]QRectFboundingRectVirtual method QRectF QGraphicsVideoItem::boundingRect()
[signal]voidchildrenChangedSignal declaration for QGraphicsVideoItem::childrenChanged()
[const]boolcollidesWithItem(const QGraphicsItem ptr other,
const Qt_ItemSelectionMode mode)
Virtual method bool QGraphicsVideoItem::collidesWithItem(const QGraphicsItem *other, Qt::ItemSelectionMode mode)
[const]boolcollidesWithPath(const QPainterPath path,
const Qt_ItemSelectionMode mode)
Virtual method bool QGraphicsVideoItem::collidesWithPath(const QPainterPath &path, Qt::ItemSelectionMode mode)
[const]boolcontains(const QPointF point)Virtual method bool QGraphicsVideoItem::contains(const QPointF &point)
[signal]voiddestroyed(QObject ptr arg1)Signal declaration for QGraphicsVideoItem::destroyed(QObject *)
voidemit_childrenChangedEmitter for signal void QGraphicsVideoItem::childrenChanged()
voidemit_destroyed(QObject ptr arg1 = nullptr)Emitter for signal void QGraphicsVideoItem::destroyed(QObject *)
voidemit_enabledChangedEmitter for signal void QGraphicsVideoItem::enabledChanged()
voidemit_heightChangedEmitter for signal void QGraphicsVideoItem::heightChanged()
voidemit_nativeSizeChanged(const QSizeF size)Emitter for signal void QGraphicsVideoItem::nativeSizeChanged(const QSizeF &size)
voidemit_objectNameChanged(string objectName)Emitter for signal void QGraphicsVideoItem::objectNameChanged(const QString &objectName)
voidemit_opacityChangedEmitter for signal void QGraphicsVideoItem::opacityChanged()
voidemit_parentChangedEmitter for signal void QGraphicsVideoItem::parentChanged()
voidemit_rotationChangedEmitter for signal void QGraphicsVideoItem::rotationChanged()
voidemit_scaleChangedEmitter for signal void QGraphicsVideoItem::scaleChanged()
voidemit_visibleChangedEmitter for signal void QGraphicsVideoItem::visibleChanged()
voidemit_widthChangedEmitter for signal void QGraphicsVideoItem::widthChanged()
voidemit_xChangedEmitter for signal void QGraphicsVideoItem::xChanged()
voidemit_yChangedEmitter for signal void QGraphicsVideoItem::yChanged()
voidemit_zChangedEmitter for signal void QGraphicsVideoItem::zChanged()
[signal]voidenabledChangedSignal declaration for QGraphicsVideoItem::enabledChanged()
booleventFilter(QObject ptr watched,
QEvent ptr event)
Virtual method bool QGraphicsVideoItem::eventFilter(QObject *watched, QEvent *event)
[signal]voidheightChangedSignal declaration for QGraphicsVideoItem::heightChanged()
[const]boolisObscuredBy(const QGraphicsItem ptr item)Virtual method bool QGraphicsVideoItem::isObscuredBy(const QGraphicsItem *item)
[const]QMediaObject ptrmediaObjectVirtual method QMediaObject *QGraphicsVideoItem::mediaObject()
[const]QSizeFnativeSizeMethod QSizeF QGraphicsVideoItem::nativeSize()
[signal]voidnativeSizeChanged(const QSizeF size)Signal declaration for QGraphicsVideoItem::nativeSizeChanged(const QSizeF &size)
[signal]voidobjectNameChanged(string objectName)Signal declaration for QGraphicsVideoItem::objectNameChanged(const QString &objectName)
[const]QPointFoffsetMethod QPointF QGraphicsVideoItem::offset()
voidoffset=(const QPointF offset)Method void QGraphicsVideoItem::setOffset(const QPointF &offset)
[signal]voidopacityChangedSignal declaration for QGraphicsVideoItem::opacityChanged()
[const]QPainterPathopaqueAreaVirtual method QPainterPath QGraphicsVideoItem::opaqueArea()
voidpaint(QPainter ptr painter,
const QStyleOptionGraphicsItem ptr option,
QWidget ptr widget)
Virtual method void QGraphicsVideoItem::paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget)
[signal]voidparentChangedSignal declaration for QGraphicsVideoItem::parentChanged()
[signal]voidrotationChangedSignal declaration for QGraphicsVideoItem::rotationChanged()
[signal]voidscaleChangedSignal declaration for QGraphicsVideoItem::scaleChanged()
voidsetAspectRatioMode(const Qt_AspectRatioMode mode)Method void QGraphicsVideoItem::setAspectRatioMode(Qt::AspectRatioMode mode)
voidsetOffset(const QPointF offset)Method void QGraphicsVideoItem::setOffset(const QPointF &offset)
voidsetSize(const QSizeF size)Method void QGraphicsVideoItem::setSize(const QSizeF &size)
[const]QPainterPathshapeVirtual method QPainterPath QGraphicsVideoItem::shape()
[const]QSizeFsizeMethod QSizeF QGraphicsVideoItem::size()
voidsize=(const QSizeF size)Method void QGraphicsVideoItem::setSize(const QSizeF &size)
[const]inttypeVirtual method int QGraphicsVideoItem::type()
[signal]voidvisibleChangedSignal declaration for QGraphicsVideoItem::visibleChanged()
[signal]voidwidthChangedSignal declaration for QGraphicsVideoItem::widthChanged()
[signal]voidxChangedSignal declaration for QGraphicsVideoItem::xChanged()
[signal]voidyChangedSignal declaration for QGraphicsVideoItem::yChanged()
[signal]voidzChangedSignal declaration for QGraphicsVideoItem::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 QGraphicsVideoItem::tr(const char *s, const char *c, int n)
stringtrUtf8(string s,
string c = nullptr,
int n = -1)
Static method QString QGraphicsVideoItem::trUtf8(const char *s, const char *c, int n)

Protected methods (static, non-static and constructors)

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

Detailed description

_const_cast

Signature: [const] QGraphicsVideoItem 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 QGraphicsVideoItem::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 QGraphicsVideoItem::advance(int phase)

This method can be reimplemented in a derived class.

asConstQGraphicsObject

Signature: [const] const QGraphicsObject ptr asConstQGraphicsObject

Description: Delivers the base class interface QGraphicsObject of QGraphicsVideoItem

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

Use this version if you have a const reference.

asConstQMediaBindableInterface

Signature: [const] const QMediaBindableInterface ptr asConstQMediaBindableInterface

Description: Delivers the base class interface QMediaBindableInterface of QGraphicsVideoItem

Class QGraphicsVideoItem is derived from multiple base classes. This method delivers the QMediaBindableInterface base class aspect.

Use this version if you have a const reference.

asQGraphicsObject

Signature: QGraphicsObject ptr asQGraphicsObject

Description: Delivers the base class interface QGraphicsObject of QGraphicsVideoItem

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

asQMediaBindableInterface

Signature: QMediaBindableInterface ptr asQMediaBindableInterface

Description: Delivers the base class interface QMediaBindableInterface of QGraphicsVideoItem

Class QGraphicsVideoItem is derived from multiple base classes. This method delivers the QMediaBindableInterface base class aspect.

aspectRatioMode

Signature: [const] Qt_AspectRatioMode aspectRatioMode

Description: Method Qt::AspectRatioMode QGraphicsVideoItem::aspectRatioMode()

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

aspectRatioMode=

Signature: void aspectRatioMode= (const Qt_AspectRatioMode mode)

Description: Method void QGraphicsVideoItem::setAspectRatioMode(Qt::AspectRatioMode mode)

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

boundingRect

Signature: [const] QRectF boundingRect

Description: Virtual method QRectF QGraphicsVideoItem::boundingRect()

This method can be reimplemented in a derived class.

childEvent

Signature: void childEvent (QChildEvent ptr event)

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

This method can be reimplemented in a derived class.

childrenChanged

Signature: [signal] void childrenChanged

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

This method can be reimplemented in a derived class.

contextMenuEvent

Signature: void contextMenuEvent (QGraphicsSceneContextMenuEvent ptr event)

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

This method can be reimplemented in a derived class.

customEvent

Signature: void customEvent (QEvent ptr event)

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

This method can be reimplemented in a derived class.

destroyed

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

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

This method can be reimplemented in a derived class.

dragEnterEvent

Signature: void dragEnterEvent (QGraphicsSceneDragDropEvent ptr event)

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

This method can be reimplemented in a derived class.

dragLeaveEvent

Signature: void dragLeaveEvent (QGraphicsSceneDragDropEvent ptr event)

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

This method can be reimplemented in a derived class.

dragMoveEvent

Signature: void dragMoveEvent (QGraphicsSceneDragDropEvent ptr event)

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

This method can be reimplemented in a derived class.

dropEvent

Signature: void dropEvent (QGraphicsSceneDragDropEvent ptr event)

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

This method can be reimplemented in a derived class.

emit_childrenChanged

Signature: void emit_childrenChanged

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

Call this method to emit this signal.

emit_destroyed

Signature: void emit_destroyed (QObject ptr arg1 = nullptr)

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

Call this method to emit this signal.

emit_enabledChanged

Signature: void emit_enabledChanged

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

Call this method to emit this signal.

emit_heightChanged

Signature: void emit_heightChanged

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

Call this method to emit this signal.

emit_nativeSizeChanged

Signature: void emit_nativeSizeChanged (const QSizeF size)

Description: Emitter for signal void QGraphicsVideoItem::nativeSizeChanged(const QSizeF &size)

Call this method to emit this signal.

emit_objectNameChanged

Signature: void emit_objectNameChanged (string objectName)

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

Call this method to emit this signal.

emit_opacityChanged

Signature: void emit_opacityChanged

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

Call this method to emit this signal.

emit_parentChanged

Signature: void emit_parentChanged

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

Call this method to emit this signal.

emit_rotationChanged

Signature: void emit_rotationChanged

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

Call this method to emit this signal.

emit_scaleChanged

Signature: void emit_scaleChanged

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

Call this method to emit this signal.

emit_visibleChanged

Signature: void emit_visibleChanged

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

Call this method to emit this signal.

emit_widthChanged

Signature: void emit_widthChanged

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

Call this method to emit this signal.

emit_xChanged

Signature: void emit_xChanged

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

Call this method to emit this signal.

emit_yChanged

Signature: void emit_yChanged

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

Call this method to emit this signal.

emit_zChanged

Signature: void emit_zChanged

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

Call this method to emit this signal.

enabledChanged

Signature: [signal] void enabledChanged

Description: Signal declaration for QGraphicsVideoItem::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 QGraphicsVideoItem::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 QGraphicsVideoItem::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 QGraphicsVideoItem::extension(const QVariant &variant)

This method can be reimplemented in a derived class.

focusInEvent

Signature: void focusInEvent (QFocusEvent ptr event)

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

This method can be reimplemented in a derived class.

focusOutEvent

Signature: void focusOutEvent (QFocusEvent ptr event)

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

This method can be reimplemented in a derived class.

heightChanged

Signature: [signal] void heightChanged

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

This method can be reimplemented in a derived class.

hoverLeaveEvent

Signature: void hoverLeaveEvent (QGraphicsSceneHoverEvent ptr event)

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

This method can be reimplemented in a derived class.

hoverMoveEvent

Signature: void hoverMoveEvent (QGraphicsSceneHoverEvent ptr event)

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

This method can be reimplemented in a derived class.

inputMethodEvent

Signature: void inputMethodEvent (QInputMethodEvent ptr event)

Description: Virtual method void QGraphicsVideoItem::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 QGraphicsVideoItem::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 QGraphicsVideoItem::isObscuredBy(const QGraphicsItem *item)

This method can be reimplemented in a derived class.

isSignalConnected

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

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

This method can be reimplemented in a derived class.

keyReleaseEvent

Signature: void keyReleaseEvent (QKeyEvent ptr event)

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

This method can be reimplemented in a derived class.

mediaObject

Signature: [const] QMediaObject ptr mediaObject

Description: Virtual method QMediaObject *QGraphicsVideoItem::mediaObject()

This method can be reimplemented in a derived class.

mouseDoubleClickEvent

Signature: void mouseDoubleClickEvent (QGraphicsSceneMouseEvent ptr event)

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

This method can be reimplemented in a derived class.

mouseMoveEvent

Signature: void mouseMoveEvent (QGraphicsSceneMouseEvent ptr event)

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

This method can be reimplemented in a derived class.

mousePressEvent

Signature: void mousePressEvent (QGraphicsSceneMouseEvent ptr event)

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

This method can be reimplemented in a derived class.

mouseReleaseEvent

Signature: void mouseReleaseEvent (QGraphicsSceneMouseEvent ptr event)

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

This method can be reimplemented in a derived class.

nativeSize

Signature: [const] QSizeF nativeSize

Description: Method QSizeF QGraphicsVideoItem::nativeSize()

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

nativeSizeChanged

Signature: [signal] void nativeSizeChanged (const QSizeF size)

Description: Signal declaration for QGraphicsVideoItem::nativeSizeChanged(const QSizeF &size)

You can bind a procedure to this signal.

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

new

Signature: [static] new QGraphicsVideoItem new (QGraphicsItem ptr parent = nullptr)

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

This method creates an object of class QGraphicsVideoItem.

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

objectNameChanged

Signature: [signal] void objectNameChanged (string objectName)

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

offset

Signature: [const] QPointF offset

Description: Method QPointF QGraphicsVideoItem::offset()

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

offset=

Signature: void offset= (const QPointF offset)

Description: Method void QGraphicsVideoItem::setOffset(const QPointF &offset)

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

opacityChanged

Signature: [signal] void opacityChanged

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

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

rotationChanged

Signature: [signal] void rotationChanged

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

This method can be reimplemented in a derived class.

sender

Signature: [const] QObject ptr sender

Description: Method QObject *QGraphicsVideoItem::sender()

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

senderSignalIndex

Signature: [const] int senderSignalIndex

Description: Method int QGraphicsVideoItem::senderSignalIndex()

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

setAspectRatioMode

Signature: void setAspectRatioMode (const Qt_AspectRatioMode mode)

Description: Method void QGraphicsVideoItem::setAspectRatioMode(Qt::AspectRatioMode mode)

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

setExtension

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

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

This method can be reimplemented in a derived class.

setMediaObject

Signature: bool setMediaObject (QMediaObject ptr object)

Description: Virtual method bool QGraphicsVideoItem::setMediaObject(QMediaObject *object)

This method can be reimplemented in a derived class.

setOffset

Signature: void setOffset (const QPointF offset)

Description: Method void QGraphicsVideoItem::setOffset(const QPointF &offset)

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

setSize

Signature: void setSize (const QSizeF size)

Description: Method void QGraphicsVideoItem::setSize(const QSizeF &size)

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

shape

Signature: [const] QPainterPath shape

Description: Virtual method QPainterPath QGraphicsVideoItem::shape()

This method can be reimplemented in a derived class.

size

Signature: [const] QSizeF size

Description: Method QSizeF QGraphicsVideoItem::size()

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

size=

Signature: void size= (const QSizeF size)

Description: Method void QGraphicsVideoItem::setSize(const QSizeF &size)

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

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 QGraphicsVideoItem::supportsExtension(QGraphicsItem::Extension extension)

This method can be reimplemented in a derived class.

timerEvent

Signature: void timerEvent (QTimerEvent ptr event)

Description: Virtual method void QGraphicsVideoItem::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 QGraphicsVideoItem::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 QGraphicsVideoItem::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 QGraphicsVideoItem::type()

This method can be reimplemented in a derived class.

updateMicroFocus

Signature: void updateMicroFocus

Description: Method void QGraphicsVideoItem::updateMicroFocus()

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

visibleChanged

Signature: [signal] void visibleChanged

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

This method can be reimplemented in a derived class.

widthChanged

Signature: [signal] void widthChanged

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