Quantcast
Channel: QtWebEngine
Viewing all articles
Browse latest Browse all 13965

How to make a graphic item paint itself AND its children ?

$
0
0
Hello, I was wondering if there was a way to make the paint method of the QGraphicsItem ( virtual void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget = 0) ) also paint all the children of the item ? This would correspond to the behavior of the QGraphicsView::render method, but for the QGraphicsItem… Thank you in advance for your answers !

Viewing all articles
Browse latest Browse all 13965

Trending Articles