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. Can qtreewidget nodes be arranged horizontally?
Forum Update on Monday, May 27th 2025

Can qtreewidget nodes be arranged horizontally?

Scheduled Pinned Locked Moved Solved General and Desktop
8 Posts 2 Posters 449 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.
  • C Offline
    C Offline
    canid
    wrote on last edited by
    #1

    Can qtreewidget nodes be arranged horizontally?

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

      Hi
      In what way horizontally ?
      So a parent's children would be shown as a row ?
      or in what way do you picture it ?

      C 2 Replies Last reply
      0
      • mrjjM mrjj

        Hi
        In what way horizontally ?
        So a parent's children would be shown as a row ?
        or in what way do you picture it ?

        C Offline
        C Offline
        canid
        wrote on last edited by canid
        #3

        @mrjj
        yes,as you said,how to do?

        1 Reply Last reply
        1
        • mrjjM mrjj

          Hi
          In what way horizontally ?
          So a parent's children would be shown as a row ?
          or in what way do you picture it ?

          C Offline
          C Offline
          canid
          wrote on last edited by
          #4

          @mrjj
          ??

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

            Hi
            Sorry :)
            the post got lost.

            Did you see
            https://doc.qt.io/qt-5/qtwidgets-itemviews-simpletreemodel-example.html

            you can have other cols so i guess you can to some degree.

            But maybe not 100% like you want.

            C 1 Reply Last reply
            1
            • mrjjM mrjj

              Hi
              Sorry :)
              the post got lost.

              Did you see
              https://doc.qt.io/qt-5/qtwidgets-itemviews-simpletreemodel-example.html

              you can have other cols so i guess you can to some degree.

              But maybe not 100% like you want.

              C Offline
              C Offline
              canid
              wrote on last edited by canid
              #6

              @mrjj
              Isn't there an shorter answer?
              Why am I limited to post every 10 minutes?

              mrjjM 1 Reply Last reply
              1
              • C canid

                @mrjj
                Isn't there an shorter answer?
                Why am I limited to post every 10 minutes?

                mrjjM Offline
                mrjjM Offline
                mrjj
                Lifetime Qt Champion
                wrote on last edited by mrjj
                #7

                @canid
                Hi
                The 10 min wait time is spam prevention.
                I have bumped you so should be faster now.

                The short answer is no i guess as its not
                100% as a collapsible table. Since its a tree.

                However try the sample. Maybe its good enough.

                C 1 Reply Last reply
                2
                • mrjjM mrjj

                  @canid
                  Hi
                  The 10 min wait time is spam prevention.
                  I have bumped you so should be faster now.

                  The short answer is no i guess as its not
                  100% as a collapsible table. Since its a tree.

                  However try the sample. Maybe its good enough.

                  C Offline
                  C Offline
                  canid
                  wrote on last edited by canid
                  #8

                  @mrjj
                  thank you.please give me a reputation

                  1 Reply Last reply
                  1

                  • Login

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