PDA

View Full Version : Trouble with QAbstractGraphicsShapeItem



lni
21st February 2010, 03:36
Hi,

My item is derived from QAbstractGraphicsShapeItem, the item has a legend, which is an QGraphicsItem. The legend is a child of a container item.

Now I call item->setPen(...), the item is updated, but how do I update the legend? There is no mechanism to inform the legend for the change.

Any hint is appreciated.