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

API reference - Class QGraphicsProxyWidget

Notation used in Ruby API documentation

Module: QtWidgets

Description: Binding of QGraphicsProxyWidget

Class hierarchy: QGraphicsProxyWidget » QGraphicsWidget » QGraphicsObject » QObject

Public constructors

new QGraphicsProxyWidgetnew(QGraphicsItem ptr parent = nullptr,
Qt_QFlags_WindowType wFlags = Qt::WindowFlags())
Constructor QGraphicsProxyWidget::QGraphicsProxyWidget(QGraphicsItem *parent, QFlags<Qt::WindowType> wFlags)

Public methods

[const]QGraphicsProxyWidget 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 QGraphicsProxyWidget::advance(int phase)
[const]QRectFboundingRectVirtual method QRectF QGraphicsProxyWidget::boundingRect()
[signal]voidchildrenChangedSignal declaration for QGraphicsProxyWidget::childrenChanged()
[const]boolcollidesWithItem(const QGraphicsItem ptr other,
const Qt_ItemSelectionMode mode)
Virtual method bool QGraphicsProxyWidget::collidesWithItem(const QGraphicsItem *other, Qt::ItemSelectionMode mode)
[const]boolcollidesWithPath(const QPainterPath path,
const Qt_ItemSelectionMode mode)
Virtual method bool QGraphicsProxyWidget::collidesWithPath(const QPainterPath &path, Qt::ItemSelectionMode mode)
[const]boolcontains(const QPointF point)Virtual method bool QGraphicsProxyWidget::contains(const QPointF &point)
QGraphicsProxyWidget ptrcreateProxyForChildWidget(QWidget ptr child)Method QGraphicsProxyWidget *QGraphicsProxyWidget::createProxyForChildWidget(QWidget *child)
[signal]voiddestroyed(QObject ptr arg1)Signal declaration for QGraphicsProxyWidget::destroyed(QObject *)
voidemit_childrenChangedEmitter for signal void QGraphicsProxyWidget::childrenChanged()
voidemit_destroyed(QObject ptr arg1 = nullptr)Emitter for signal void QGraphicsProxyWidget::destroyed(QObject *)
voidemit_enabledChangedEmitter for signal void QGraphicsProxyWidget::enabledChanged()
voidemit_geometryChangedEmitter for signal void QGraphicsProxyWidget::geometryChanged()
voidemit_heightChangedEmitter for signal void QGraphicsProxyWidget::heightChanged()
voidemit_layoutChangedEmitter for signal void QGraphicsProxyWidget::layoutChanged()
voidemit_objectNameChanged(string objectName)Emitter for signal void QGraphicsProxyWidget::objectNameChanged(const QString &objectName)
voidemit_opacityChangedEmitter for signal void QGraphicsProxyWidget::opacityChanged()
voidemit_parentChangedEmitter for signal void QGraphicsProxyWidget::parentChanged()
voidemit_rotationChangedEmitter for signal void QGraphicsProxyWidget::rotationChanged()
voidemit_scaleChangedEmitter for signal void QGraphicsProxyWidget::scaleChanged()
voidemit_visibleChangedEmitter for signal void QGraphicsProxyWidget::visibleChanged()
voidemit_widthChangedEmitter for signal void QGraphicsProxyWidget::widthChanged()
voidemit_xChangedEmitter for signal void QGraphicsProxyWidget::xChanged()
voidemit_yChangedEmitter for signal void QGraphicsProxyWidget::yChanged()
voidemit_zChangedEmitter for signal void QGraphicsProxyWidget::zChanged()
[signal]voidenabledChangedSignal declaration for QGraphicsProxyWidget::enabledChanged()
voidgeometry=(const QRectF rect)Method void QGraphicsProxyWidget::setGeometry(const QRectF &rect)
[signal]voidgeometryChangedSignal declaration for QGraphicsProxyWidget::geometryChanged()
[const]voidgetContentsMargins(double ptr left,
double ptr top,
double ptr right,
double ptr bottom)
Virtual method void QGraphicsProxyWidget::getContentsMargins(double *left, double *top, double *right, double *bottom)
[signal]voidheightChangedSignal declaration for QGraphicsProxyWidget::heightChanged()
[const]boolisObscuredBy(const QGraphicsItem ptr item)Virtual method bool QGraphicsProxyWidget::isObscuredBy(const QGraphicsItem *item)
[signal]voidlayoutChangedSignal declaration for QGraphicsProxyWidget::layoutChanged()
[signal]voidobjectNameChanged(string objectName)Signal declaration for QGraphicsProxyWidget::objectNameChanged(const QString &objectName)
[signal]voidopacityChangedSignal declaration for QGraphicsProxyWidget::opacityChanged()
[const]QPainterPathopaqueAreaVirtual method QPainterPath QGraphicsProxyWidget::opaqueArea()
voidpaint(QPainter ptr painter,
const QStyleOptionGraphicsItem ptr option,
QWidget ptr widget)
Virtual method void QGraphicsProxyWidget::paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget)
voidpaintWindowFrame(QPainter ptr painter,
const QStyleOptionGraphicsItem ptr option,
QWidget ptr widget)
Virtual method void QGraphicsProxyWidget::paintWindowFrame(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget)
[signal]voidparentChangedSignal declaration for QGraphicsProxyWidget::parentChanged()
[signal]voidrotationChangedSignal declaration for QGraphicsProxyWidget::rotationChanged()
[signal]voidscaleChangedSignal declaration for QGraphicsProxyWidget::scaleChanged()
voidsetGeometry(const QRectF rect)Virtual method void QGraphicsProxyWidget::setGeometry(const QRectF &rect)
voidsetWidget(QWidget ptr widget)Method void QGraphicsProxyWidget::setWidget(QWidget *widget)
[const]QPainterPathshapeVirtual method QPainterPath QGraphicsProxyWidget::shape()
[const]QRectFsubWidgetRect(const QWidget ptr widget)Method QRectF QGraphicsProxyWidget::subWidgetRect(const QWidget *widget)
[const]inttypeVirtual method int QGraphicsProxyWidget::type()
[signal]voidvisibleChangedSignal declaration for QGraphicsProxyWidget::visibleChanged()
[const]QWidget ptrwidgetMethod QWidget *QGraphicsProxyWidget::widget()
voidwidget=(QWidget ptr widget)Method void QGraphicsProxyWidget::setWidget(QWidget *widget)
[signal]voidwidthChangedSignal declaration for QGraphicsProxyWidget::widthChanged()
[signal]voidxChangedSignal declaration for QGraphicsProxyWidget::xChanged()
[signal]voidyChangedSignal declaration for QGraphicsProxyWidget::yChanged()
[signal]voidzChangedSignal declaration for QGraphicsProxyWidget::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 QGraphicsProxyWidget::tr(const char *s, const char *c, int n)
stringtrUtf8(string s,
string c = nullptr,
int n = -1)
Static method QString QGraphicsProxyWidget::trUtf8(const char *s, const char *c, int n)

