Quantcast
Channel: Installation and Deployment
Viewing all articles
Browse latest Browse all 22112

Scrolling QGraphicsView and QGraphicsScene

$
0
0
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 ): class CSquare : public QObject, public QGraphicsItem One can see how they disappear on application run on this video screen cast: https://www.box.com/s/h4h94×1avgay1crzvyzx [box.com] Can somebody hint what is the problem, how to resolve so the graphics items will not disappear on the view? Thanks in advance.

Viewing all articles
Browse latest Browse all 22112

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>