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. How to add a tree view inside splitter?
QtWS25 Last Chance

How to add a tree view inside splitter?

Scheduled Pinned Locked Moved Solved General and Desktop
qsplitter
5 Posts 2 Posters 1.3k 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.
  • N Offline
    N Offline
    NIXIN
    wrote on 27 Jun 2016, 07:32 last edited by
    #1

    I want to add one tree view in side splitter from the designer. How can I do this?

    1 Reply Last reply
    0
    • M Offline
      M Offline
      mrjj
      Lifetime Qt Champion
      wrote on 27 Jun 2016, 08:07 last edited by mrjj
      #2

      Hi
      Its a bit clumsy / secret.
      You must select 2 widgets.
      Then right click and now u can choose split from layout menu

      N 1 Reply Last reply 27 Jun 2016, 09:41
      2
      • M mrjj
        27 Jun 2016, 08:07

        Hi
        Its a bit clumsy / secret.
        You must select 2 widgets.
        Then right click and now u can choose split from layout menu

        N Offline
        N Offline
        NIXIN
        wrote on 27 Jun 2016, 09:41 last edited by
        #3

        @mrjj I know what you are suggesting, but I want to add a single widget in the QSplitter through QDesigner and it's possible also, but i don't know how to do it. It would be a great favour if you can help

        M 1 Reply Last reply 27 Jun 2016, 09:48
        0
        • N NIXIN
          27 Jun 2016, 09:41

          @mrjj I know what you are suggesting, but I want to add a single widget in the QSplitter through QDesigner and it's possible also, but i don't know how to do it. It would be a great favour if you can help

          M Offline
          M Offline
          mrjj
          Lifetime Qt Champion
          wrote on 27 Jun 2016, 09:48 last edited by
          #4

          @NIXIN
          Well Just do like this and delete the other widget.

          A splitter divides area between 2 widgets, so u need 2 anyway.
          It wont work with 1 object. there has to be something on the other side :)

          1 Reply Last reply
          1
          • N Offline
            N Offline
            NIXIN
            wrote on 27 Jun 2016, 10:06 last edited by
            #5

            Awesome man!!!!!
            It worked

            1 Reply Last reply
            1

            4/5

            27 Jun 2016, 09:48

            • Login

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