Protected methods (static, non-static and constructors)

voidaddToIndexMethod void QGraphicsProxyWidget::addToIndex()
voidchangeEvent(QEvent ptr event)Virtual method void QGraphicsProxyWidget::changeEvent(QEvent *event)
voidchildEvent(QChildEvent ptr event)Virtual method void QGraphicsProxyWidget::childEvent(QChildEvent *event)
voidcloseEvent(QCloseEvent ptr event)Virtual method void QGraphicsProxyWidget::closeEvent(QCloseEvent *event)
voidcontextMenuEvent(QGraphicsSceneContextMenuEvent ptr event)Virtual method void QGraphicsProxyWidget::contextMenuEvent(QGraphicsSceneContextMenuEvent *event)
voidcustomEvent(QEvent ptr event)Virtual method void QGraphicsProxyWidget::customEvent(QEvent *event)
voiddisconnectNotify(const QMetaMethod signal)Virtual method void QGraphicsProxyWidget::disconnectNotify(const QMetaMethod &signal)
voiddragEnterEvent(QGraphicsSceneDragDropEvent ptr event)Virtual method void QGraphicsProxyWidget::dragEnterEvent(QGraphicsSceneDragDropEvent *event)
voiddragLeaveEvent(QGraphicsSceneDragDropEvent ptr event)Virtual method void QGraphicsProxyWidget::dragLeaveEvent(QGraphicsSceneDragDropEvent *event)
voiddragMoveEvent(QGraphicsSceneDragDropEvent ptr event)Virtual method void QGraphicsProxyWidget::dragMoveEvent(QGraphicsSceneDragDropEvent *event)
voiddropEvent(QGraphicsSceneDragDropEvent ptr event)Virtual method void QGraphicsProxyWidget::dropEvent(QGraphicsSceneDragDropEvent *event)
boolevent(QEvent ptr event)Virtual method bool QGraphicsProxyWidget::event(QEvent *event)
booleventFilter(QObject ptr object,
QEvent ptr event)
Virtual method bool QGraphicsProxyWidget::eventFilter(QObject *object, QEvent *event)
[const]variantextension(variant variant)Virtual method QVariant QGraphicsProxyWidget::extension(const QVariant &variant)
voidfocusInEvent(QFocusEvent ptr event)Virtual method void QGraphicsProxyWidget::focusInEvent(QFocusEvent *event)
boolfocusNextPrevChild(bool next)Virtual method bool QGraphicsProxyWidget::focusNextPrevChild(bool next)
voidfocusOutEvent(QFocusEvent ptr event)Virtual method void QGraphicsProxyWidget::focusOutEvent(QFocusEvent *event)
voidgrabKeyboardEvent(QEvent ptr event)Virtual method void QGraphicsProxyWidget::grabKeyboardEvent(QEvent *event)
voidgrabMouseEvent(QEvent ptr event)Virtual method void QGraphicsProxyWidget::grabMouseEvent(QEvent *event)
voidhideEvent(QHideEvent ptr event)Virtual method void QGraphicsProxyWidget::hideEvent(QHideEvent *event)
voidhoverEnterEvent(QGraphicsSceneHoverEvent ptr event)Virtual method void QGraphicsProxyWidget::hoverEnterEvent(QGraphicsSceneHoverEvent *event)
voidhoverLeaveEvent(QGraphicsSceneHoverEvent ptr event)Virtual method void QGraphicsProxyWidget::hoverLeaveEvent(QGraphicsSceneHoverEvent *event)
voidhoverMoveEvent(QGraphicsSceneHoverEvent ptr event)Virtual method void QGraphicsProxyWidget::hoverMoveEvent(QGraphicsSceneHoverEvent *event)
[const]voidinitStyleOption(QStyleOption ptr option)Virtual method void QGraphicsProxyWidget::initStyleOption(QStyleOption *option)
voidinputMethodEvent(QInputMethodEvent ptr event)Virtual method void QGraphicsProxyWidget::inputMethodEvent(QInputMethodEvent *event)
[const]variantinputMethodQuery(const Qt_InputMethodQuery query)Virtual method QVariant QGraphicsProxyWidget::inputMethodQuery(Qt::InputMethodQuery query)
[const]boolisSignalConnected(const QMetaMethod signal)Method bool QGraphicsProxyWidget::isSignalConnected(const QMetaMethod &signal)
variantitemChange(const QGraphicsItem_GraphicsItemChange change,
variant value)
Virtual method QVariant QGraphicsProxyWidget::itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant &value)
voidkeyPressEvent(QKeyEvent ptr event)Virtual method void QGraphicsProxyWidget::keyPressEvent(QKeyEvent *event)
voidkeyReleaseEvent(QKeyEvent ptr event)Virtual method void QGraphicsProxyWidget::keyReleaseEvent(QKeyEvent *event)
voidmouseDoubleClickEvent(QGraphicsSceneMouseEvent ptr event)Virtual method void QGraphicsProxyWidget::mouseDoubleClickEvent(QGraphicsSceneMouseEvent *event)
voidmouseMoveEvent(QGraphicsSceneMouseEvent ptr event)Virtual method void QGraphicsProxyWidget::mouseMoveEvent(QGraphicsSceneMouseEvent *event)
voidmousePressEvent(QGraphicsSceneMouseEvent ptr event)Virtual method void QGraphicsProxyWidget::mousePressEvent(QGraphicsSceneMouseEvent *event)
voidmouseReleaseEvent(QGraphicsSceneMouseEvent ptr event)Virtual method void QGraphicsProxyWidget::mouseReleaseEvent(QGraphicsSceneMouseEvent *event)
voidmoveEvent(QGraphicsSceneMoveEvent ptr event)Virtual method void QGraphicsProxyWidget::moveEvent(QGraphicsSceneMoveEvent *event)
QGraphicsProxyWidget ptrnewProxyWidget(const QWidget ptr arg1)Method QGraphicsProxyWidget *QGraphicsProxyWidget::newProxyWidget(const QWidget *)
voidpolishEventVirtual method void QGraphicsProxyWidget::polishEvent()
voidprepareGeometryChangeMethod void QGraphicsProxyWidget::prepareGeometryChange()
variantpropertyChange(string propertyName,
variant value)
Virtual method QVariant QGraphicsProxyWidget::propertyChange(const QString &propertyName, const QVariant &value)
[const]intreceivers(string signal)Method int QGraphicsProxyWidget::receivers(const char *signal)
voidremoveFromIndexMethod void QGraphicsProxyWidget::removeFromIndex()
voidresizeEvent(QGraphicsSceneResizeEvent ptr event)Virtual method void QGraphicsProxyWidget::resizeEvent(QGraphicsSceneResizeEvent *event)
boolsceneEvent(QEvent ptr event)Virtual method bool QGraphicsProxyWidget::sceneEvent(QEvent *event)
boolsceneEventFilter(QGraphicsItem ptr watched,
QEvent ptr event)
Virtual method bool QGraphicsProxyWidget::sceneEventFilter(QGraphicsItem *watched, QEvent *event)
[const]QObject ptrsenderMethod QObject *QGraphicsProxyWidget::sender()
[const]intsenderSignalIndexMethod int QGraphicsProxyWidget::senderSignalIndex()
voidsetExtension(unsigned int extension,
variant variant)
Virtual method void QGraphicsProxyWidget::setExtension(QGraphicsItem::Extension extension, const QVariant &variant)
voidsetGraphicsItem(QGraphicsItem ptr item)Method void QGraphicsProxyWidget::setGraphicsItem(QGraphicsItem *item)
voidsetOwnedByLayout(bool ownedByLayout)Method void QGraphicsProxyWidget::setOwnedByLayout(bool ownedByLayout)
voidshowEvent(QShowEvent ptr event)Virtual method void QGraphicsProxyWidget::showEvent(QShowEvent *event)
[const]QSizeFsizeHint(const Qt_SizeHint which,
const QSizeF constraint)
Virtual method QSizeF QGraphicsProxyWidget::sizeHint(Qt::SizeHint which, const QSizeF &constraint)
[const]boolsupportsExtension(unsigned int extension)Virtual method bool QGraphicsProxyWidget::supportsExtension(QGraphicsItem::Extension extension)
voidtimerEvent(QTimerEvent ptr event)Virtual method void QGraphicsProxyWidget::timerEvent(QTimerEvent *event)
voidungrabKeyboardEvent(QEvent ptr event)Virtual method void QGraphicsProxyWidget::ungrabKeyboardEvent(QEvent *event)
voidungrabMouseEvent(QEvent ptr event)Virtual method void QGraphicsProxyWidget::ungrabMouseEvent(QEvent *event)
voidupdateGeometryVirtual method void QGraphicsProxyWidget::updateGeometry()
voidupdateMicroFocusMethod void QGraphicsProxyWidget::updateMicroFocus()
voidwheelEvent(QGraphicsSceneWheelEvent ptr event)Virtual method void QGraphicsProxyWidget::wheelEvent(QGraphicsSceneWheelEvent *event)
boolwindowFrameEvent(QEvent ptr e)Virtual method bool QGraphicsProxyWidget::windowFrameEvent(QEvent *e)
[const]Qt_WindowFrameSectionwindowFrameSectionAt(const QPointF pos)Virtual method Qt::WindowFrameSection QGraphicsProxyWidget::windowFrameSectionAt(const QPointF &pos)

