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. Resizable Component, similar to Swing Split Pane
Forum Updated to NodeBB v4.3 + New Features

Resizable Component, similar to Swing Split Pane

Scheduled Pinned Locked Moved General and Desktop
7 Posts 3 Posters 10.4k 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.
  • D Offline
    D Offline
    dcbasso
    wrote on last edited by
    #1

    I need to do something like the Swing Split Pane.
    I have to components in a vertical layout, and I need the between then add another component to permit user to resize the other components...

    How it's possible...

    1 Reply Last reply
    0
    • T Offline
      T Offline
      tobias.hunger
      wrote on last edited by
      #2

      Are you looking for "QSplitter":http://qt-project.org/doc/qt-4.8/qsplitter.html ?

      1 Reply Last reply
      0
      • D Offline
        D Offline
        dcbasso
        wrote on last edited by
        #3

        Sure... this guy!
        But Why QtCreator don't let me use this Class...
        I'm using the QtCreator GUI Builder and I can't use the QSplitter!!

        1 Reply Last reply
        0
        • JKSHJ Offline
          JKSHJ Offline
          JKSH
          Moderators
          wrote on last edited by
          #4

          You add it as a layout ("Lay Out Horizontally in Splitter"/"Lay Out Vertically in Splitter")

          Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

          1 Reply Last reply
          0
          • D Offline
            D Offline
            dcbasso
            wrote on last edited by
            #5

            Yes, but this buttons are always disable to use!
            Same as this image:

            !http://qt-project.org/doc/qt-4.8/images/designer-set-layout2.png(Example)!

            1 Reply Last reply
            0
            • JKSHJ Offline
              JKSHJ Offline
              JKSH
              Moderators
              wrote on last edited by
              #6

              Try selecting 2 widgets first (Ctrl+click). The button should become available then

              Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

              1 Reply Last reply
              0
              • D Offline
                D Offline
                dcbasso
                wrote on last edited by
                #7

                Thank JKSH, I need to select two objects and then the buttons is enabled!!

                Thanks!

                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