Beste way to implement a treemap?
-
Hello,
I was wondering what the best approach would be to get something like this:
http://upload.wikimedia.org/wikipedia/en/8/85/GradientGroupedTreemap.jpg
I was thinking about several qGraphicsScenes with QGraphicsRectItems in them, but was a little bit confused with how to do positioning and size/placement. Are there any better approaches than this?
Kind regards
-
If the items (rectangles) are limited, somthing like < 100, then using QFrames and QGridLayout will be a simple solution.