Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Ignore drawForeground() from the scene on the 2nd graphicsview



  • I have my own QGraphicsScene and two QGraphicView's. In the QGraphicsScene I use the @drawForeground(QPainter *painter, const QRectF &rect)@

    function to draw a grid. Now I want the grid only to be visible in the first, but not in the second view...is this possible?


Log in to reply