#include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include "gen_qgraphicsproxywidget.h" #ifdef __cplusplus extern "C" { #endif void miqt_exec_callback_QGraphicsProxyWidget_setGeometry(QGraphicsProxyWidget*, intptr_t, QRectF*); void miqt_exec_callback_QGraphicsProxyWidget_paint(QGraphicsProxyWidget*, intptr_t, QPainter*, QStyleOptionGraphicsItem*, QWidget*); int miqt_exec_callback_QGraphicsProxyWidget_type(const QGraphicsProxyWidget*, intptr_t); QVariant* miqt_exec_callback_QGraphicsProxyWidget_itemChange(QGraphicsProxyWidget*, intptr_t, int, QVariant*); bool miqt_exec_callback_QGraphicsProxyWidget_event(QGraphicsProxyWidget*, intptr_t, QEvent*); bool miqt_exec_callback_QGraphicsProxyWidget_eventFilter(QGraphicsProxyWidget*, intptr_t, QObject*, QEvent*); void miqt_exec_callback_QGraphicsProxyWidget_showEvent(QGraphicsProxyWidget*, intptr_t, QShowEvent*); void miqt_exec_callback_QGraphicsProxyWidget_hideEvent(QGraphicsProxyWidget*, intptr_t, QHideEvent*); void miqt_exec_callback_QGraphicsProxyWidget_contextMenuEvent(QGraphicsProxyWidget*, intptr_t, QGraphicsSceneContextMenuEvent*); void miqt_exec_callback_QGraphicsProxyWidget_dragEnterEvent(QGraphicsProxyWidget*, intptr_t, QGraphicsSceneDragDropEvent*); void miqt_exec_callback_QGraphicsProxyWidget_dragLeaveEvent(QGraphicsProxyWidget*, intptr_t, QGraphicsSceneDragDropEvent*); void miqt_exec_callback_QGraphicsProxyWidget_dragMoveEvent(QGraphicsProxyWidget*, intptr_t, QGraphicsSceneDragDropEvent*); void miqt_exec_callback_QGraphicsProxyWidget_dropEvent(QGraphicsProxyWidget*, intptr_t, QGraphicsSceneDragDropEvent*); void miqt_exec_callback_QGraphicsProxyWidget_hoverEnterEvent(QGraphicsProxyWidget*, intptr_t, QGraphicsSceneHoverEvent*); void miqt_exec_callback_QGraphicsProxyWidget_hoverLeaveEvent(QGraphicsProxyWidget*, intptr_t, QGraphicsSceneHoverEvent*); void miqt_exec_callback_QGraphicsProxyWidget_hoverMoveEvent(QGraphicsProxyWidget*, intptr_t, QGraphicsSceneHoverEvent*); void miqt_exec_callback_QGraphicsProxyWidget_grabMouseEvent(QGraphicsProxyWidget*, intptr_t, QEvent*); void miqt_exec_callback_QGraphicsProxyWidget_ungrabMouseEvent(QGraphicsProxyWidget*, intptr_t, QEvent*); void miqt_exec_callback_QGraphicsProxyWidget_mouseMoveEvent(QGraphicsProxyWidget*, intptr_t, QGraphicsSceneMouseEvent*); void miqt_exec_callback_QGraphicsProxyWidget_mousePressEvent(QGraphicsProxyWidget*, intptr_t, QGraphicsSceneMouseEvent*); void miqt_exec_callback_QGraphicsProxyWidget_mouseReleaseEvent(QGraphicsProxyWidget*, intptr_t, QGraphicsSceneMouseEvent*); void miqt_exec_callback_QGraphicsProxyWidget_mouseDoubleClickEvent(QGraphicsProxyWidget*, intptr_t, QGraphicsSceneMouseEvent*); void miqt_exec_callback_QGraphicsProxyWidget_wheelEvent(QGraphicsProxyWidget*, intptr_t, QGraphicsSceneWheelEvent*); void miqt_exec_callback_QGraphicsProxyWidget_keyPressEvent(QGraphicsProxyWidget*, intptr_t, QKeyEvent*); void miqt_exec_callback_QGraphicsProxyWidget_keyReleaseEvent(QGraphicsProxyWidget*, intptr_t, QKeyEvent*); void miqt_exec_callback_QGraphicsProxyWidget_focusInEvent(QGraphicsProxyWidget*, intptr_t, QFocusEvent*); void miqt_exec_callback_QGraphicsProxyWidget_focusOutEvent(QGraphicsProxyWidget*, intptr_t, QFocusEvent*); bool miqt_exec_callback_QGraphicsProxyWidget_focusNextPrevChild(QGraphicsProxyWidget*, intptr_t, bool); QVariant* miqt_exec_callback_QGraphicsProxyWidget_inputMethodQuery(const QGraphicsProxyWidget*, intptr_t, int); void miqt_exec_callback_QGraphicsProxyWidget_inputMethodEvent(QGraphicsProxyWidget*, intptr_t, QInputMethodEvent*); QSizeF* miqt_exec_callback_QGraphicsProxyWidget_sizeHint(const QGraphicsProxyWidget*, intptr_t, int, QSizeF*); void miqt_exec_callback_QGraphicsProxyWidget_resizeEvent(QGraphicsProxyWidget*, intptr_t, QGraphicsSceneResizeEvent*); void miqt_exec_callback_QGraphicsProxyWidget_getContentsMargins(const QGraphicsProxyWidget*, intptr_t, double*, double*, double*, double*); void miqt_exec_callback_QGraphicsProxyWidget_paintWindowFrame(QGraphicsProxyWidget*, intptr_t, QPainter*, QStyleOptionGraphicsItem*, QWidget*); QRectF* miqt_exec_callback_QGraphicsProxyWidget_boundingRect(const QGraphicsProxyWidget*, intptr_t); QPainterPath* miqt_exec_callback_QGraphicsProxyWidget_shape(const QGraphicsProxyWidget*, intptr_t); void miqt_exec_callback_QGraphicsProxyWidget_initStyleOption(const QGraphicsProxyWidget*, intptr_t, QStyleOption*); void miqt_exec_callback_QGraphicsProxyWidget_updateGeometry(QGraphicsProxyWidget*, intptr_t); QVariant* miqt_exec_callback_QGraphicsProxyWidget_propertyChange(QGraphicsProxyWidget*, intptr_t, struct miqt_string, QVariant*); bool miqt_exec_callback_QGraphicsProxyWidget_sceneEvent(QGraphicsProxyWidget*, intptr_t, QEvent*); bool miqt_exec_callback_QGraphicsProxyWidget_windowFrameEvent(QGraphicsProxyWidget*, intptr_t, QEvent*); int miqt_exec_callback_QGraphicsProxyWidget_windowFrameSectionAt(const QGraphicsProxyWidget*, intptr_t, QPointF*); void miqt_exec_callback_QGraphicsProxyWidget_changeEvent(QGraphicsProxyWidget*, intptr_t, QEvent*); void miqt_exec_callback_QGraphicsProxyWidget_closeEvent(QGraphicsProxyWidget*, intptr_t, QCloseEvent*); void miqt_exec_callback_QGraphicsProxyWidget_moveEvent(QGraphicsProxyWidget*, intptr_t, QGraphicsSceneMoveEvent*); void miqt_exec_callback_QGraphicsProxyWidget_polishEvent(QGraphicsProxyWidget*, intptr_t); void miqt_exec_callback_QGraphicsProxyWidget_grabKeyboardEvent(QGraphicsProxyWidget*, intptr_t, QEvent*); void miqt_exec_callback_QGraphicsProxyWidget_ungrabKeyboardEvent(QGraphicsProxyWidget*, intptr_t, QEvent*); void miqt_exec_callback_QGraphicsProxyWidget_timerEvent(QGraphicsProxyWidget*, intptr_t, QTimerEvent*); void miqt_exec_callback_QGraphicsProxyWidget_childEvent(QGraphicsProxyWidget*, intptr_t, QChildEvent*); void miqt_exec_callback_QGraphicsProxyWidget_customEvent(QGraphicsProxyWidget*, intptr_t, QEvent*); void miqt_exec_callback_QGraphicsProxyWidget_connectNotify(QGraphicsProxyWidget*, intptr_t, QMetaMethod*); void miqt_exec_callback_QGraphicsProxyWidget_disconnectNotify(QGraphicsProxyWidget*, intptr_t, QMetaMethod*); void miqt_exec_callback_QGraphicsProxyWidget_advance(QGraphicsProxyWidget*, intptr_t, int); bool miqt_exec_callback_QGraphicsProxyWidget_contains(const QGraphicsProxyWidget*, intptr_t, QPointF*); bool miqt_exec_callback_QGraphicsProxyWidget_collidesWithItem(const QGraphicsProxyWidget*, intptr_t, QGraphicsItem*, int); bool miqt_exec_callback_QGraphicsProxyWidget_collidesWithPath(const QGraphicsProxyWidget*, intptr_t, QPainterPath*, int); bool miqt_exec_callback_QGraphicsProxyWidget_isObscuredBy(const QGraphicsProxyWidget*, intptr_t, QGraphicsItem*); QPainterPath* miqt_exec_callback_QGraphicsProxyWidget_opaqueArea(const QGraphicsProxyWidget*, intptr_t); bool miqt_exec_callback_QGraphicsProxyWidget_sceneEventFilter(QGraphicsProxyWidget*, intptr_t, QGraphicsItem*, QEvent*); bool miqt_exec_callback_QGraphicsProxyWidget_supportsExtension(const QGraphicsProxyWidget*, intptr_t, int); void miqt_exec_callback_QGraphicsProxyWidget_setExtension(QGraphicsProxyWidget*, intptr_t, int, QVariant*); QVariant* miqt_exec_callback_QGraphicsProxyWidget_extension(const QGraphicsProxyWidget*, intptr_t, QVariant*); #ifdef __cplusplus } /* extern C */ #endif class MiqtVirtualQGraphicsProxyWidget final : public QGraphicsProxyWidget { public: MiqtVirtualQGraphicsProxyWidget(): QGraphicsProxyWidget() {}; MiqtVirtualQGraphicsProxyWidget(QGraphicsItem* parent): QGraphicsProxyWidget(parent) {}; MiqtVirtualQGraphicsProxyWidget(QGraphicsItem* parent, Qt::WindowFlags wFlags): QGraphicsProxyWidget(parent, wFlags) {}; virtual ~MiqtVirtualQGraphicsProxyWidget() override = default; // cgo.Handle value for overwritten implementation intptr_t handle__setGeometry = 0; // Subclass to allow providing a Go implementation virtual void setGeometry(const QRectF& rect) override { if (handle__setGeometry == 0) { QGraphicsProxyWidget::setGeometry(rect); return; } const QRectF& rect_ret = rect; // Cast returned reference into pointer QRectF* sigval1 = const_cast(&rect_ret); miqt_exec_callback_QGraphicsProxyWidget_setGeometry(this, handle__setGeometry, sigval1); } // Wrapper to allow calling protected method void virtualbase_setGeometry(QRectF* rect) { QGraphicsProxyWidget::setGeometry(*rect); } // cgo.Handle value for overwritten implementation intptr_t handle__paint = 0; // Subclass to allow providing a Go implementation virtual void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget) override { if (handle__paint == 0) { QGraphicsProxyWidget::paint(painter, option, widget); return; } QPainter* sigval1 = painter; QStyleOptionGraphicsItem* sigval2 = (QStyleOptionGraphicsItem*) option; QWidget* sigval3 = widget; miqt_exec_callback_QGraphicsProxyWidget_paint(this, handle__paint, sigval1, sigval2, sigval3); } // Wrapper to allow calling protected method void virtualbase_paint(QPainter* painter, QStyleOptionGraphicsItem* option, QWidget* widget) { QGraphicsProxyWidget::paint(painter, option, widget); } // cgo.Handle value for overwritten implementation intptr_t handle__type = 0; // Subclass to allow providing a Go implementation virtual int type() const override { if (handle__type == 0) { return QGraphicsProxyWidget::type(); } int callback_return_value = miqt_exec_callback_QGraphicsProxyWidget_type(this, handle__type); return static_cast(callback_return_value); } // Wrapper to allow calling protected method int virtualbase_type() const { return QGraphicsProxyWidget::type(); } // cgo.Handle value for overwritten implementation intptr_t handle__itemChange = 0; // Subclass to allow providing a Go implementation virtual QVariant itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant& value) override { if (handle__itemChange == 0) { return QGraphicsProxyWidget::itemChange(change, value); } QGraphicsItem::GraphicsItemChange change_ret = change; int sigval1 = static_cast(change_ret); const QVariant& value_ret = value; // Cast returned reference into pointer QVariant* sigval2 = const_cast(&value_ret); QVariant* callback_return_value = miqt_exec_callback_QGraphicsProxyWidget_itemChange(this, handle__itemChange, sigval1, sigval2); return *callback_return_value; } // Wrapper to allow calling protected method QVariant* virtualbase_itemChange(int change, QVariant* value) { return new QVariant(QGraphicsProxyWidget::itemChange(static_cast(change), *value)); } // cgo.Handle value for overwritten implementation intptr_t handle__event = 0; // Subclass to allow providing a Go implementation virtual bool event(QEvent* event) override { if (handle__event == 0) { return QGraphicsProxyWidget::event(event); } QEvent* sigval1 = event; bool callback_return_value = miqt_exec_callback_QGraphicsProxyWidget_event(this, handle__event, sigval1); return callback_return_value; } // Wrapper to allow calling protected method bool virtualbase_event(QEvent* event) { return QGraphicsProxyWidget::event(event); } // cgo.Handle value for overwritten implementation intptr_t handle__eventFilter = 0; // Subclass to allow providing a Go implementation virtual bool eventFilter(QObject* object, QEvent* event) override { if (handle__eventFilter == 0) { return QGraphicsProxyWidget::eventFilter(object, event); } QObject* sigval1 = object; QEvent* sigval2 = event; bool callback_return_value = miqt_exec_callback_QGraphicsProxyWidget_eventFilter(this, handle__eventFilter, sigval1, sigval2); return callback_return_value; } // Wrapper to allow calling protected method bool virtualbase_eventFilter(QObject* object, QEvent* event) { return QGraphicsProxyWidget::eventFilter(object, event); } // cgo.Handle value for overwritten implementation intptr_t handle__showEvent = 0; // Subclass to allow providing a Go implementation virtual void showEvent(QShowEvent* event) override { if (handle__showEvent == 0) { QGraphicsProxyWidget::showEvent(event); return; } QShowEvent* sigval1 = event; miqt_exec_callback_QGraphicsProxyWidget_showEvent(this, handle__showEvent, sigval1); } // Wrapper to allow calling protected method void virtualbase_showEvent(QShowEvent* event) { QGraphicsProxyWidget::showEvent(event); } // cgo.Handle value for overwritten implementation intptr_t handle__hideEvent = 0; // Subclass to allow providing a Go implementation virtual void hideEvent(QHideEvent* event) override { if (handle__hideEvent == 0) { QGraphicsProxyWidget::hideEvent(event); return; } QHideEvent* sigval1 = event; miqt_exec_callback_QGraphicsProxyWidget_hideEvent(this, handle__hideEvent, sigval1); } // Wrapper to allow calling protected method void virtualbase_hideEvent(QHideEvent* event) { QGraphicsProxyWidget::hideEvent(event); } // cgo.Handle value for overwritten implementation intptr_t handle__contextMenuEvent = 0; // Subclass to allow providing a Go implementation virtual void contextMenuEvent(QGraphicsSceneContextMenuEvent* event) override { if (handle__contextMenuEvent == 0) { QGraphicsProxyWidget::contextMenuEvent(event); return; } QGraphicsSceneContextMenuEvent* sigval1 = event; miqt_exec_callback_QGraphicsProxyWidget_contextMenuEvent(this, handle__contextMenuEvent, sigval1); } // Wrapper to allow calling protected method void virtualbase_contextMenuEvent(QGraphicsSceneContextMenuEvent* event) { QGraphicsProxyWidget::contextMenuEvent(event); } // cgo.Handle value for overwritten implementation intptr_t handle__dragEnterEvent = 0; // Subclass to allow providing a Go implementation virtual void dragEnterEvent(QGraphicsSceneDragDropEvent* event) override { if (handle__dragEnterEvent == 0) { QGraphicsProxyWidget::dragEnterEvent(event); return; } QGraphicsSceneDragDropEvent* sigval1 = event; miqt_exec_callback_QGraphicsProxyWidget_dragEnterEvent(this, handle__dragEnterEvent, sigval1); } // Wrapper to allow calling protected method void virtualbase_dragEnterEvent(QGraphicsSceneDragDropEvent* event) { QGraphicsProxyWidget::dragEnterEvent(event); } // cgo.Handle value for overwritten implementation intptr_t handle__dragLeaveEvent = 0; // Subclass to allow providing a Go implementation virtual void dragLeaveEvent(QGraphicsSceneDragDropEvent* event) override { if (handle__dragLeaveEvent == 0) { QGraphicsProxyWidget::dragLeaveEvent(event); return; } QGraphicsSceneDragDropEvent* sigval1 = event; miqt_exec_callback_QGraphicsProxyWidget_dragLeaveEvent(this, handle__dragLeaveEvent, sigval1); } // Wrapper to allow calling protected method void virtualbase_dragLeaveEvent(QGraphicsSceneDragDropEvent* event) { QGraphicsProxyWidget::dragLeaveEvent(event); } // cgo.Handle value for overwritten implementation intptr_t handle__dragMoveEvent = 0; // Subclass to allow providing a Go implementation virtual void dragMoveEvent(QGraphicsSceneDragDropEvent* event) override { if (handle__dragMoveEvent == 0) { QGraphicsProxyWidget::dragMoveEvent(event); return; } QGraphicsSceneDragDropEvent* sigval1 = event; miqt_exec_callback_QGraphicsProxyWidget_dragMoveEvent(this, handle__dragMoveEvent, sigval1); } // Wrapper to allow calling protected method void virtualbase_dragMoveEvent(QGraphicsSceneDragDropEvent* event) { QGraphicsProxyWidget::dragMoveEvent(event); } // cgo.Handle value for overwritten implementation intptr_t handle__dropEvent = 0; // Subclass to allow providing a Go implementation virtual void dropEvent(QGraphicsSceneDragDropEvent* event) override { if (handle__dropEvent == 0) { QGraphicsProxyWidget::dropEvent(event); return; } QGraphicsSceneDragDropEvent* sigval1 = event; miqt_exec_callback_QGraphicsProxyWidget_dropEvent(this, handle__dropEvent, sigval1); } // Wrapper to allow calling protected method void virtualbase_dropEvent(QGraphicsSceneDragDropEvent* event) { QGraphicsProxyWidget::dropEvent(event); } // cgo.Handle value for overwritten implementation intptr_t handle__hoverEnterEvent = 0; // Subclass to allow providing a Go implementation virtual void hoverEnterEvent(QGraphicsSceneHoverEvent* event) override { if (handle__hoverEnterEvent == 0) { QGraphicsProxyWidget::hoverEnterEvent(event); return; } QGraphicsSceneHoverEvent* sigval1 = event; miqt_exec_callback_QGraphicsProxyWidget_hoverEnterEvent(this, handle__hoverEnterEvent, sigval1); } // Wrapper to allow calling protected method void virtualbase_hoverEnterEvent(QGraphicsSceneHoverEvent* event) { QGraphicsProxyWidget::hoverEnterEvent(event); } // cgo.Handle value for overwritten implementation intptr_t handle__hoverLeaveEvent = 0; // Subclass to allow providing a Go implementation virtual void hoverLeaveEvent(QGraphicsSceneHoverEvent* event) override { if (handle__hoverLeaveEvent == 0) { QGraphicsProxyWidget::hoverLeaveEvent(event); return; } QGraphicsSceneHoverEvent* sigval1 = event; miqt_exec_callback_QGraphicsProxyWidget_hoverLeaveEvent(this, handle__hoverLeaveEvent, sigval1); } // Wrapper to allow calling protected method void virtualbase_hoverLeaveEvent(QGraphicsSceneHoverEvent* event) { QGraphicsProxyWidget::hoverLeaveEvent(event); } // cgo.Handle value for overwritten implementation intptr_t handle__hoverMoveEvent = 0; // Subclass to allow providing a Go implementation virtual void hoverMoveEvent(QGraphicsSceneHoverEvent* event) override { if (handle__hoverMoveEvent == 0) { QGraphicsProxyWidget::hoverMoveEvent(event); return; } QGraphicsSceneHoverEvent* sigval1 = event; miqt_exec_callback_QGraphicsProxyWidget_hoverMoveEvent(this, handle__hoverMoveEvent, sigval1); } // Wrapper to allow calling protected method void virtualbase_hoverMoveEvent(QGraphicsSceneHoverEvent* event) { QGraphicsProxyWidget::hoverMoveEvent(event); } // cgo.Handle value for overwritten implementation intptr_t handle__grabMouseEvent = 0; // Subclass to allow providing a Go implementation virtual void grabMouseEvent(QEvent* event) override { if (handle__grabMouseEvent == 0) { QGraphicsProxyWidget::grabMouseEvent(event); return; } QEvent* sigval1 = event; miqt_exec_callback_QGraphicsProxyWidget_grabMouseEvent(this, handle__grabMouseEvent, sigval1); } // Wrapper to allow calling protected method void virtualbase_grabMouseEvent(QEvent* event) { QGraphicsProxyWidget::grabMouseEvent(event); } // cgo.Handle value for overwritten implementation intptr_t handle__ungrabMouseEvent = 0; // Subclass to allow providing a Go implementation virtual void ungrabMouseEvent(QEvent* event) override { if (handle__ungrabMouseEvent == 0) { QGraphicsProxyWidget::ungrabMouseEvent(event); return; } QEvent* sigval1 = event; miqt_exec_callback_QGraphicsProxyWidget_ungrabMouseEvent(this, handle__ungrabMouseEvent, sigval1); } // Wrapper to allow calling protected method void virtualbase_ungrabMouseEvent(QEvent* event) { QGraphicsProxyWidget::ungrabMouseEvent(event); } // cgo.Handle value for overwritten implementation intptr_t handle__mouseMoveEvent = 0; // Subclass to allow providing a Go implementation virtual void mouseMoveEvent(QGraphicsSceneMouseEvent* event) override { if (handle__mouseMoveEvent == 0) { QGraphicsProxyWidget::mouseMoveEvent(event); return; } QGraphicsSceneMouseEvent* sigval1 = event; miqt_exec_callback_QGraphicsProxyWidget_mouseMoveEvent(this, handle__mouseMoveEvent, sigval1); } // Wrapper to allow calling protected method void virtualbase_mouseMoveEvent(QGraphicsSceneMouseEvent* event) { QGraphicsProxyWidget::mouseMoveEvent(event); } // cgo.Handle value for overwritten implementation intptr_t handle__mousePressEvent = 0; // Subclass to allow providing a Go implementation virtual void mousePressEvent(QGraphicsSceneMouseEvent* event) override { if (handle__mousePressEvent == 0) { QGraphicsProxyWidget::mousePressEvent(event); return; } QGraphicsSceneMouseEvent* sigval1 = event; miqt_exec_callback_QGraphicsProxyWidget_mousePressEvent(this, handle__mousePressEvent, sigval1); } // Wrapper to allow calling protected method void virtualbase_mousePressEvent(QGraphicsSceneMouseEvent* event) { QGraphicsProxyWidget::mousePressEvent(event); } // cgo.Handle value for overwritten implementation intptr_t handle__mouseReleaseEvent = 0; // Subclass to allow providing a Go implementation virtual void mouseReleaseEvent(QGraphicsSceneMouseEvent* event) override { if (handle__mouseReleaseEvent == 0) { QGraphicsProxyWidget::mouseReleaseEvent(event); return; } QGraphicsSceneMouseEvent* sigval1 = event; miqt_exec_callback_QGraphicsProxyWidget_mouseReleaseEvent(this, handle__mouseReleaseEvent, sigval1); } // Wrapper to allow calling protected method void virtualbase_mouseReleaseEvent(QGraphicsSceneMouseEvent* event) { QGraphicsProxyWidget::mouseReleaseEvent(event); } // cgo.Handle value for overwritten implementation intptr_t handle__mouseDoubleClickEvent = 0; // Subclass to allow providing a Go implementation virtual void mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event) override { if (handle__mouseDoubleClickEvent == 0) { QGraphicsProxyWidget::mouseDoubleClickEvent(event); return; } QGraphicsSceneMouseEvent* sigval1 = event; miqt_exec_callback_QGraphicsProxyWidget_mouseDoubleClickEvent(this, handle__mouseDoubleClickEvent, sigval1); } // Wrapper to allow calling protected method void virtualbase_mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event) { QGraphicsProxyWidget::mouseDoubleClickEvent(event); } // cgo.Handle value for overwritten implementation intptr_t handle__wheelEvent = 0; // Subclass to allow providing a Go implementation virtual void wheelEvent(QGraphicsSceneWheelEvent* event) override { if (handle__wheelEvent == 0) { QGraphicsProxyWidget::wheelEvent(event); return; } QGraphicsSceneWheelEvent* sigval1 = event; miqt_exec_callback_QGraphicsProxyWidget_wheelEvent(this, handle__wheelEvent, sigval1); } // Wrapper to allow calling protected method void virtualbase_wheelEvent(QGraphicsSceneWheelEvent* event) { QGraphicsProxyWidget::wheelEvent(event); } // cgo.Handle value for overwritten implementation intptr_t handle__keyPressEvent = 0; // Subclass to allow providing a Go implementation virtual void keyPressEvent(QKeyEvent* event) override { if (handle__keyPressEvent == 0) { QGraphicsProxyWidget::keyPressEvent(event); return; } QKeyEvent* sigval1 = event; miqt_exec_callback_QGraphicsProxyWidget_keyPressEvent(this, handle__keyPressEvent, sigval1); } // Wrapper to allow calling protected method void virtualbase_keyPressEvent(QKeyEvent* event) { QGraphicsProxyWidget::keyPressEvent(event); } // cgo.Handle value for overwritten implementation intptr_t handle__keyReleaseEvent = 0; // Subclass to allow providing a Go implementation virtual void keyReleaseEvent(QKeyEvent* event) override { if (handle__keyReleaseEvent == 0) { QGraphicsProxyWidget::keyReleaseEvent(event); return; } QKeyEvent* sigval1 = event; miqt_exec_callback_QGraphicsProxyWidget_keyReleaseEvent(this, handle__keyReleaseEvent, sigval1); } // Wrapper to allow calling protected method void virtualbase_keyReleaseEvent(QKeyEvent* event) { QGraphicsProxyWidget::keyReleaseEvent(event); } // cgo.Handle value for overwritten implementation intptr_t handle__focusInEvent = 0; // Subclass to allow providing a Go implementation virtual void focusInEvent(QFocusEvent* event) override { if (handle__focusInEvent == 0) { QGraphicsProxyWidget::focusInEvent(event); return; } QFocusEvent* sigval1 = event; miqt_exec_callback_QGraphicsProxyWidget_focusInEvent(this, handle__focusInEvent, sigval1); } // Wrapper to allow calling protected method void virtualbase_focusInEvent(QFocusEvent* event) { QGraphicsProxyWidget::focusInEvent(event); } // cgo.Handle value for overwritten implementation intptr_t handle__focusOutEvent = 0; // Subclass to allow providing a Go implementation virtual void focusOutEvent(QFocusEvent* event) override { if (handle__focusOutEvent == 0) { QGraphicsProxyWidget::focusOutEvent(event); return; } QFocusEvent* sigval1 = event; miqt_exec_callback_QGraphicsProxyWidget_focusOutEvent(this, handle__focusOutEvent, sigval1); } // Wrapper to allow calling protected method void virtualbase_focusOutEvent(QFocusEvent* event) { QGraphicsProxyWidget::focusOutEvent(event); } // cgo.Handle value for overwritten implementation intptr_t handle__focusNextPrevChild = 0; // Subclass to allow providing a Go implementation virtual bool focusNextPrevChild(bool next) override { if (handle__focusNextPrevChild == 0) { return QGraphicsProxyWidget::focusNextPrevChild(next); } bool sigval1 = next; bool callback_return_value = miqt_exec_callback_QGraphicsProxyWidget_focusNextPrevChild(this, handle__focusNextPrevChild, sigval1); return callback_return_value; } // Wrapper to allow calling protected method bool virtualbase_focusNextPrevChild(bool next) { return QGraphicsProxyWidget::focusNextPrevChild(next); } // cgo.Handle value for overwritten implementation intptr_t handle__inputMethodQuery = 0; // Subclass to allow providing a Go implementation virtual QVariant inputMethodQuery(Qt::InputMethodQuery query) const override { if (handle__inputMethodQuery == 0) { return QGraphicsProxyWidget::inputMethodQuery(query); } Qt::InputMethodQuery query_ret = query; int sigval1 = static_cast(query_ret); QVariant* callback_return_value = miqt_exec_callback_QGraphicsProxyWidget_inputMethodQuery(this, handle__inputMethodQuery, sigval1); return *callback_return_value; } // Wrapper to allow calling protected method QVariant* virtualbase_inputMethodQuery(int query) const { return new QVariant(QGraphicsProxyWidget::inputMethodQuery(static_cast(query))); } // cgo.Handle value for overwritten implementation intptr_t handle__inputMethodEvent = 0; // Subclass to allow providing a Go implementation virtual void inputMethodEvent(QInputMethodEvent* event) override { if (handle__inputMethodEvent == 0) { QGraphicsProxyWidget::inputMethodEvent(event); return; } QInputMethodEvent* sigval1 = event; miqt_exec_callback_QGraphicsProxyWidget_inputMethodEvent(this, handle__inputMethodEvent, sigval1); } // Wrapper to allow calling protected method void virtualbase_inputMethodEvent(QInputMethodEvent* event) { QGraphicsProxyWidget::inputMethodEvent(event); } // cgo.Handle value for overwritten implementation intptr_t handle__sizeHint = 0; // Subclass to allow providing a Go implementation virtual QSizeF sizeHint(Qt::SizeHint which, const QSizeF& constraint) const override { if (handle__sizeHint == 0) { return QGraphicsProxyWidget::sizeHint(which, constraint); } Qt::SizeHint which_ret = which; int sigval1 = static_cast(which_ret); const QSizeF& constraint_ret = constraint; // Cast returned reference into pointer QSizeF* sigval2 = const_cast(&constraint_ret); QSizeF* callback_return_value = miqt_exec_callback_QGraphicsProxyWidget_sizeHint(this, handle__sizeHint, sigval1, sigval2); return *callback_return_value; } // Wrapper to allow calling protected method QSizeF* virtualbase_sizeHint(int which, QSizeF* constraint) const { return new QSizeF(QGraphicsProxyWidget::sizeHint(static_cast(which), *constraint)); } // cgo.Handle value for overwritten implementation intptr_t handle__resizeEvent = 0; // Subclass to allow providing a Go implementation virtual void resizeEvent(QGraphicsSceneResizeEvent* event) override { if (handle__resizeEvent == 0) { QGraphicsProxyWidget::resizeEvent(event); return; } QGraphicsSceneResizeEvent* sigval1 = event; miqt_exec_callback_QGraphicsProxyWidget_resizeEvent(this, handle__resizeEvent, sigval1); } // Wrapper to allow calling protected method void virtualbase_resizeEvent(QGraphicsSceneResizeEvent* event) { QGraphicsProxyWidget::resizeEvent(event); } // cgo.Handle value for overwritten implementation intptr_t handle__getContentsMargins = 0; // Subclass to allow providing a Go implementation virtual void getContentsMargins(qreal* left, qreal* top, qreal* right, qreal* bottom) const override { if (handle__getContentsMargins == 0) { QGraphicsProxyWidget::getContentsMargins(left, top, right, bottom); return; } qreal* left_ret = left; double* sigval1 = static_cast(left_ret); qreal* top_ret = top; double* sigval2 = static_cast(top_ret); qreal* right_ret = right; double* sigval3 = static_cast(right_ret); qreal* bottom_ret = bottom; double* sigval4 = static_cast(bottom_ret); miqt_exec_callback_QGraphicsProxyWidget_getContentsMargins(this, handle__getContentsMargins, sigval1, sigval2, sigval3, sigval4); } // Wrapper to allow calling protected method void virtualbase_getContentsMargins(double* left, double* top, double* right, double* bottom) const { QGraphicsProxyWidget::getContentsMargins(static_cast(left), static_cast(top), static_cast(right), static_cast(bottom)); } // cgo.Handle value for overwritten implementation intptr_t handle__paintWindowFrame = 0; // Subclass to allow providing a Go implementation virtual void paintWindowFrame(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget) override { if (handle__paintWindowFrame == 0) { QGraphicsProxyWidget::paintWindowFrame(painter, option, widget); return; } QPainter* sigval1 = painter; QStyleOptionGraphicsItem* sigval2 = (QStyleOptionGraphicsItem*) option; QWidget* sigval3 = widget; miqt_exec_callback_QGraphicsProxyWidget_paintWindowFrame(this, handle__paintWindowFrame, sigval1, sigval2, sigval3); } // Wrapper to allow calling protected method void virtualbase_paintWindowFrame(QPainter* painter, QStyleOptionGraphicsItem* option, QWidget* widget) { QGraphicsProxyWidget::paintWindowFrame(painter, option, widget); } // cgo.Handle value for overwritten implementation intptr_t handle__boundingRect = 0; // Subclass to allow providing a Go implementation virtual QRectF boundingRect() const override { if (handle__boundingRect == 0) { return QGraphicsProxyWidget::boundingRect(); } QRectF* callback_return_value = miqt_exec_callback_QGraphicsProxyWidget_boundingRect(this, handle__boundingRect); return *callback_return_value; } // Wrapper to allow calling protected method QRectF* virtualbase_boundingRect() const { return new QRectF(QGraphicsProxyWidget::boundingRect()); } // cgo.Handle value for overwritten implementation intptr_t handle__shape = 0; // Subclass to allow providing a Go implementation virtual QPainterPath shape() const override { if (handle__shape == 0) { return QGraphicsProxyWidget::shape(); } QPainterPath* callback_return_value = miqt_exec_callback_QGraphicsProxyWidget_shape(this, handle__shape); return *callback_return_value; } // Wrapper to allow calling protected method QPainterPath* virtualbase_shape() const { return new QPainterPath(QGraphicsProxyWidget::shape()); } // cgo.Handle value for overwritten implementation intptr_t handle__initStyleOption = 0; // Subclass to allow providing a Go implementation virtual void initStyleOption(QStyleOption* option) const override { if (handle__initStyleOption == 0) { QGraphicsProxyWidget::initStyleOption(option); return; } QStyleOption* sigval1 = option; miqt_exec_callback_QGraphicsProxyWidget_initStyleOption(this, handle__initStyleOption, sigval1); } // Wrapper to allow calling protected method void virtualbase_initStyleOption(QStyleOption* option) const { QGraphicsProxyWidget::initStyleOption(option); } // cgo.Handle value for overwritten implementation intptr_t handle__updateGeometry = 0; // Subclass to allow providing a Go implementation virtual void updateGeometry() override { if (handle__updateGeometry == 0) { QGraphicsProxyWidget::updateGeometry(); return; } miqt_exec_callback_QGraphicsProxyWidget_updateGeometry(this, handle__updateGeometry); } // Wrapper to allow calling protected method void virtualbase_updateGeometry() { QGraphicsProxyWidget::updateGeometry(); } // cgo.Handle value for overwritten implementation intptr_t handle__propertyChange = 0; // Subclass to allow providing a Go implementation virtual QVariant propertyChange(const QString& propertyName, const QVariant& value) override { if (handle__propertyChange == 0) { return QGraphicsProxyWidget::propertyChange(propertyName, value); } const QString propertyName_ret = propertyName; // Convert QString from UTF-16 in C++ RAII memory to UTF-8 in manually-managed C memory QByteArray propertyName_b = propertyName_ret.toUtf8(); struct miqt_string propertyName_ms; propertyName_ms.len = propertyName_b.length(); propertyName_ms.data = static_cast(malloc(propertyName_ms.len)); memcpy(propertyName_ms.data, propertyName_b.data(), propertyName_ms.len); struct miqt_string sigval1 = propertyName_ms; const QVariant& value_ret = value; // Cast returned reference into pointer QVariant* sigval2 = const_cast(&value_ret); QVariant* callback_return_value = miqt_exec_callback_QGraphicsProxyWidget_propertyChange(this, handle__propertyChange, sigval1, sigval2); return *callback_return_value; } // Wrapper to allow calling protected method QVariant* virtualbase_propertyChange(struct miqt_string propertyName, QVariant* value) { QString propertyName_QString = QString::fromUtf8(propertyName.data, propertyName.len); return new QVariant(QGraphicsProxyWidget::propertyChange(propertyName_QString, *value)); } // cgo.Handle value for overwritten implementation intptr_t handle__sceneEvent = 0; // Subclass to allow providing a Go implementation virtual bool sceneEvent(QEvent* event) override { if (handle__sceneEvent == 0) { return QGraphicsProxyWidget::sceneEvent(event); } QEvent* sigval1 = event; bool callback_return_value = miqt_exec_callback_QGraphicsProxyWidget_sceneEvent(this, handle__sceneEvent, sigval1); return callback_return_value; } // Wrapper to allow calling protected method bool virtualbase_sceneEvent(QEvent* event) { return QGraphicsProxyWidget::sceneEvent(event); } // cgo.Handle value for overwritten implementation intptr_t handle__windowFrameEvent = 0; // Subclass to allow providing a Go implementation virtual bool windowFrameEvent(QEvent* e) override { if (handle__windowFrameEvent == 0) { return QGraphicsProxyWidget::windowFrameEvent(e); } QEvent* sigval1 = e; bool callback_return_value = miqt_exec_callback_QGraphicsProxyWidget_windowFrameEvent(this, handle__windowFrameEvent, sigval1); return callback_return_value; } // Wrapper to allow calling protected method bool virtualbase_windowFrameEvent(QEvent* e) { return QGraphicsProxyWidget::windowFrameEvent(e); } // cgo.Handle value for overwritten implementation intptr_t handle__windowFrameSectionAt = 0; // Subclass to allow providing a Go implementation virtual Qt::WindowFrameSection windowFrameSectionAt(const QPointF& pos) const override { if (handle__windowFrameSectionAt == 0) { return QGraphicsProxyWidget::windowFrameSectionAt(pos); } const QPointF& pos_ret = pos; // Cast returned reference into pointer QPointF* sigval1 = const_cast(&pos_ret); int callback_return_value = miqt_exec_callback_QGraphicsProxyWidget_windowFrameSectionAt(this, handle__windowFrameSectionAt, sigval1); return static_cast(callback_return_value); } // Wrapper to allow calling protected method int virtualbase_windowFrameSectionAt(QPointF* pos) const { Qt::WindowFrameSection _ret = QGraphicsProxyWidget::windowFrameSectionAt(*pos); return static_cast(_ret); } // cgo.Handle value for overwritten implementation intptr_t handle__changeEvent = 0; // Subclass to allow providing a Go implementation virtual void changeEvent(QEvent* event) override { if (handle__changeEvent == 0) { QGraphicsProxyWidget::changeEvent(event); return; } QEvent* sigval1 = event; miqt_exec_callback_QGraphicsProxyWidget_changeEvent(this, handle__changeEvent, sigval1); } // Wrapper to allow calling protected method void virtualbase_changeEvent(QEvent* event) { QGraphicsProxyWidget::changeEvent(event); } // cgo.Handle value for overwritten implementation intptr_t handle__closeEvent = 0; // Subclass to allow providing a Go implementation virtual void closeEvent(QCloseEvent* event) override { if (handle__closeEvent == 0) { QGraphicsProxyWidget::closeEvent(event); return; } QCloseEvent* sigval1 = event; miqt_exec_callback_QGraphicsProxyWidget_closeEvent(this, handle__closeEvent, sigval1); } // Wrapper to allow calling protected method void virtualbase_closeEvent(QCloseEvent* event) { QGraphicsProxyWidget::closeEvent(event); } // cgo.Handle value for overwritten implementation intptr_t handle__moveEvent = 0; // Subclass to allow providing a Go implementation virtual void moveEvent(QGraphicsSceneMoveEvent* event) override { if (handle__moveEvent == 0) { QGraphicsProxyWidget::moveEvent(event); return; } QGraphicsSceneMoveEvent* sigval1 = event; miqt_exec_callback_QGraphicsProxyWidget_moveEvent(this, handle__moveEvent, sigval1); } // Wrapper to allow calling protected method void virtualbase_moveEvent(QGraphicsSceneMoveEvent* event) { QGraphicsProxyWidget::moveEvent(event); } // cgo.Handle value for overwritten implementation intptr_t handle__polishEvent = 0; // Subclass to allow providing a Go implementation virtual void polishEvent() override { if (handle__polishEvent == 0) { QGraphicsProxyWidget::polishEvent(); return; } miqt_exec_callback_QGraphicsProxyWidget_polishEvent(this, handle__polishEvent); } // Wrapper to allow calling protected method void virtualbase_polishEvent() { QGraphicsProxyWidget::polishEvent(); } // cgo.Handle value for overwritten implementation intptr_t handle__grabKeyboardEvent = 0; // Subclass to allow providing a Go implementation virtual void grabKeyboardEvent(QEvent* event) override { if (handle__grabKeyboardEvent == 0) { QGraphicsProxyWidget::grabKeyboardEvent(event); return; } QEvent* sigval1 = event; miqt_exec_callback_QGraphicsProxyWidget_grabKeyboardEvent(this, handle__grabKeyboardEvent, sigval1); } // Wrapper to allow calling protected method void virtualbase_grabKeyboardEvent(QEvent* event) { QGraphicsProxyWidget::grabKeyboardEvent(event); } // cgo.Handle value for overwritten implementation intptr_t handle__ungrabKeyboardEvent = 0; // Subclass to allow providing a Go implementation virtual void ungrabKeyboardEvent(QEvent* event) override { if (handle__ungrabKeyboardEvent == 0) { QGraphicsProxyWidget::ungrabKeyboardEvent(event); return; } QEvent* sigval1 = event; miqt_exec_callback_QGraphicsProxyWidget_ungrabKeyboardEvent(this, handle__ungrabKeyboardEvent, sigval1); } // Wrapper to allow calling protected method void virtualbase_ungrabKeyboardEvent(QEvent* event) { QGraphicsProxyWidget::ungrabKeyboardEvent(event); } // cgo.Handle value for overwritten implementation intptr_t handle__timerEvent = 0; // Subclass to allow providing a Go implementation virtual void timerEvent(QTimerEvent* event) override { if (handle__timerEvent == 0) { QGraphicsProxyWidget::timerEvent(event); return; } QTimerEvent* sigval1 = event; miqt_exec_callback_QGraphicsProxyWidget_timerEvent(this, handle__timerEvent, sigval1); } // Wrapper to allow calling protected method void virtualbase_timerEvent(QTimerEvent* event) { QGraphicsProxyWidget::timerEvent(event); } // cgo.Handle value for overwritten implementation intptr_t handle__childEvent = 0; // Subclass to allow providing a Go implementation virtual void childEvent(QChildEvent* event) override { if (handle__childEvent == 0) { QGraphicsProxyWidget::childEvent(event); return; } QChildEvent* sigval1 = event; miqt_exec_callback_QGraphicsProxyWidget_childEvent(this, handle__childEvent, sigval1); } // Wrapper to allow calling protected method void virtualbase_childEvent(QChildEvent* event) { QGraphicsProxyWidget::childEvent(event); } // cgo.Handle value for overwritten implementation intptr_t handle__customEvent = 0; // Subclass to allow providing a Go implementation virtual void customEvent(QEvent* event) override { if (handle__customEvent == 0) { QGraphicsProxyWidget::customEvent(event); return; } QEvent* sigval1 = event; miqt_exec_callback_QGraphicsProxyWidget_customEvent(this, handle__customEvent, sigval1); } // Wrapper to allow calling protected method void virtualbase_customEvent(QEvent* event) { QGraphicsProxyWidget::customEvent(event); } // cgo.Handle value for overwritten implementation intptr_t handle__connectNotify = 0; // Subclass to allow providing a Go implementation virtual void connectNotify(const QMetaMethod& signal) override { if (handle__connectNotify == 0) { QGraphicsProxyWidget::connectNotify(signal); return; } const QMetaMethod& signal_ret = signal; // Cast returned reference into pointer QMetaMethod* sigval1 = const_cast(&signal_ret); miqt_exec_callback_QGraphicsProxyWidget_connectNotify(this, handle__connectNotify, sigval1); } // Wrapper to allow calling protected method void virtualbase_connectNotify(QMetaMethod* signal) { QGraphicsProxyWidget::connectNotify(*signal); } // cgo.Handle value for overwritten implementation intptr_t handle__disconnectNotify = 0; // Subclass to allow providing a Go implementation virtual void disconnectNotify(const QMetaMethod& signal) override { if (handle__disconnectNotify == 0) { QGraphicsProxyWidget::disconnectNotify(signal); return; } const QMetaMethod& signal_ret = signal; // Cast returned reference into pointer QMetaMethod* sigval1 = const_cast(&signal_ret); miqt_exec_callback_QGraphicsProxyWidget_disconnectNotify(this, handle__disconnectNotify, sigval1); } // Wrapper to allow calling protected method void virtualbase_disconnectNotify(QMetaMethod* signal) { QGraphicsProxyWidget::disconnectNotify(*signal); } // cgo.Handle value for overwritten implementation intptr_t handle__advance = 0; // Subclass to allow providing a Go implementation virtual void advance(int phase) override { if (handle__advance == 0) { QGraphicsProxyWidget::advance(phase); return; } int sigval1 = phase; miqt_exec_callback_QGraphicsProxyWidget_advance(this, handle__advance, sigval1); } // Wrapper to allow calling protected method void virtualbase_advance(int phase) { QGraphicsProxyWidget::advance(static_cast(phase)); } // cgo.Handle value for overwritten implementation intptr_t handle__contains = 0; // Subclass to allow providing a Go implementation virtual bool contains(const QPointF& point) const override { if (handle__contains == 0) { return QGraphicsProxyWidget::contains(point); } const QPointF& point_ret = point; // Cast returned reference into pointer QPointF* sigval1 = const_cast(&point_ret); bool callback_return_value = miqt_exec_callback_QGraphicsProxyWidget_contains(this, handle__contains, sigval1); return callback_return_value; } // Wrapper to allow calling protected method bool virtualbase_contains(QPointF* point) const { return QGraphicsProxyWidget::contains(*point); } // cgo.Handle value for overwritten implementation intptr_t handle__collidesWithItem = 0; // Subclass to allow providing a Go implementation virtual bool collidesWithItem(const QGraphicsItem* other, Qt::ItemSelectionMode mode) const override { if (handle__collidesWithItem == 0) { return QGraphicsProxyWidget::collidesWithItem(other, mode); } QGraphicsItem* sigval1 = (QGraphicsItem*) other; Qt::ItemSelectionMode mode_ret = mode; int sigval2 = static_cast(mode_ret); bool callback_return_value = miqt_exec_callback_QGraphicsProxyWidget_collidesWithItem(this, handle__collidesWithItem, sigval1, sigval2); return callback_return_value; } // Wrapper to allow calling protected method bool virtualbase_collidesWithItem(QGraphicsItem* other, int mode) const { return QGraphicsProxyWidget::collidesWithItem(other, static_cast(mode)); } // cgo.Handle value for overwritten implementation intptr_t handle__collidesWithPath = 0; // Subclass to allow providing a Go implementation virtual bool collidesWithPath(const QPainterPath& path, Qt::ItemSelectionMode mode) const override { if (handle__collidesWithPath == 0) { return QGraphicsProxyWidget::collidesWithPath(path, mode); } const QPainterPath& path_ret = path; // Cast returned reference into pointer QPainterPath* sigval1 = const_cast(&path_ret); Qt::ItemSelectionMode mode_ret = mode; int sigval2 = static_cast(mode_ret); bool callback_return_value = miqt_exec_callback_QGraphicsProxyWidget_collidesWithPath(this, handle__collidesWithPath, sigval1, sigval2); return callback_return_value; } // Wrapper to allow calling protected method bool virtualbase_collidesWithPath(QPainterPath* path, int mode) const { return QGraphicsProxyWidget::collidesWithPath(*path, static_cast(mode)); } // cgo.Handle value for overwritten implementation intptr_t handle__isObscuredBy = 0; // Subclass to allow providing a Go implementation virtual bool isObscuredBy(const QGraphicsItem* item) const override { if (handle__isObscuredBy == 0) { return QGraphicsProxyWidget::isObscuredBy(item); } QGraphicsItem* sigval1 = (QGraphicsItem*) item; bool callback_return_value = miqt_exec_callback_QGraphicsProxyWidget_isObscuredBy(this, handle__isObscuredBy, sigval1); return callback_return_value; } // Wrapper to allow calling protected method bool virtualbase_isObscuredBy(QGraphicsItem* item) const { return QGraphicsProxyWidget::isObscuredBy(item); } // cgo.Handle value for overwritten implementation intptr_t handle__opaqueArea = 0; // Subclass to allow providing a Go implementation virtual QPainterPath opaqueArea() const override { if (handle__opaqueArea == 0) { return QGraphicsProxyWidget::opaqueArea(); } QPainterPath* callback_return_value = miqt_exec_callback_QGraphicsProxyWidget_opaqueArea(this, handle__opaqueArea); return *callback_return_value; } // Wrapper to allow calling protected method QPainterPath* virtualbase_opaqueArea() const { return new QPainterPath(QGraphicsProxyWidget::opaqueArea()); } // cgo.Handle value for overwritten implementation intptr_t handle__sceneEventFilter = 0; // Subclass to allow providing a Go implementation virtual bool sceneEventFilter(QGraphicsItem* watched, QEvent* event) override { if (handle__sceneEventFilter == 0) { return QGraphicsProxyWidget::sceneEventFilter(watched, event); } QGraphicsItem* sigval1 = watched; QEvent* sigval2 = event; bool callback_return_value = miqt_exec_callback_QGraphicsProxyWidget_sceneEventFilter(this, handle__sceneEventFilter, sigval1, sigval2); return callback_return_value; } // Wrapper to allow calling protected method bool virtualbase_sceneEventFilter(QGraphicsItem* watched, QEvent* event) { return QGraphicsProxyWidget::sceneEventFilter(watched, event); } // cgo.Handle value for overwritten implementation intptr_t handle__supportsExtension = 0; // Subclass to allow providing a Go implementation virtual bool supportsExtension(QGraphicsItem::Extension extension) const override { if (handle__supportsExtension == 0) { return QGraphicsProxyWidget::supportsExtension(extension); } QGraphicsItem::Extension extension_ret = extension; int sigval1 = static_cast(extension_ret); bool callback_return_value = miqt_exec_callback_QGraphicsProxyWidget_supportsExtension(this, handle__supportsExtension, sigval1); return callback_return_value; } // Wrapper to allow calling protected method bool virtualbase_supportsExtension(int extension) const { return QGraphicsProxyWidget::supportsExtension(static_cast(extension)); } // cgo.Handle value for overwritten implementation intptr_t handle__setExtension = 0; // Subclass to allow providing a Go implementation virtual void setExtension(QGraphicsItem::Extension extension, const QVariant& variant) override { if (handle__setExtension == 0) { QGraphicsProxyWidget::setExtension(extension, variant); return; } QGraphicsItem::Extension extension_ret = extension; int sigval1 = static_cast(extension_ret); const QVariant& variant_ret = variant; // Cast returned reference into pointer QVariant* sigval2 = const_cast(&variant_ret); miqt_exec_callback_QGraphicsProxyWidget_setExtension(this, handle__setExtension, sigval1, sigval2); } // Wrapper to allow calling protected method void virtualbase_setExtension(int extension, QVariant* variant) { QGraphicsProxyWidget::setExtension(static_cast(extension), *variant); } // cgo.Handle value for overwritten implementation intptr_t handle__extension = 0; // Subclass to allow providing a Go implementation virtual QVariant extension(const QVariant& variant) const override { if (handle__extension == 0) { return QGraphicsProxyWidget::extension(variant); } const QVariant& variant_ret = variant; // Cast returned reference into pointer QVariant* sigval1 = const_cast(&variant_ret); QVariant* callback_return_value = miqt_exec_callback_QGraphicsProxyWidget_extension(this, handle__extension, sigval1); return *callback_return_value; } // Wrapper to allow calling protected method QVariant* virtualbase_extension(QVariant* variant) const { return new QVariant(QGraphicsProxyWidget::extension(*variant)); } }; QGraphicsProxyWidget* QGraphicsProxyWidget_new() { return new MiqtVirtualQGraphicsProxyWidget(); } QGraphicsProxyWidget* QGraphicsProxyWidget_new2(QGraphicsItem* parent) { return new MiqtVirtualQGraphicsProxyWidget(parent); } QGraphicsProxyWidget* QGraphicsProxyWidget_new3(QGraphicsItem* parent, int wFlags) { return new MiqtVirtualQGraphicsProxyWidget(parent, static_cast(wFlags)); } void QGraphicsProxyWidget_virtbase(QGraphicsProxyWidget* src, QGraphicsWidget** outptr_QGraphicsWidget) { *outptr_QGraphicsWidget = static_cast(src); } QMetaObject* QGraphicsProxyWidget_metaObject(const QGraphicsProxyWidget* self) { return (QMetaObject*) self->metaObject(); } void* QGraphicsProxyWidget_metacast(QGraphicsProxyWidget* self, const char* param1) { return self->qt_metacast(param1); } struct miqt_string QGraphicsProxyWidget_tr(const char* s) { QString _ret = QGraphicsProxyWidget::tr(s); // Convert QString from UTF-16 in C++ RAII memory to UTF-8 in manually-managed C memory QByteArray _b = _ret.toUtf8(); struct miqt_string _ms; _ms.len = _b.length(); _ms.data = static_cast(malloc(_ms.len)); memcpy(_ms.data, _b.data(), _ms.len); return _ms; } struct miqt_string QGraphicsProxyWidget_trUtf8(const char* s) { QString _ret = QGraphicsProxyWidget::trUtf8(s); // Convert QString from UTF-16 in C++ RAII memory to UTF-8 in manually-managed C memory QByteArray _b = _ret.toUtf8(); struct miqt_string _ms; _ms.len = _b.length(); _ms.data = static_cast(malloc(_ms.len)); memcpy(_ms.data, _b.data(), _ms.len); return _ms; } void QGraphicsProxyWidget_setWidget(QGraphicsProxyWidget* self, QWidget* widget) { self->setWidget(widget); } QWidget* QGraphicsProxyWidget_widget(const QGraphicsProxyWidget* self) { return self->widget(); } QRectF* QGraphicsProxyWidget_subWidgetRect(const QGraphicsProxyWidget* self, QWidget* widget) { return new QRectF(self->subWidgetRect(widget)); } void QGraphicsProxyWidget_setGeometry(QGraphicsProxyWidget* self, QRectF* rect) { self->setGeometry(*rect); } void QGraphicsProxyWidget_paint(QGraphicsProxyWidget* self, QPainter* painter, QStyleOptionGraphicsItem* option, QWidget* widget) { self->paint(painter, option, widget); } int QGraphicsProxyWidget_type(const QGraphicsProxyWidget* self) { return self->type(); } QGraphicsProxyWidget* QGraphicsProxyWidget_createProxyForChildWidget(QGraphicsProxyWidget* self, QWidget* child) { return self->createProxyForChildWidget(child); } struct miqt_string QGraphicsProxyWidget_tr2(const char* s, const char* c) { QString _ret = QGraphicsProxyWidget::tr(s, c); // Convert QString from UTF-16 in C++ RAII memory to UTF-8 in manually-managed C memory QByteArray _b = _ret.toUtf8(); struct miqt_string _ms; _ms.len = _b.length(); _ms.data = static_cast(malloc(_ms.len)); memcpy(_ms.data, _b.data(), _ms.len); return _ms; } struct miqt_string QGraphicsProxyWidget_tr3(const char* s, const char* c, int n) { QString _ret = QGraphicsProxyWidget::tr(s, c, static_cast(n)); // Convert QString from UTF-16 in C++ RAII memory to UTF-8 in manually-managed C memory QByteArray _b = _ret.toUtf8(); struct miqt_string _ms; _ms.len = _b.length(); _ms.data = static_cast(malloc(_ms.len)); memcpy(_ms.data, _b.data(), _ms.len); return _ms; } struct miqt_string QGraphicsProxyWidget_trUtf82(const char* s, const char* c) { QString _ret = QGraphicsProxyWidget::trUtf8(s, c); // Convert QString from UTF-16 in C++ RAII memory to UTF-8 in manually-managed C memory QByteArray _b = _ret.toUtf8(); struct miqt_string _ms; _ms.len = _b.length(); _ms.data = static_cast(malloc(_ms.len)); memcpy(_ms.data, _b.data(), _ms.len); return _ms; } struct miqt_string QGraphicsProxyWidget_trUtf83(const char* s, const char* c, int n) { QString _ret = QGraphicsProxyWidget::trUtf8(s, c, static_cast(n)); // Convert QString from UTF-16 in C++ RAII memory to UTF-8 in manually-managed C memory QByteArray _b = _ret.toUtf8(); struct miqt_string _ms; _ms.len = _b.length(); _ms.data = static_cast(malloc(_ms.len)); memcpy(_ms.data, _b.data(), _ms.len); return _ms; } bool QGraphicsProxyWidget_override_virtual_setGeometry(void* self, intptr_t slot) { MiqtVirtualQGraphicsProxyWidget* self_cast = dynamic_cast( (QGraphicsProxyWidget*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__setGeometry = slot; return true; } void QGraphicsProxyWidget_virtualbase_setGeometry(void* self, QRectF* rect) { ( (MiqtVirtualQGraphicsProxyWidget*)(self) )->virtualbase_setGeometry(rect); } bool QGraphicsProxyWidget_override_virtual_paint(void* self, intptr_t slot) { MiqtVirtualQGraphicsProxyWidget* self_cast = dynamic_cast( (QGraphicsProxyWidget*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__paint = slot; return true; } void QGraphicsProxyWidget_virtualbase_paint(void* self, QPainter* painter, QStyleOptionGraphicsItem* option, QWidget* widget) { ( (MiqtVirtualQGraphicsProxyWidget*)(self) )->virtualbase_paint(painter, option, widget); } bool QGraphicsProxyWidget_override_virtual_type(void* self, intptr_t slot) { MiqtVirtualQGraphicsProxyWidget* self_cast = dynamic_cast( (QGraphicsProxyWidget*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__type = slot; return true; } int QGraphicsProxyWidget_virtualbase_type(const void* self) { return ( (const MiqtVirtualQGraphicsProxyWidget*)(self) )->virtualbase_type(); } bool QGraphicsProxyWidget_override_virtual_itemChange(void* self, intptr_t slot) { MiqtVirtualQGraphicsProxyWidget* self_cast = dynamic_cast( (QGraphicsProxyWidget*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__itemChange = slot; return true; } QVariant* QGraphicsProxyWidget_virtualbase_itemChange(void* self, int change, QVariant* value) { return ( (MiqtVirtualQGraphicsProxyWidget*)(self) )->virtualbase_itemChange(change, value); } bool QGraphicsProxyWidget_override_virtual_event(void* self, intptr_t slot) { MiqtVirtualQGraphicsProxyWidget* self_cast = dynamic_cast( (QGraphicsProxyWidget*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__event = slot; return true; } bool QGraphicsProxyWidget_virtualbase_event(void* self, QEvent* event) { return ( (MiqtVirtualQGraphicsProxyWidget*)(self) )->virtualbase_event(event); } bool QGraphicsProxyWidget_override_virtual_eventFilter(void* self, intptr_t slot) { MiqtVirtualQGraphicsProxyWidget* self_cast = dynamic_cast( (QGraphicsProxyWidget*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__eventFilter = slot; return true; } bool QGraphicsProxyWidget_virtualbase_eventFilter(void* self, QObject* object, QEvent* event) { return ( (MiqtVirtualQGraphicsProxyWidget*)(self) )->virtualbase_eventFilter(object, event); } bool QGraphicsProxyWidget_override_virtual_showEvent(void* self, intptr_t slot) { MiqtVirtualQGraphicsProxyWidget* self_cast = dynamic_cast( (QGraphicsProxyWidget*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__showEvent = slot; return true; } void QGraphicsProxyWidget_virtualbase_showEvent(void* self, QShowEvent* event) { ( (MiqtVirtualQGraphicsProxyWidget*)(self) )->virtualbase_showEvent(event); } bool QGraphicsProxyWidget_override_virtual_hideEvent(void* self, intptr_t slot) { MiqtVirtualQGraphicsProxyWidget* self_cast = dynamic_cast( (QGraphicsProxyWidget*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__hideEvent = slot; return true; } void QGraphicsProxyWidget_virtualbase_hideEvent(void* self, QHideEvent* event) { ( (MiqtVirtualQGraphicsProxyWidget*)(self) )->virtualbase_hideEvent(event); } bool QGraphicsProxyWidget_override_virtual_contextMenuEvent(void* self, intptr_t slot) { MiqtVirtualQGraphicsProxyWidget* self_cast = dynamic_cast( (QGraphicsProxyWidget*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__contextMenuEvent = slot; return true; } void QGraphicsProxyWidget_virtualbase_contextMenuEvent(void* self, QGraphicsSceneContextMenuEvent* event) { ( (MiqtVirtualQGraphicsProxyWidget*)(self) )->virtualbase_contextMenuEvent(event); } bool QGraphicsProxyWidget_override_virtual_dragEnterEvent(void* self, intptr_t slot) { MiqtVirtualQGraphicsProxyWidget* self_cast = dynamic_cast( (QGraphicsProxyWidget*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__dragEnterEvent = slot; return true; } void QGraphicsProxyWidget_virtualbase_dragEnterEvent(void* self, QGraphicsSceneDragDropEvent* event) { ( (MiqtVirtualQGraphicsProxyWidget*)(self) )->virtualbase_dragEnterEvent(event); } bool QGraphicsProxyWidget_override_virtual_dragLeaveEvent(void* self, intptr_t slot) { MiqtVirtualQGraphicsProxyWidget* self_cast = dynamic_cast( (QGraphicsProxyWidget*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__dragLeaveEvent = slot; return true; } void QGraphicsProxyWidget_virtualbase_dragLeaveEvent(void* self, QGraphicsSceneDragDropEvent* event) { ( (MiqtVirtualQGraphicsProxyWidget*)(self) )->virtualbase_dragLeaveEvent(event); } bool QGraphicsProxyWidget_override_virtual_dragMoveEvent(void* self, intptr_t slot) { MiqtVirtualQGraphicsProxyWidget* self_cast = dynamic_cast( (QGraphicsProxyWidget*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__dragMoveEvent = slot; return true; } void QGraphicsProxyWidget_virtualbase_dragMoveEvent(void* self, QGraphicsSceneDragDropEvent* event) { ( (MiqtVirtualQGraphicsProxyWidget*)(self) )->virtualbase_dragMoveEvent(event); } bool QGraphicsProxyWidget_override_virtual_dropEvent(void* self, intptr_t slot) { MiqtVirtualQGraphicsProxyWidget* self_cast = dynamic_cast( (QGraphicsProxyWidget*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__dropEvent = slot; return true; } void QGraphicsProxyWidget_virtualbase_dropEvent(void* self, QGraphicsSceneDragDropEvent* event) { ( (MiqtVirtualQGraphicsProxyWidget*)(self) )->virtualbase_dropEvent(event); } bool QGraphicsProxyWidget_override_virtual_hoverEnterEvent(void* self, intptr_t slot) { MiqtVirtualQGraphicsProxyWidget* self_cast = dynamic_cast( (QGraphicsProxyWidget*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__hoverEnterEvent = slot; return true; } void QGraphicsProxyWidget_virtualbase_hoverEnterEvent(void* self, QGraphicsSceneHoverEvent* event) { ( (MiqtVirtualQGraphicsProxyWidget*)(self) )->virtualbase_hoverEnterEvent(event); } bool QGraphicsProxyWidget_override_virtual_hoverLeaveEvent(void* self, intptr_t slot) { MiqtVirtualQGraphicsProxyWidget* self_cast = dynamic_cast( (QGraphicsProxyWidget*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__hoverLeaveEvent = slot; return true; } void QGraphicsProxyWidget_virtualbase_hoverLeaveEvent(void* self, QGraphicsSceneHoverEvent* event) { ( (MiqtVirtualQGraphicsProxyWidget*)(self) )->virtualbase_hoverLeaveEvent(event); } bool QGraphicsProxyWidget_override_virtual_hoverMoveEvent(void* self, intptr_t slot) { MiqtVirtualQGraphicsProxyWidget* self_cast = dynamic_cast( (QGraphicsProxyWidget*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__hoverMoveEvent = slot; return true; } void QGraphicsProxyWidget_virtualbase_hoverMoveEvent(void* self, QGraphicsSceneHoverEvent* event) { ( (MiqtVirtualQGraphicsProxyWidget*)(self) )->virtualbase_hoverMoveEvent(event); } bool QGraphicsProxyWidget_override_virtual_grabMouseEvent(void* self, intptr_t slot) { MiqtVirtualQGraphicsProxyWidget* self_cast = dynamic_cast( (QGraphicsProxyWidget*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__grabMouseEvent = slot; return true; } void QGraphicsProxyWidget_virtualbase_grabMouseEvent(void* self, QEvent* event) { ( (MiqtVirtualQGraphicsProxyWidget*)(self) )->virtualbase_grabMouseEvent(event); } bool QGraphicsProxyWidget_override_virtual_ungrabMouseEvent(void* self, intptr_t slot) { MiqtVirtualQGraphicsProxyWidget* self_cast = dynamic_cast( (QGraphicsProxyWidget*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__ungrabMouseEvent = slot; return true; } void QGraphicsProxyWidget_virtualbase_ungrabMouseEvent(void* self, QEvent* event) { ( (MiqtVirtualQGraphicsProxyWidget*)(self) )->virtualbase_ungrabMouseEvent(event); } bool QGraphicsProxyWidget_override_virtual_mouseMoveEvent(void* self, intptr_t slot) { MiqtVirtualQGraphicsProxyWidget* self_cast = dynamic_cast( (QGraphicsProxyWidget*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__mouseMoveEvent = slot; return true; } void QGraphicsProxyWidget_virtualbase_mouseMoveEvent(void* self, QGraphicsSceneMouseEvent* event) { ( (MiqtVirtualQGraphicsProxyWidget*)(self) )->virtualbase_mouseMoveEvent(event); } bool QGraphicsProxyWidget_override_virtual_mousePressEvent(void* self, intptr_t slot) { MiqtVirtualQGraphicsProxyWidget* self_cast = dynamic_cast( (QGraphicsProxyWidget*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__mousePressEvent = slot; return true; } void QGraphicsProxyWidget_virtualbase_mousePressEvent(void* self, QGraphicsSceneMouseEvent* event) { ( (MiqtVirtualQGraphicsProxyWidget*)(self) )->virtualbase_mousePressEvent(event); } bool QGraphicsProxyWidget_override_virtual_mouseReleaseEvent(void* self, intptr_t slot) { MiqtVirtualQGraphicsProxyWidget* self_cast = dynamic_cast( (QGraphicsProxyWidget*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__mouseReleaseEvent = slot; return true; } void QGraphicsProxyWidget_virtualbase_mouseReleaseEvent(void* self, QGraphicsSceneMouseEvent* event) { ( (MiqtVirtualQGraphicsProxyWidget*)(self) )->virtualbase_mouseReleaseEvent(event); } bool QGraphicsProxyWidget_override_virtual_mouseDoubleClickEvent(void* self, intptr_t slot) { MiqtVirtualQGraphicsProxyWidget* self_cast = dynamic_cast( (QGraphicsProxyWidget*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__mouseDoubleClickEvent = slot; return true; } void QGraphicsProxyWidget_virtualbase_mouseDoubleClickEvent(void* self, QGraphicsSceneMouseEvent* event) { ( (MiqtVirtualQGraphicsProxyWidget*)(self) )->virtualbase_mouseDoubleClickEvent(event); } bool QGraphicsProxyWidget_override_virtual_wheelEvent(void* self, intptr_t slot) { MiqtVirtualQGraphicsProxyWidget* self_cast = dynamic_cast( (QGraphicsProxyWidget*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__wheelEvent = slot; return true; } void QGraphicsProxyWidget_virtualbase_wheelEvent(void* self, QGraphicsSceneWheelEvent* event) { ( (MiqtVirtualQGraphicsProxyWidget*)(self) )->virtualbase_wheelEvent(event); } bool QGraphicsProxyWidget_override_virtual_keyPressEvent(void* self, intptr_t slot) { MiqtVirtualQGraphicsProxyWidget* self_cast = dynamic_cast( (QGraphicsProxyWidget*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__keyPressEvent = slot; return true; } void QGraphicsProxyWidget_virtualbase_keyPressEvent(void* self, QKeyEvent* event) { ( (MiqtVirtualQGraphicsProxyWidget*)(self) )->virtualbase_keyPressEvent(event); } bool QGraphicsProxyWidget_override_virtual_keyReleaseEvent(void* self, intptr_t slot) { MiqtVirtualQGraphicsProxyWidget* self_cast = dynamic_cast( (QGraphicsProxyWidget*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__keyReleaseEvent = slot; return true; } void QGraphicsProxyWidget_virtualbase_keyReleaseEvent(void* self, QKeyEvent* event) { ( (MiqtVirtualQGraphicsProxyWidget*)(self) )->virtualbase_keyReleaseEvent(event); } bool QGraphicsProxyWidget_override_virtual_focusInEvent(void* self, intptr_t slot) { MiqtVirtualQGraphicsProxyWidget* self_cast = dynamic_cast( (QGraphicsProxyWidget*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__focusInEvent = slot; return true; } void QGraphicsProxyWidget_virtualbase_focusInEvent(void* self, QFocusEvent* event) { ( (MiqtVirtualQGraphicsProxyWidget*)(self) )->virtualbase_focusInEvent(event); } bool QGraphicsProxyWidget_override_virtual_focusOutEvent(void* self, intptr_t slot) { MiqtVirtualQGraphicsProxyWidget* self_cast = dynamic_cast( (QGraphicsProxyWidget*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__focusOutEvent = slot; return true; } void QGraphicsProxyWidget_virtualbase_focusOutEvent(void* self, QFocusEvent* event) { ( (MiqtVirtualQGraphicsProxyWidget*)(self) )->virtualbase_focusOutEvent(event); } bool QGraphicsProxyWidget_override_virtual_focusNextPrevChild(void* self, intptr_t slot) { MiqtVirtualQGraphicsProxyWidget* self_cast = dynamic_cast( (QGraphicsProxyWidget*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__focusNextPrevChild = slot; return true; } bool QGraphicsProxyWidget_virtualbase_focusNextPrevChild(void* self, bool next) { return ( (MiqtVirtualQGraphicsProxyWidget*)(self) )->virtualbase_focusNextPrevChild(next); } bool QGraphicsProxyWidget_override_virtual_inputMethodQuery(void* self, intptr_t slot) { MiqtVirtualQGraphicsProxyWidget* self_cast = dynamic_cast( (QGraphicsProxyWidget*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__inputMethodQuery = slot; return true; } QVariant* QGraphicsProxyWidget_virtualbase_inputMethodQuery(const void* self, int query) { return ( (const MiqtVirtualQGraphicsProxyWidget*)(self) )->virtualbase_inputMethodQuery(query); } bool QGraphicsProxyWidget_override_virtual_inputMethodEvent(void* self, intptr_t slot) { MiqtVirtualQGraphicsProxyWidget* self_cast = dynamic_cast( (QGraphicsProxyWidget*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__inputMethodEvent = slot; return true; } void QGraphicsProxyWidget_virtualbase_inputMethodEvent(void* self, QInputMethodEvent* event) { ( (MiqtVirtualQGraphicsProxyWidget*)(self) )->virtualbase_inputMethodEvent(event); } bool QGraphicsProxyWidget_override_virtual_sizeHint(void* self, intptr_t slot) { MiqtVirtualQGraphicsProxyWidget* self_cast = dynamic_cast( (QGraphicsProxyWidget*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__sizeHint = slot; return true; } QSizeF* QGraphicsProxyWidget_virtualbase_sizeHint(const void* self, int which, QSizeF* constraint) { return ( (const MiqtVirtualQGraphicsProxyWidget*)(self) )->virtualbase_sizeHint(which, constraint); } bool QGraphicsProxyWidget_override_virtual_resizeEvent(void* self, intptr_t slot) { MiqtVirtualQGraphicsProxyWidget* self_cast = dynamic_cast( (QGraphicsProxyWidget*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__resizeEvent = slot; return true; } void QGraphicsProxyWidget_virtualbase_resizeEvent(void* self, QGraphicsSceneResizeEvent* event) { ( (MiqtVirtualQGraphicsProxyWidget*)(self) )->virtualbase_resizeEvent(event); } bool QGraphicsProxyWidget_override_virtual_getContentsMargins(void* self, intptr_t slot) { MiqtVirtualQGraphicsProxyWidget* self_cast = dynamic_cast( (QGraphicsProxyWidget*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__getContentsMargins = slot; return true; } void QGraphicsProxyWidget_virtualbase_getContentsMargins(const void* self, double* left, double* top, double* right, double* bottom) { ( (const MiqtVirtualQGraphicsProxyWidget*)(self) )->virtualbase_getContentsMargins(left, top, right, bottom); } bool QGraphicsProxyWidget_override_virtual_paintWindowFrame(void* self, intptr_t slot) { MiqtVirtualQGraphicsProxyWidget* self_cast = dynamic_cast( (QGraphicsProxyWidget*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__paintWindowFrame = slot; return true; } void QGraphicsProxyWidget_virtualbase_paintWindowFrame(void* self, QPainter* painter, QStyleOptionGraphicsItem* option, QWidget* widget) { ( (MiqtVirtualQGraphicsProxyWidget*)(self) )->virtualbase_paintWindowFrame(painter, option, widget); } bool QGraphicsProxyWidget_override_virtual_boundingRect(void* self, intptr_t slot) { MiqtVirtualQGraphicsProxyWidget* self_cast = dynamic_cast( (QGraphicsProxyWidget*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__boundingRect = slot; return true; } QRectF* QGraphicsProxyWidget_virtualbase_boundingRect(const void* self) { return ( (const MiqtVirtualQGraphicsProxyWidget*)(self) )->virtualbase_boundingRect(); } bool QGraphicsProxyWidget_override_virtual_shape(void* self, intptr_t slot) { MiqtVirtualQGraphicsProxyWidget* self_cast = dynamic_cast( (QGraphicsProxyWidget*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__shape = slot; return true; } QPainterPath* QGraphicsProxyWidget_virtualbase_shape(const void* self) { return ( (const MiqtVirtualQGraphicsProxyWidget*)(self) )->virtualbase_shape(); } bool QGraphicsProxyWidget_override_virtual_initStyleOption(void* self, intptr_t slot) { MiqtVirtualQGraphicsProxyWidget* self_cast = dynamic_cast( (QGraphicsProxyWidget*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__initStyleOption = slot; return true; } void QGraphicsProxyWidget_virtualbase_initStyleOption(const void* self, QStyleOption* option) { ( (const MiqtVirtualQGraphicsProxyWidget*)(self) )->virtualbase_initStyleOption(option); } bool QGraphicsProxyWidget_override_virtual_updateGeometry(void* self, intptr_t slot) { MiqtVirtualQGraphicsProxyWidget* self_cast = dynamic_cast( (QGraphicsProxyWidget*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__updateGeometry = slot; return true; } void QGraphicsProxyWidget_virtualbase_updateGeometry(void* self) { ( (MiqtVirtualQGraphicsProxyWidget*)(self) )->virtualbase_updateGeometry(); } bool QGraphicsProxyWidget_override_virtual_propertyChange(void* self, intptr_t slot) { MiqtVirtualQGraphicsProxyWidget* self_cast = dynamic_cast( (QGraphicsProxyWidget*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__propertyChange = slot; return true; } QVariant* QGraphicsProxyWidget_virtualbase_propertyChange(void* self, struct miqt_string propertyName, QVariant* value) { return ( (MiqtVirtualQGraphicsProxyWidget*)(self) )->virtualbase_propertyChange(propertyName, value); } bool QGraphicsProxyWidget_override_virtual_sceneEvent(void* self, intptr_t slot) { MiqtVirtualQGraphicsProxyWidget* self_cast = dynamic_cast( (QGraphicsProxyWidget*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__sceneEvent = slot; return true; } bool QGraphicsProxyWidget_virtualbase_sceneEvent(void* self, QEvent* event) { return ( (MiqtVirtualQGraphicsProxyWidget*)(self) )->virtualbase_sceneEvent(event); } bool QGraphicsProxyWidget_override_virtual_windowFrameEvent(void* self, intptr_t slot) { MiqtVirtualQGraphicsProxyWidget* self_cast = dynamic_cast( (QGraphicsProxyWidget*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__windowFrameEvent = slot; return true; } bool QGraphicsProxyWidget_virtualbase_windowFrameEvent(void* self, QEvent* e) { return ( (MiqtVirtualQGraphicsProxyWidget*)(self) )->virtualbase_windowFrameEvent(e); } bool QGraphicsProxyWidget_override_virtual_windowFrameSectionAt(void* self, intptr_t slot) { MiqtVirtualQGraphicsProxyWidget* self_cast = dynamic_cast( (QGraphicsProxyWidget*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__windowFrameSectionAt = slot; return true; } int QGraphicsProxyWidget_virtualbase_windowFrameSectionAt(const void* self, QPointF* pos) { return ( (const MiqtVirtualQGraphicsProxyWidget*)(self) )->virtualbase_windowFrameSectionAt(pos); } bool QGraphicsProxyWidget_override_virtual_changeEvent(void* self, intptr_t slot) { MiqtVirtualQGraphicsProxyWidget* self_cast = dynamic_cast( (QGraphicsProxyWidget*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__changeEvent = slot; return true; } void QGraphicsProxyWidget_virtualbase_changeEvent(void* self, QEvent* event) { ( (MiqtVirtualQGraphicsProxyWidget*)(self) )->virtualbase_changeEvent(event); } bool QGraphicsProxyWidget_override_virtual_closeEvent(void* self, intptr_t slot) { MiqtVirtualQGraphicsProxyWidget* self_cast = dynamic_cast( (QGraphicsProxyWidget*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__closeEvent = slot; return true; } void QGraphicsProxyWidget_virtualbase_closeEvent(void* self, QCloseEvent* event) { ( (MiqtVirtualQGraphicsProxyWidget*)(self) )->virtualbase_closeEvent(event); } bool QGraphicsProxyWidget_override_virtual_moveEvent(void* self, intptr_t slot) { MiqtVirtualQGraphicsProxyWidget* self_cast = dynamic_cast( (QGraphicsProxyWidget*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__moveEvent = slot; return true; } void QGraphicsProxyWidget_virtualbase_moveEvent(void* self, QGraphicsSceneMoveEvent* event) { ( (MiqtVirtualQGraphicsProxyWidget*)(self) )->virtualbase_moveEvent(event); } bool QGraphicsProxyWidget_override_virtual_polishEvent(void* self, intptr_t slot) { MiqtVirtualQGraphicsProxyWidget* self_cast = dynamic_cast( (QGraphicsProxyWidget*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__polishEvent = slot; return true; } void QGraphicsProxyWidget_virtualbase_polishEvent(void* self) { ( (MiqtVirtualQGraphicsProxyWidget*)(self) )->virtualbase_polishEvent(); } bool QGraphicsProxyWidget_override_virtual_grabKeyboardEvent(void* self, intptr_t slot) { MiqtVirtualQGraphicsProxyWidget* self_cast = dynamic_cast( (QGraphicsProxyWidget*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__grabKeyboardEvent = slot; return true; } void QGraphicsProxyWidget_virtualbase_grabKeyboardEvent(void* self, QEvent* event) { ( (MiqtVirtualQGraphicsProxyWidget*)(self) )->virtualbase_grabKeyboardEvent(event); } bool QGraphicsProxyWidget_override_virtual_ungrabKeyboardEvent(void* self, intptr_t slot) { MiqtVirtualQGraphicsProxyWidget* self_cast = dynamic_cast( (QGraphicsProxyWidget*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__ungrabKeyboardEvent = slot; return true; } void QGraphicsProxyWidget_virtualbase_ungrabKeyboardEvent(void* self, QEvent* event) { ( (MiqtVirtualQGraphicsProxyWidget*)(self) )->virtualbase_ungrabKeyboardEvent(event); } bool QGraphicsProxyWidget_override_virtual_timerEvent(void* self, intptr_t slot) { MiqtVirtualQGraphicsProxyWidget* self_cast = dynamic_cast( (QGraphicsProxyWidget*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__timerEvent = slot; return true; } void QGraphicsProxyWidget_virtualbase_timerEvent(void* self, QTimerEvent* event) { ( (MiqtVirtualQGraphicsProxyWidget*)(self) )->virtualbase_timerEvent(event); } bool QGraphicsProxyWidget_override_virtual_childEvent(void* self, intptr_t slot) { MiqtVirtualQGraphicsProxyWidget* self_cast = dynamic_cast( (QGraphicsProxyWidget*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__childEvent = slot; return true; } void QGraphicsProxyWidget_virtualbase_childEvent(void* self, QChildEvent* event) { ( (MiqtVirtualQGraphicsProxyWidget*)(self) )->virtualbase_childEvent(event); } bool QGraphicsProxyWidget_override_virtual_customEvent(void* self, intptr_t slot) { MiqtVirtualQGraphicsProxyWidget* self_cast = dynamic_cast( (QGraphicsProxyWidget*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__customEvent = slot; return true; } void QGraphicsProxyWidget_virtualbase_customEvent(void* self, QEvent* event) { ( (MiqtVirtualQGraphicsProxyWidget*)(self) )->virtualbase_customEvent(event); } bool QGraphicsProxyWidget_override_virtual_connectNotify(void* self, intptr_t slot) { MiqtVirtualQGraphicsProxyWidget* self_cast = dynamic_cast( (QGraphicsProxyWidget*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__connectNotify = slot; return true; } void QGraphicsProxyWidget_virtualbase_connectNotify(void* self, QMetaMethod* signal) { ( (MiqtVirtualQGraphicsProxyWidget*)(self) )->virtualbase_connectNotify(signal); } bool QGraphicsProxyWidget_override_virtual_disconnectNotify(void* self, intptr_t slot) { MiqtVirtualQGraphicsProxyWidget* self_cast = dynamic_cast( (QGraphicsProxyWidget*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__disconnectNotify = slot; return true; } void QGraphicsProxyWidget_virtualbase_disconnectNotify(void* self, QMetaMethod* signal) { ( (MiqtVirtualQGraphicsProxyWidget*)(self) )->virtualbase_disconnectNotify(signal); } bool QGraphicsProxyWidget_override_virtual_advance(void* self, intptr_t slot) { MiqtVirtualQGraphicsProxyWidget* self_cast = dynamic_cast( (QGraphicsProxyWidget*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__advance = slot; return true; } void QGraphicsProxyWidget_virtualbase_advance(void* self, int phase) { ( (MiqtVirtualQGraphicsProxyWidget*)(self) )->virtualbase_advance(phase); } bool QGraphicsProxyWidget_override_virtual_contains(void* self, intptr_t slot) { MiqtVirtualQGraphicsProxyWidget* self_cast = dynamic_cast( (QGraphicsProxyWidget*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__contains = slot; return true; } bool QGraphicsProxyWidget_virtualbase_contains(const void* self, QPointF* point) { return ( (const MiqtVirtualQGraphicsProxyWidget*)(self) )->virtualbase_contains(point); } bool QGraphicsProxyWidget_override_virtual_collidesWithItem(void* self, intptr_t slot) { MiqtVirtualQGraphicsProxyWidget* self_cast = dynamic_cast( (QGraphicsProxyWidget*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__collidesWithItem = slot; return true; } bool QGraphicsProxyWidget_virtualbase_collidesWithItem(const void* self, QGraphicsItem* other, int mode) { return ( (const MiqtVirtualQGraphicsProxyWidget*)(self) )->virtualbase_collidesWithItem(other, mode); } bool QGraphicsProxyWidget_override_virtual_collidesWithPath(void* self, intptr_t slot) { MiqtVirtualQGraphicsProxyWidget* self_cast = dynamic_cast( (QGraphicsProxyWidget*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__collidesWithPath = slot; return true; } bool QGraphicsProxyWidget_virtualbase_collidesWithPath(const void* self, QPainterPath* path, int mode) { return ( (const MiqtVirtualQGraphicsProxyWidget*)(self) )->virtualbase_collidesWithPath(path, mode); } bool QGraphicsProxyWidget_override_virtual_isObscuredBy(void* self, intptr_t slot) { MiqtVirtualQGraphicsProxyWidget* self_cast = dynamic_cast( (QGraphicsProxyWidget*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__isObscuredBy = slot; return true; } bool QGraphicsProxyWidget_virtualbase_isObscuredBy(const void* self, QGraphicsItem* item) { return ( (const MiqtVirtualQGraphicsProxyWidget*)(self) )->virtualbase_isObscuredBy(item); } bool QGraphicsProxyWidget_override_virtual_opaqueArea(void* self, intptr_t slot) { MiqtVirtualQGraphicsProxyWidget* self_cast = dynamic_cast( (QGraphicsProxyWidget*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__opaqueArea = slot; return true; } QPainterPath* QGraphicsProxyWidget_virtualbase_opaqueArea(const void* self) { return ( (const MiqtVirtualQGraphicsProxyWidget*)(self) )->virtualbase_opaqueArea(); } bool QGraphicsProxyWidget_override_virtual_sceneEventFilter(void* self, intptr_t slot) { MiqtVirtualQGraphicsProxyWidget* self_cast = dynamic_cast( (QGraphicsProxyWidget*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__sceneEventFilter = slot; return true; } bool QGraphicsProxyWidget_virtualbase_sceneEventFilter(void* self, QGraphicsItem* watched, QEvent* event) { return ( (MiqtVirtualQGraphicsProxyWidget*)(self) )->virtualbase_sceneEventFilter(watched, event); } bool QGraphicsProxyWidget_override_virtual_supportsExtension(void* self, intptr_t slot) { MiqtVirtualQGraphicsProxyWidget* self_cast = dynamic_cast( (QGraphicsProxyWidget*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__supportsExtension = slot; return true; } bool QGraphicsProxyWidget_virtualbase_supportsExtension(const void* self, int extension) { return ( (const MiqtVirtualQGraphicsProxyWidget*)(self) )->virtualbase_supportsExtension(extension); } bool QGraphicsProxyWidget_override_virtual_setExtension(void* self, intptr_t slot) { MiqtVirtualQGraphicsProxyWidget* self_cast = dynamic_cast( (QGraphicsProxyWidget*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__setExtension = slot; return true; } void QGraphicsProxyWidget_virtualbase_setExtension(void* self, int extension, QVariant* variant) { ( (MiqtVirtualQGraphicsProxyWidget*)(self) )->virtualbase_setExtension(extension, variant); } bool QGraphicsProxyWidget_override_virtual_extension(void* self, intptr_t slot) { MiqtVirtualQGraphicsProxyWidget* self_cast = dynamic_cast( (QGraphicsProxyWidget*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__extension = slot; return true; } QVariant* QGraphicsProxyWidget_virtualbase_extension(const void* self, QVariant* variant) { return ( (const MiqtVirtualQGraphicsProxyWidget*)(self) )->virtualbase_extension(variant); } void QGraphicsProxyWidget_delete(QGraphicsProxyWidget* self) { delete self; }