Пример #1
0
QLayout* sipQLayoutItem::layout()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_layout);

    if (!sipMeth)
        return QLayoutItem::layout();

    extern QLayout* sipVH_QtGui_161(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtGui_161(sipGILState, 0, sipPySelf, sipMeth);
}
Пример #2
0
void sipQGraphicsRectItem::paint( ::QPainter*a0,const  ::QStyleOptionGraphicsItem*a1, ::QWidget*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_paint);

    if (!sipMeth)
    {
         ::QGraphicsRectItem::paint(a0,a1,a2);
        return;
    }

    extern void sipVH_QtGui_161(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*,const  ::QStyleOptionGraphicsItem*, ::QWidget*);

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