View Single Post
pichlo's Avatar
Posts: 6,453 | Thanked: 20,983 times | Joined on Sep 2012 @ UK
#21
Originally Posted by coderus View Post
@pichlo you need dynamic plotting indeed. Drawing whole thing and keeping it in memory in some "scrollable" is VERY bad idea
That's kinda obvious. I was (foolishly) assuming that QScrollArea was a bit smarter than that: provite some framework for scrolling but let the widget draw itself. For example my widget draws only the part that needs updating and is never wider than the screen. But it seems that QScrollArea caches the whole million pixèls, even though most of them are empty.