Detailed description

_const_cast

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

This method can be reimplemented in a derived class.

boundingRect

Signature: [const] QRectF boundingRect

Description: Virtual method QRectF QGraphicsProxyWidget::boundingRect()

This method can be reimplemented in a derived class.

changeEvent

Signature: void changeEvent (QEvent ptr event)

Description: Virtual method void QGraphicsProxyWidget::changeEvent(QEvent *event)

This method can be reimplemented in a derived class.

childEvent

Signature: void childEvent (QChildEvent ptr event)

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

This method can be reimplemented in a derived class.

childrenChanged

Signature: [signal] void childrenChanged

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

closeEvent

Signature: void closeEvent (QCloseEvent ptr event)

Description: Virtual method void QGraphicsProxyWidget::closeEvent(QCloseEvent *event)

This method can be reimplemented in a derived class.

collidesWithItem

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

Description: Virtual method bool QGraphicsProxyWidget::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 QGraphicsProxyWidget::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 QGraphicsProxyWidget::contains(const QPointF &point)

This method can be reimplemented in a derived class.

contextMenuEvent

Signature: void contextMenuEvent (QGraphicsSceneContextMenuEvent ptr event)

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

This method can be reimplemented in a derived class.

createProxyForChildWidget

Signature: QGraphicsProxyWidget ptr createProxyForChildWidget (QWidget ptr child)

