title: Adding button to QTabWidget tabs
body: <p>I have created a <code>QTabWidget</code> and its tab count is changing dynamically when a signal is triggered. I have added tabs like:</p>
  
  <pre><code>QWidget *centralWidget = new QWidget();
  ui-&gt;tabWidget-&gt;addTab(centralWidget, "tab header");
  </code></pre>
  
  <p>Everything is OK by now, but the problem is that I want to add buttons to these tabs.
  Is there a way to do it?</p>