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. [Solved]Vertical layout with scrollbars
QtWS25 Last Chance

[Solved]Vertical layout with scrollbars

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 4.8k 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.
  • R Offline
    R Offline
    rishabhc
    wrote on last edited by
    #1

    Hello,

    I am trying to develop a window with the following functionality:
    It should be split into two with one part containing a list of around 100 checkboxes and the second containing a file selector.

    I want to create a mother widget which holds the first widget of 100 checkboxes with a scroll bar available in that widget and the second widget which has a button to activate the file chooser based on the above selections.

    How can I cause a widget with scrollbars enabled to be contained in the original size of the mother widget without causing the mother widget to expand vertically and crossing screen boundaries? Rather, how do I add scrollbars to a widget?

    1 Reply Last reply
    0
    • G Offline
      G Offline
      goetz
      wrote on last edited by
      #2

      "QScrollArea":http://doc.qt.nokia.com/4.7/qscrollarea.html could provide a solution for your problem.

      http://www.catb.org/~esr/faqs/smart-questions.html

      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