title: How to add tabs dynamically in a Qt?
body: <p>I want to add tabs dynamically in a Qt application depending on user inputs.</p>
  <ol>
  <li><p>One tab is to be there all the time by default. For convenience, it would be great if I could create the layout and features of this tab in the graphic editor. Then I would like to transfer this layout into code, put in a class constructor and add tabs like:</p>
  <p><code>ui-&gt;tabWidget-&gt;addTab(new myTabClass(), &quot;Tab 2&quot;);</code></p>
  </li>
  <li><p>I want to promote this tab programatically as well. Is that possible?</p>
  </li>
  </ol>