title: Which Qt Widget to scroll through widgets?
body: <p>I am currently working on a Qt project for my school. For this project I need to list an unknown number of elements in a window without resizing its content.</p>
  
  <p>I've used some <code>VBoxLayout</code> in the past, but it isn't what I am searching at all. This widget resizes its content depending on the number of elements it contains. What I would like is to add as much widgets as I need into the "scrolling widget", which will stack next to each other automatically and won't resize.</p>
  
  <p>I tried using <code>QScrollArea</code> but I wasn't able to make elements stack on each others.</p>
  
  <p>Here is a small drawing explaining my problem:
  <img src="https://i.stack.imgur.com/Z0mK6.png" alt="enter image description here"></p>