Description: Method QGraphicsProxyWidget *QGraphicsProxyWidget::createProxyForChildWidget(QWidget *child)

customEvent

Signature: void customEvent (QEvent ptr event)

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

This method can be reimplemented in a derived class.

destroyed

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

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

This method can be reimplemented in a derived class.

dragEnterEvent

Signature: void dragEnterEvent (QGraphicsSceneDragDropEvent ptr event)

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

This method can be reimplemented in a derived class.

dragLeaveEvent

Signature: void dragLeaveEvent (QGraphicsSceneDragDropEvent ptr event)

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

This method can be reimplemented in a derived class.

dragMoveEvent

Signature: void dragMoveEvent (QGraphicsSceneDragDropEvent ptr event)

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

This method can be reimplemented in a derived class.

dropEvent

Signature: void dropEvent (QGraphicsSceneDragDropEvent ptr event)

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

This method can be reimplemented in a derived class.

emit_childrenChanged

Signature: void emit_childrenChanged

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

Call this method to emit this signal.

emit_destroyed

Signature: void emit_destroyed (QObject ptr arg1 = nullptr)

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

Call this method to emit this signal.

emit_enabledChanged

Signature: void emit_enabledChanged

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

Call this method to emit this signal.

emit_geometryChanged

Signature: void emit_geometryChanged

