title: Customizing QTabWidget with Style Sheets
body: <p>How can I style QTabWidget like is in the image below.</p>
  
  <p><a href="https://i.stack.imgur.com/AJ5DE.png" rel="noreferrer"><img src="https://i.stack.imgur.com/AJ5DE.png" alt="enter image description here"></a></p>
  
  <p>The problem is: if I set style sheet </p>
  
  <pre><code>QTabWidget:pane {
  border: 1px solid gray;
  }
  </code></pre>
  
  <p>then it looks like this:</p>
  
  <p><a href="https://i.stack.imgur.com/YDeMr.png" rel="noreferrer"><img src="https://i.stack.imgur.com/YDeMr.png" alt="[qt can do][2]."></a></p>