#include "PythonQtWrapper_QGraphicsItemGroup.h" #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include void PythonQtShell_QGraphicsItemGroup::advance(int phase) { if (_wrapper) { PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "advance"); PyErr_Clear(); if (obj && !PythonQtSlotFunction_Check(obj)) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {NULL, (void*)&phase}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } } QGraphicsItemGroup::advance(phase); } QRectF PythonQtShell_QGraphicsItemGroup::boundingRect() const { if (_wrapper) { PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "boundingRect"); PyErr_Clear(); if (obj && !PythonQtSlotFunction_Check(obj)) { static const char* argumentList[] ={"QRectF"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QRectF returnValue; void* args[1] = {NULL}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); if (args[0]!=&returnValue) { if (args[0]==NULL) { PythonQt::priv()->handleVirtualOverloadReturnError("boundingRect", methodInfo, result); } else { returnValue = *((QRectF*)args[0]); } } } if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } } return QGraphicsItemGroup::boundingRect(); } bool PythonQtShell_QGraphicsItemGroup::collidesWithItem(const QGraphicsItem* other, Qt::ItemSelectionMode mode) const { if (_wrapper) { PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "collidesWithItem"); PyErr_Clear(); if (obj && !PythonQtSlotFunction_Check(obj)) { static const char* argumentList[] ={"bool" , "const QGraphicsItem*" , "Qt::ItemSelectionMode"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue; void* args[3] = {NULL, (void*)&other, (void*)&mode}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); if (args[0]!=&returnValue) { if (args[0]==NULL) { PythonQt::priv()->handleVirtualOverloadReturnError("collidesWithItem", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } } return QGraphicsItemGroup::collidesWithItem(other, mode); } bool PythonQtShell_QGraphicsItemGroup::collidesWithPath(const QPainterPath& path, Qt::ItemSelectionMode mode) const { if (_wrapper) { PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "collidesWithPath"); PyErr_Clear(); if (obj && !PythonQtSlotFunction_Check(obj)) { static const char* argumentList[] ={"bool" , "const QPainterPath&" , "Qt::ItemSelectionMode"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue; void* args[3] = {NULL, (void*)&path, (void*)&mode}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); if (args[0]!=&returnValue) { if (args[0]==NULL) { PythonQt::priv()->handleVirtualOverloadReturnError("collidesWithPath", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } } return QGraphicsItemGroup::collidesWithPath(path, mode); } bool PythonQtShell_QGraphicsItemGroup::contains(const QPointF& point) const { if (_wrapper) { PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contains"); PyErr_Clear(); if (obj && !PythonQtSlotFunction_Check(obj)) { static const char* argumentList[] ={"bool" , "const QPointF&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue; void* args[2] = {NULL, (void*)&point}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); if (args[0]!=&returnValue) { if (args[0]==NULL) { PythonQt::priv()->handleVirtualOverloadReturnError("contains", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } } return QGraphicsItemGroup::contains(point); } void PythonQtShell_QGraphicsItemGroup::contextMenuEvent(QGraphicsSceneContextMenuEvent* event) { if (_wrapper) { PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); PyErr_Clear(); if (obj && !PythonQtSlotFunction_Check(obj)) { static const char* argumentList[] ={"" , "QGraphicsSceneContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {NULL, (void*)&event}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } } QGraphicsItemGroup::contextMenuEvent(event); } void PythonQtShell_QGraphicsItemGroup::dragEnterEvent(QGraphicsSceneDragDropEvent* event) { if (_wrapper) { PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); PyErr_Clear(); if (obj && !PythonQtSlotFunction_Check(obj)) { static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {NULL, (void*)&event}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } } QGraphicsItemGroup::dragEnterEvent(event); } void PythonQtShell_QGraphicsItemGroup::dragLeaveEvent(QGraphicsSceneDragDropEvent* event) { if (_wrapper) { PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); PyErr_Clear(); if (obj && !PythonQtSlotFunction_Check(obj)) { static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {NULL, (void*)&event}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } } QGraphicsItemGroup::dragLeaveEvent(event); } void PythonQtShell_QGraphicsItemGroup::dragMoveEvent(QGraphicsSceneDragDropEvent* event) { if (_wrapper) { PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); PyErr_Clear(); if (obj && !PythonQtSlotFunction_Check(obj)) { static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {NULL, (void*)&event}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } } QGraphicsItemGroup::dragMoveEvent(event); } void PythonQtShell_QGraphicsItemGroup::dropEvent(QGraphicsSceneDragDropEvent* event) { if (_wrapper) { PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); PyErr_Clear(); if (obj && !PythonQtSlotFunction_Check(obj)) { static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {NULL, (void*)&event}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } } QGraphicsItemGroup::dropEvent(event); } QVariant PythonQtShell_QGraphicsItemGroup::extension(const QVariant& variant) const { if (_wrapper) { PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "extension"); PyErr_Clear(); if (obj && !PythonQtSlotFunction_Check(obj)) { static const char* argumentList[] ={"QVariant" , "const QVariant&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QVariant returnValue; void* args[2] = {NULL, (void*)&variant}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); if (args[0]!=&returnValue) { if (args[0]==NULL) { PythonQt::priv()->handleVirtualOverloadReturnError("extension", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } } return QGraphicsItemGroup::extension(variant); } void PythonQtShell_QGraphicsItemGroup::focusInEvent(QFocusEvent* event) { if (_wrapper) { PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); PyErr_Clear(); if (obj && !PythonQtSlotFunction_Check(obj)) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {NULL, (void*)&event}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } } QGraphicsItemGroup::focusInEvent(event); } void PythonQtShell_QGraphicsItemGroup::focusOutEvent(QFocusEvent* event) { if (_wrapper) { PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); PyErr_Clear(); if (obj && !PythonQtSlotFunction_Check(obj)) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {NULL, (void*)&event}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } } QGraphicsItemGroup::focusOutEvent(event); } void PythonQtShell_QGraphicsItemGroup::hoverEnterEvent(QGraphicsSceneHoverEvent* event) { if (_wrapper) { PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hoverEnterEvent"); PyErr_Clear(); if (obj && !PythonQtSlotFunction_Check(obj)) { static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {NULL, (void*)&event}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } } QGraphicsItemGroup::hoverEnterEvent(event); } void PythonQtShell_QGraphicsItemGroup::hoverLeaveEvent(QGraphicsSceneHoverEvent* event) { if (_wrapper) { PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hoverLeaveEvent"); PyErr_Clear(); if (obj && !PythonQtSlotFunction_Check(obj)) { static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {NULL, (void*)&event}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } } QGraphicsItemGroup::hoverLeaveEvent(event); } void PythonQtShell_QGraphicsItemGroup::hoverMoveEvent(QGraphicsSceneHoverEvent* event) { if (_wrapper) { PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hoverMoveEvent"); PyErr_Clear(); if (obj && !PythonQtSlotFunction_Check(obj)) { static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {NULL, (void*)&event}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } } QGraphicsItemGroup::hoverMoveEvent(event); } void PythonQtShell_QGraphicsItemGroup::inputMethodEvent(QInputMethodEvent* event) { if (_wrapper) { PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); PyErr_Clear(); if (obj && !PythonQtSlotFunction_Check(obj)) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {NULL, (void*)&event}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } } QGraphicsItemGroup::inputMethodEvent(event); } QVariant PythonQtShell_QGraphicsItemGroup::inputMethodQuery(Qt::InputMethodQuery query) const { if (_wrapper) { PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); PyErr_Clear(); if (obj && !PythonQtSlotFunction_Check(obj)) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QVariant returnValue; void* args[2] = {NULL, (void*)&query}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); if (args[0]!=&returnValue) { if (args[0]==NULL) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } } return QGraphicsItemGroup::inputMethodQuery(query); } bool PythonQtShell_QGraphicsItemGroup::isObscuredBy(const QGraphicsItem* item) const { if (_wrapper) { PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "isObscuredBy"); PyErr_Clear(); if (obj && !PythonQtSlotFunction_Check(obj)) { static const char* argumentList[] ={"bool" , "const QGraphicsItem*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue; void* args[2] = {NULL, (void*)&item}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); if (args[0]!=&returnValue) { if (args[0]==NULL) { PythonQt::priv()->handleVirtualOverloadReturnError("isObscuredBy", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } } return QGraphicsItemGroup::isObscuredBy(item); } QVariant PythonQtShell_QGraphicsItemGroup::itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant& value) { if (_wrapper) { PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "itemChange"); PyErr_Clear(); if (obj && !PythonQtSlotFunction_Check(obj)) { static const char* argumentList[] ={"QVariant" , "QGraphicsItem::GraphicsItemChange" , "const QVariant&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); QVariant returnValue; void* args[3] = {NULL, (void*)&change, (void*)&value}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); if (args[0]!=&returnValue) { if (args[0]==NULL) { PythonQt::priv()->handleVirtualOverloadReturnError("itemChange", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } } return QGraphicsItemGroup::itemChange(change, value); } void PythonQtShell_QGraphicsItemGroup::keyPressEvent(QKeyEvent* event) { if (_wrapper) { PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); PyErr_Clear(); if (obj && !PythonQtSlotFunction_Check(obj)) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {NULL, (void*)&event}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } } QGraphicsItemGroup::keyPressEvent(event); } void PythonQtShell_QGraphicsItemGroup::keyReleaseEvent(QKeyEvent* event) { if (_wrapper) { PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); PyErr_Clear(); if (obj && !PythonQtSlotFunction_Check(obj)) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {NULL, (void*)&event}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } } QGraphicsItemGroup::keyReleaseEvent(event); } void PythonQtShell_QGraphicsItemGroup::mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event) { if (_wrapper) { PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); PyErr_Clear(); if (obj && !PythonQtSlotFunction_Check(obj)) { static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {NULL, (void*)&event}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } } QGraphicsItemGroup::mouseDoubleClickEvent(event); } void PythonQtShell_QGraphicsItemGroup::mouseMoveEvent(QGraphicsSceneMouseEvent* event) { if (_wrapper) { PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); PyErr_Clear(); if (obj && !PythonQtSlotFunction_Check(obj)) { static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {NULL, (void*)&event}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } } QGraphicsItemGroup::mouseMoveEvent(event); } void PythonQtShell_QGraphicsItemGroup::mousePressEvent(QGraphicsSceneMouseEvent* event) { if (_wrapper) { PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); PyErr_Clear(); if (obj && !PythonQtSlotFunction_Check(obj)) { static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {NULL, (void*)&event}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } } QGraphicsItemGroup::mousePressEvent(event); } void PythonQtShell_QGraphicsItemGroup::mouseReleaseEvent(QGraphicsSceneMouseEvent* event) { if (_wrapper) { PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); PyErr_Clear(); if (obj && !PythonQtSlotFunction_Check(obj)) { static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {NULL, (void*)&event}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } } QGraphicsItemGroup::mouseReleaseEvent(event); } QPainterPath PythonQtShell_QGraphicsItemGroup::opaqueArea() const { if (_wrapper) { PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "opaqueArea"); PyErr_Clear(); if (obj && !PythonQtSlotFunction_Check(obj)) { static const char* argumentList[] ={"QPainterPath"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPainterPath returnValue; void* args[1] = {NULL}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); if (args[0]!=&returnValue) { if (args[0]==NULL) { PythonQt::priv()->handleVirtualOverloadReturnError("opaqueArea", methodInfo, result); } else { returnValue = *((QPainterPath*)args[0]); } } } if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } } return QGraphicsItemGroup::opaqueArea(); } void PythonQtShell_QGraphicsItemGroup::paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget) { if (_wrapper) { PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paint"); PyErr_Clear(); if (obj && !PythonQtSlotFunction_Check(obj)) { static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionGraphicsItem*" , "QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); void* args[4] = {NULL, (void*)&painter, (void*)&option, (void*)&widget}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } } QGraphicsItemGroup::paint(painter, option, widget); } bool PythonQtShell_QGraphicsItemGroup::sceneEvent(QEvent* event) { if (_wrapper) { PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sceneEvent"); PyErr_Clear(); if (obj && !PythonQtSlotFunction_Check(obj)) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue; void* args[2] = {NULL, (void*)&event}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); if (args[0]!=&returnValue) { if (args[0]==NULL) { PythonQt::priv()->handleVirtualOverloadReturnError("sceneEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } } return QGraphicsItemGroup::sceneEvent(event); } bool PythonQtShell_QGraphicsItemGroup::sceneEventFilter(QGraphicsItem* watched, QEvent* event) { if (_wrapper) { PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sceneEventFilter"); PyErr_Clear(); if (obj && !PythonQtSlotFunction_Check(obj)) { static const char* argumentList[] ={"bool" , "QGraphicsItem*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue; void* args[3] = {NULL, (void*)&watched, (void*)&event}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); if (args[0]!=&returnValue) { if (args[0]==NULL) { PythonQt::priv()->handleVirtualOverloadReturnError("sceneEventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } } return QGraphicsItemGroup::sceneEventFilter(watched, event); } void PythonQtShell_QGraphicsItemGroup::setExtension(QGraphicsItem::Extension extension, const QVariant& variant) { if (_wrapper) { PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setExtension"); PyErr_Clear(); if (obj && !PythonQtSlotFunction_Check(obj)) { static const char* argumentList[] ={"" , "QGraphicsItem::Extension" , "const QVariant&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); void* args[3] = {NULL, (void*)&extension, (void*)&variant}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } } QGraphicsItemGroup::setExtension(extension, variant); } QPainterPath PythonQtShell_QGraphicsItemGroup::shape() const { if (_wrapper) { PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "shape"); PyErr_Clear(); if (obj && !PythonQtSlotFunction_Check(obj)) { static const char* argumentList[] ={"QPainterPath"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPainterPath returnValue; void* args[1] = {NULL}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); if (args[0]!=&returnValue) { if (args[0]==NULL) { PythonQt::priv()->handleVirtualOverloadReturnError("shape", methodInfo, result); } else { returnValue = *((QPainterPath*)args[0]); } } } if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } } return QGraphicsItemGroup::shape(); } bool PythonQtShell_QGraphicsItemGroup::supportsExtension(QGraphicsItem::Extension extension) const { if (_wrapper) { PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "supportsExtension"); PyErr_Clear(); if (obj && !PythonQtSlotFunction_Check(obj)) { static const char* argumentList[] ={"bool" , "QGraphicsItem::Extension"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue; void* args[2] = {NULL, (void*)&extension}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); if (args[0]!=&returnValue) { if (args[0]==NULL) { PythonQt::priv()->handleVirtualOverloadReturnError("supportsExtension", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } } return QGraphicsItemGroup::supportsExtension(extension); } int PythonQtShell_QGraphicsItemGroup::type() const { if (_wrapper) { PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "type"); PyErr_Clear(); if (obj && !PythonQtSlotFunction_Check(obj)) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue; void* args[1] = {NULL}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); if (args[0]!=&returnValue) { if (args[0]==NULL) { PythonQt::priv()->handleVirtualOverloadReturnError("type", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } } return QGraphicsItemGroup::type(); } void PythonQtShell_QGraphicsItemGroup::wheelEvent(QGraphicsSceneWheelEvent* event) { if (_wrapper) { PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); PyErr_Clear(); if (obj && !PythonQtSlotFunction_Check(obj)) { static const char* argumentList[] ={"" , "QGraphicsSceneWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {NULL, (void*)&event}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } } QGraphicsItemGroup::wheelEvent(event); } QGraphicsItemGroup* PythonQtWrapper_QGraphicsItemGroup::new_QGraphicsItemGroup(QGraphicsItem* parent, QGraphicsScene* scene) { return new PythonQtShell_QGraphicsItemGroup(parent, scene); } QRectF PythonQtWrapper_QGraphicsItemGroup::boundingRect(QGraphicsItemGroup* theWrappedObject) const { return ( ((PythonQtPublicPromoter_QGraphicsItemGroup*)theWrappedObject)->promoted_boundingRect()); } bool PythonQtWrapper_QGraphicsItemGroup::isObscuredBy(QGraphicsItemGroup* theWrappedObject, const QGraphicsItem* item) const { return ( ((PythonQtPublicPromoter_QGraphicsItemGroup*)theWrappedObject)->promoted_isObscuredBy(item)); } void PythonQtWrapper_QGraphicsItemGroup::paint(QGraphicsItemGroup* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget) { ( ((PythonQtPublicPromoter_QGraphicsItemGroup*)theWrappedObject)->promoted_paint(painter, option, widget)); } QPainterPath PythonQtWrapper_QGraphicsItemGroup::opaqueArea(QGraphicsItemGroup* theWrappedObject) const { return ( ((PythonQtPublicPromoter_QGraphicsItemGroup*)theWrappedObject)->promoted_opaqueArea()); } void PythonQtWrapper_QGraphicsItemGroup::removeFromGroup(QGraphicsItemGroup* theWrappedObject, QGraphicsItem* item) { ( theWrappedObject->removeFromGroup(item)); } void PythonQtWrapper_QGraphicsItemGroup::addToGroup(QGraphicsItemGroup* theWrappedObject, QGraphicsItem* item) { ( theWrappedObject->addToGroup(item)); } int PythonQtWrapper_QGraphicsItemGroup::type(QGraphicsItemGroup* theWrappedObject) const { return ( ((PythonQtPublicPromoter_QGraphicsItemGroup*)theWrappedObject)->promoted_type()); }