title: QT - Adding widgets to horizontal layout
body: <p>i have an horizontal layout and i am adding widgets by using</p>
  <pre><code>ui-&gt;horizontalLayout-&gt;addWidget(label);
  </code></pre>
  <p>But adding strategy is not what i want. For example, when i add items, it first puts the start, then puts at the end and keep putting from end.</p>
  <p><img src="https://i.stack.imgur.com/HmYW4.png" alt="adding 3 widgets" /></p>
  <p><img src="https://i.stack.imgur.com/5g8jM.png" alt="keep adding" /></p>
  <p>But, what i want is that, when i add widget to layout, it should be put next to the previous widget. like that ,
  <img src="https://i.stack.imgur.com/8w22R.png" alt="what i want" /></p>
  <p>is it possible to do that?</p>