Description: Emitter for signal void QGraphicsProxyWidget::geometryChanged()

Call this method to emit this signal.

emit_heightChanged

Signature: void emit_heightChanged

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

Call this method to emit this signal.

emit_layoutChanged

Signature: void emit_layoutChanged

Description: Emitter for signal void QGraphicsProxyWidget::layoutChanged()

Call this method to emit this signal.

emit_objectNameChanged

Signature: void emit_objectNameChanged (string objectName)

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

Call this method to emit this signal.

emit_opacityChanged

Signature: void emit_opacityChanged

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

Call this method to emit this signal.

emit_parentChanged

Signature: void emit_parentChanged

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

Call this method to emit this signal.

emit_rotationChanged

Signature: void emit_rotationChanged

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

Call this method to emit this signal.

emit_scaleChanged

Signature: void emit_scaleChanged

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

Call this method to emit this signal.

emit_visibleChanged

Signature: void emit_visibleChanged

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

Call this method to emit this signal.

emit_widthChanged

Signature: void emit_widthChanged

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

Call this method to emit this signal.

emit_xChanged

Signature: void emit_xChanged

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

Call this method to emit this signal.

emit_yChanged

Signature: void emit_yChanged

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

Call this method to emit this signal.

emit_zChanged

Signature: void emit_zChanged

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

