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. QTreeView - from bottom to top ?

QTreeView - from bottom to top ?

Scheduled Pinned Locked Moved Unsolved General and Desktop
qtreeview
4 Posts 3 Posters 435 Views
  • 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.
  • D Offline
    D Offline
    Dariusz
    wrote on last edited by
    #1

    Hey

    Right now the treeView renders from top to bottom, is there a way to configure it so it is flipped? 1st item is at the bottom and starts there. Then any extra item goes above the previous item?

    TIA.

    Pl45m4P 1 Reply Last reply
    0
    • D Dariusz

      Hey

      Right now the treeView renders from top to bottom, is there a way to configure it so it is flipped? 1st item is at the bottom and starts there. Then any extra item goes above the previous item?

      TIA.

      Pl45m4P Offline
      Pl45m4P Offline
      Pl45m4
      wrote on last edited by
      #2

      @Dariusz

      How should the TreeView know where to put the first item, when there is no item inside (Spacing etc).
      What kind of items / data do you have in your TreeView?

      You could insert new branches above the top-most existing one manually.


      If debugging is the process of removing software bugs, then programming must be the process of putting them in.

      ~E. W. Dijkstra

      D 1 Reply Last reply
      1
      • mrjjM Offline
        mrjjM Offline
        mrjj
        Lifetime Qt Champion
        wrote on last edited by
        #3

        Hi
        Can i ask what use the case is?

        I never saw such a flipped tree.

        Also the scrolling would be very confusing. :)

        1 Reply Last reply
        1
        • Pl45m4P Pl45m4

          @Dariusz

          How should the TreeView know where to put the first item, when there is no item inside (Spacing etc).
          What kind of items / data do you have in your TreeView?

          You could insert new branches above the top-most existing one manually.

          D Offline
          D Offline
          Dariusz
          wrote on last edited by
          #4

          @Pl45m4 said in QTreeView - from bottom to top ?:

          @Dariusz

          How should the TreeView know where to put the first item, when there is no item inside (Spacing etc).
          What kind of items / data do you have in your TreeView?

          You could insert new branches above the top-most existing one manually.

          The item would start at bottom and every new item would go above previous item.

          @mrjj said in QTreeView - from bottom to top ?:

          Hi
          Can i ask what use the case is?

          I never saw such a flipped tree.

          Also the scrolling would be very confusing. :)

          For example photoshop, has top-down relationship where layer above occludes layer below. It would make sense then to grow layers from bottom not from top :- )

          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