コード例 #1
0
QSizeF sipQGraphicsLayoutItem::sizeHint(Qt::SizeHint a0,const QSizeF& a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[0]),sipPySelf,sipName_QGraphicsLayoutItem,sipName_sizeHint);

    if (!sipMeth)
        return QSizeF();

    extern QSizeF sipVH_QtGui_196(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::SizeHint,const QSizeF&);

    return sipVH_QtGui_196(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}
コード例 #2
0
QRectF sipQAbstractGraphicsShapeItem::boundingRect() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[28]),sipPySelf,sipName_QAbstractGraphicsShapeItem,sipName_boundingRect);

    if (!sipMeth)
        return QRectF();

    extern QRectF sipVH_QtGui_196(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtGui_196(sipGILState, 0, sipPySelf, sipMeth);
}