How can I get the right tranformed Painter of my GraphicsView extended class ?
To draw a temporal item not added to the scene, I have to write :
Is any other way to get the right painter ?Qt Code:
QTransform AFT=QTransform(this->matrix()); AFT.translate(w_temp_item->pos().x(),w_temp_item->pos().y() ); painter.setTransform(AFT);To copy to clipboard, switch view to plain text mode
Any idea ? Thanks
Bookmarks