Call this method to emit this signal.

enabledChanged

Signature: [signal] void enabledChanged

Description: Signal declaration for QGraphicsProxyWidget::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 event)

Description: Virtual method bool QGraphicsProxyWidget::event(QEvent *event)

This method can be reimplemented in a derived class.

eventFilter

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

Description: Virtual method bool QGraphicsProxyWidget::eventFilter(QObject *object, QEvent *event)

This method can be reimplemented in a derived class.

extension

Signature: [const] variant extension (variant variant)

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

This method can be reimplemented in a derived class.

focusInEvent

Signature: void focusInEvent (QFocusEvent ptr event)

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

This method can be reimplemented in a derived class.

focusNextPrevChild

Signature: bool focusNextPrevChild (bool next)

Description: Virtual method bool QGraphicsProxyWidget::focusNextPrevChild(bool next)

This method can be reimplemented in a derived class.

focusOutEvent

Signature: void focusOutEvent (QFocusEvent ptr event)

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

This method can be reimplemented in a derived class.

geometry=

Signature: void geometry= (const QRectF rect)

Description: Method void QGraphicsProxyWidget::setGeometry(const QRectF &rect)

This is a reimplementation of QGraphicsWidget::setGeometry

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

geometryChanged

Signature: [signal] void geometryChanged

Description: Signal declaration for QGraphicsProxyWidget::geometryChanged()

You can bind a procedure to this signal.

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

getContentsMargins

Signature: [const] void getContentsMargins (double ptr left, double ptr top, double ptr right, double ptr bottom)

Description: Virtual method void QGraphicsProxyWidget::getContentsMargins(double *left, double *top, double *right, double *bottom)

This method can be reimplemented in a derived class.

grabKeyboardEvent

Signature: void grabKeyboardEvent (QEvent ptr event)

Description: Virtual method void QGraphicsProxyWidget::grabKeyboardEvent(QEvent *event)

This method can be reimplemented in a derived class.

grabMouseEvent

Signature: void grabMouseEvent (QEvent ptr event)

Description: Virtual method void QGraphicsProxyWidget::grabMouseEvent(QEvent *event)

This method can be reimplemented in a derived class.

heightChanged

Signature: [signal] void heightChanged

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

hideEvent

Signature: void hideEvent (QHideEvent ptr event)

Description: Virtual method void QGraphicsProxyWidget::hideEvent(QHideEvent *event)

This method can be reimplemented in a derived class.

hoverEnterEvent

Signature: void hoverEnterEvent (QGraphicsSceneHoverEvent ptr event)

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

This method can be reimplemented in a derived class.

hoverLeaveEvent

Signature: void hoverLeaveEvent (QGraphicsSceneHoverEvent ptr event)

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

This method can be reimplemented in a derived class.

hoverMoveEvent

Signature: void hoverMoveEvent (QGraphicsSceneHoverEvent ptr event)

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

This method can be reimplemented in a derived class.

initStyleOption

Signature: [const] void initStyleOption (QStyleOption ptr option)

