コード例 #1
0
QPainterPath sipQGraphicsLineItem::shape() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[30]),sipPySelf,NULL,sipName_shape);

    if (!sipMeth)
        return QGraphicsLineItem::shape();

    extern QPainterPath sipVH_QtGui_198(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtGui_198(sipGILState, 0, sipPySelf, sipMeth);
}
コード例 #2
0
void sipQGraphicsLayoutItem::getContentsMargins(qreal*a0,qreal*a1,qreal*a2,qreal*a3) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[2]),sipPySelf,NULL,sipName_getContentsMargins);

    if (!sipMeth)
    {
        QGraphicsLayoutItem::getContentsMargins(a0,a1,a2,a3);
        return;
    }

    extern void sipVH_QtGui_198(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, double*,double*,double*,double*);

    sipVH_QtGui_198(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2, a3);
}