How to access child rectitems
-
hi i am new to Qt...i want to know how can we access the child items through parentitem.. for an example
@
QGraphicsRectItem *pitem=new QGraphicsRectItem(0,0,0,0);
.
.
new QGraphicsRectItem(20,20,40,40,pitem);
new QGraphicsRectItem(30,30,50,50,pitem);
@if i want to access each child item how can i access?
-
Not sure, but maybe "this":http://doc.qt.nokia.com/latest/qgraphicsitem.html#childItems could help.