Description: Virtual method void QGraphicsProxyWidget::initStyleOption(QStyleOption *option)

This method can be reimplemented in a derived class.

inputMethodEvent

Signature: void inputMethodEvent (QInputMethodEvent ptr event)

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

This method can be reimplemented in a derived class.

isSignalConnected

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

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

This method can be reimplemented in a derived class.

keyReleaseEvent

Signature: void keyReleaseEvent (QKeyEvent ptr event)

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

This method can be reimplemented in a derived class.

layoutChanged

Signature: [signal] void layoutChanged

Description: Signal declaration for QGraphicsProxyWidget::layoutChanged()

You can bind a procedure to this signal.

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

mouseDoubleClickEvent

Signature: void mouseDoubleClickEvent (QGraphicsSceneMouseEvent ptr event)

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

This method can be reimplemented in a derived class.

mouseMoveEvent

Signature: void mouseMoveEvent (QGraphicsSceneMouseEvent ptr event)

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

This method can be reimplemented in a derived class.

mousePressEvent

Signature: void mousePressEvent (QGraphicsSceneMouseEvent ptr event)

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

This method can be reimplemented in a derived class.

mouseReleaseEvent

Signature: void mouseReleaseEvent (QGraphicsSceneMouseEvent ptr event)

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

This method can be reimplemented in a derived class.

moveEvent

Signature: void moveEvent (QGraphicsSceneMoveEvent ptr event)

Description: Virtual method void QGraphicsProxyWidget::moveEvent(QGraphicsSceneMoveEvent *event)

This method can be reimplemented in a derived class.

new

Signature: [static] new QGraphicsProxyWidget new (QGraphicsItem ptr parent = nullptr, Qt_QFlags_WindowType wFlags = Qt::WindowFlags())

Description: Constructor QGraphicsProxyWidget::QGraphicsProxyWidget(QGraphicsItem *parent, QFlags<Qt::WindowType> wFlags)

This method creates an object of class QGraphicsProxyWidget.

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

newProxyWidget

Signature: QGraphicsProxyWidget ptr newProxyWidget (const QWidget ptr arg1)

Description: Method QGraphicsProxyWidget *QGraphicsProxyWidget::newProxyWidget(const QWidget *)

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

objectNameChanged

Signature: [signal] void objectNameChanged (string objectName)

Description: Signal declaration for QGraphicsProxyWidget::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 QGraphicsProxyWidget::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 QGraphicsProxyWidget::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 QGraphicsProxyWidget::paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget)

This method can be reimplemented in a derived class.

paintWindowFrame

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

