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 have a QVBoxLayout hold 3 vertically resizable QTableViews?

How to have a QVBoxLayout hold 3 vertically resizable QTableViews?

Scheduled Pinned Locked Moved General and Desktop
qtableviewqvboxlayout
2 Posts 2 Posters 1.0k 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.
  • M Offline
    M Offline
    MMMM
    wrote on 17 Sept 2015, 21:28 last edited by
    #1

    Starting with 3 QTableViews tv1 tv2 and tv3, is it possible to lay them out vertically, and have the ability to stretch any of them within the vboxlayout.
    Ie, how to make a little widget between tv1 and tv2 and between tv2 and tv3 that lets me strech tv1 vertically so that it occupies most of the space, and almost (or even totally) hide tv2 and tv3, and the same for tv2 and tv3?

    What would those intermediate widgets be?
    Can I do this variable stretching without any extra widgets?

    It's a bit equivalent to what I can found on this form here where I am entering this question. There is a green up/down arrow button that increases the size of this area to cover almost all, or reduces it back to just a afraction of the screen....

    Regards,

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 17 Sept 2015, 22:03 last edited by SGaist
      #2

      Hi and welcome to devnet,

      Looks like you rather want to use QSplitter for that

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      1

      2/2

      17 Sept 2015, 22:03

      • Login

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