[Interest] QGraphicsScene::addPixmap() pointer ownership

Nikos Chantziaras realnc at gmail.com
Tue Aug 8 19:24:00 CEST 2017


When adding a pixmap to a QGraphicsScene with:

   pixmapItem = scene.addPixmap(pixmap);

who owns pixmapItem? Do I need to delete it? Does the scene delete it?




More information about the Interest mailing list