Re: [PyQt] Re: Getting QGraphicsWidget from methods that return QGraphicsItems

2008-05-16 Thread Phil Thompson
On Wednesday 14 May 2008 22:59:34 Aron Bierbaum wrote: > Sorry, I forgot to include the new code: > > case 11: > // We need to explicitly cast because of the multiple > inheritance. *sipCppRet = static_cast(sipCpp); > sipClass = sipClass_QGraphicsWidget; >

[PyQt] Re: Getting QGraphicsWidget from methods that return QGraphicsItems

2008-05-14 Thread Aron Bierbaum
Sorry, I forgot to include the new code: case 11: // We need to explicitly cast because of the multiple inheritance. *sipCppRet = static_cast(sipCpp); sipClass = sipClass_QGraphicsWidget; break; case 12: // We need to exp