Hi,

I have QGraphicsScene instance set to QGraphicsView on the GUI with scrollbars enabled and full view port update. But when I scroll my graphics view I get the items added to qgraphics scene disappeared on some point,

though they are added in code correctly and are expected to be displayed upon scroll ( custom class inherited from QGraphicsItem ):


Qt Code:
  1. class CSquare : public QObject, public QGraphicsItem
To copy to clipboard, switch view to plain text mode 


One can see how they disappear on application run on this video screen cast:

https://www.box.com/s/h4h94×1avgay1crzvyzx

Can somebody hint what is the problem, how to resolve so the graphics items will not disappear on the view?

Thanks in advance.