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
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.