Description: Virtual method void QGraphicsProxyWidget::paintWindowFrame(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 QGraphicsProxyWidget::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.

polishEvent

Signature: void polishEvent

Description: Virtual method void QGraphicsProxyWidget::polishEvent()

This method can be reimplemented in a derived class.

prepareGeometryChange

Signature: void prepareGeometryChange

Description: Method void QGraphicsProxyWidget::prepareGeometryChange()

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

propertyChange

Signature: variant propertyChange (string propertyName, variant value)

Description: Virtual method QVariant QGraphicsProxyWidget::propertyChange(const QString &propertyName, const QVariant &value)

This method can be reimplemented in a derived class.

receivers

Signature: [const] int receivers (string signal)

Description: Method int QGraphicsProxyWidget::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 QGraphicsProxyWidget::removeFromIndex()

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

resizeEvent

Signature: void resizeEvent (QGraphicsSceneResizeEvent ptr event)

Description: Virtual method void QGraphicsProxyWidget::resizeEvent(QGraphicsSceneResizeEvent *event)

This method can be reimplemented in a derived class.

rotationChanged

Signature: [signal] void rotationChanged

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

This method can be reimplemented in a derived class.

sender

Signature: [const] QObject ptr sender

Description: Method QObject *QGraphicsProxyWidget::sender()

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

senderSignalIndex

Signature: [const] int senderSignalIndex

Description: Method int QGraphicsProxyWidget::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 QGraphicsProxyWidget::setExtension(QGraphicsItem::Extension extension, const QVariant &variant)

This method can be reimplemented in a derived class.

setGeometry

Signature: void setGeometry (const QRectF rect)

Description: Virtual method void QGraphicsProxyWidget::setGeometry(const QRectF &rect)

This method can be reimplemented in a derived class.

setGraphicsItem

Signature: void setGraphicsItem (QGraphicsItem ptr item)

Description: Method void QGraphicsProxyWidget::setGraphicsItem(QGraphicsItem *item)

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

setOwnedByLayout

Signature: void setOwnedByLayout (bool ownedByLayout)

Description: Method void QGraphicsProxyWidget::setOwnedByLayout(bool ownedByLayout)

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

setWidget

Signature: void setWidget (QWidget ptr widget)

Description: Method void QGraphicsProxyWidget::setWidget(QWidget *widget)

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

shape

Signature: [const] QPainterPath shape

Description: Virtual method QPainterPath QGraphicsProxyWidget::shape()

This method can be reimplemented in a derived class.

showEvent

Signature: void showEvent (QShowEvent ptr event)

Description: Virtual method void QGraphicsProxyWidget::showEvent(QShowEvent *event)

This method can be reimplemented in a derived class.

sizeHint

Signature: [const] QSizeF sizeHint (const Qt_SizeHint which, const QSizeF constraint)

Description: Virtual method QSizeF QGraphicsProxyWidget::sizeHint(Qt::SizeHint which, const QSizeF &constraint)

This method can be reimplemented in a derived class.

staticMetaObject

Signature: [static] QMetaObject staticMetaObject

Description: Obtains the static MetaObject for this class.

subWidgetRect

Signature: [const] QRectF subWidgetRect (const QWidget ptr widget)

Description: Method QRectF QGraphicsProxyWidget::subWidgetRect(const QWidget *widget)

supportsExtension

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

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

This method can be reimplemented in a derived class.

timerEvent

Signature: void timerEvent (QTimerEvent ptr event)

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

This method can be reimplemented in a derived class.

ungrabKeyboardEvent

Signature: void ungrabKeyboardEvent (QEvent ptr event)

Description: Virtual method void QGraphicsProxyWidget::ungrabKeyboardEvent(QEvent *event)

This method can be reimplemented in a derived class.

ungrabMouseEvent

Signature: void ungrabMouseEvent (QEvent ptr event)

Description: Virtual method void QGraphicsProxyWidget::ungrabMouseEvent(QEvent *event)

This method can be reimplemented in a derived class.

updateGeometry

Signature: void updateGeometry

Description: Virtual method void QGraphicsProxyWidget::updateGeometry()

This method can be reimplemented in a derived class.

updateMicroFocus

Signature: void updateMicroFocus

Description: Method void QGraphicsProxyWidget::updateMicroFocus()

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

visibleChanged

Signature: [signal] void visibleChanged

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

This method can be reimplemented in a derived class.

widget

Signature: [const] QWidget ptr widget

Description: Method QWidget *QGraphicsProxyWidget::widget()

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

widget=

Signature: void widget= (QWidget ptr widget)

Description: Method void QGraphicsProxyWidget::setWidget(QWidget *widget)

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

widthChanged

Signature: [signal] void widthChanged

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

windowFrameEvent

Signature: bool windowFrameEvent (QEvent ptr e)

Description: Virtual method bool QGraphicsProxyWidget::windowFrameEvent(QEvent *e)

This method can be reimplemented in a derived class.

windowFrameSectionAt

Signature: [const] Qt_WindowFrameSection windowFrameSectionAt (const QPointF pos)

Description: Virtual method Qt::WindowFrameSection QGraphicsProxyWidget::windowFrameSectionAt(const QPointF &pos)

This method can be reimplemented in a derived class.

xChanged

Signature: [signal] void xChanged

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