title: How to move widgwts to next row in a layout PyQt5
body: <p>I want to move widgets to next row according to resizing space.Suppose there is 5 label in a row ,but when i resize and there is insufficient size for them some of them will move to next row.</p>
  <p>But I don't know how to achieve that using any Qlayout.</p>
  <p><strong>Before</strong></p>
  <p><a href="https://i.stack.imgur.com/24uOk.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/24uOk.png" alt="enter image description here" /></a></p>
  <p><strong>After</strong></p>
  <p><a href="https://i.stack.imgur.com/aoHAc.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/aoHAc.png" alt="enter image description here" /></a></p>
  <p>I have done this manually but I want they should be automatically moved to next row accordingly while resizing if there is insufficient size for a element.</p>