Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Beste way to implement a treemap?
Forum Updated to NodeBB v4.3 + New Features

Beste way to implement a treemap?

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 1.7k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    Barry1337
    wrote on last edited by
    #1

    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

    1 Reply Last reply
    0
    • S Offline
      S Offline
      Santosh Reddy
      wrote on last edited by
      #2

      If the items (rectangles) are limited, somthing like < 100, then using QFrames and QGridLayout will be a simple solution.

      SS

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved