title: QGroupBox border
body: <p>After searching for a while I saw that they way to set a visible border on a groupbox is to use the StyleSheet property. I added: </p>
  
  <pre><code>border: 2px solid gray;
  </code></pre>
  
  <p>but there are a couple of problems.</p>
  
  <p>1) Everything inside the groupbox also inherits this setting!</p>
  
  <p>2) The border has a little hole/piece missing near the title.</p>
  
  <p>Here is a picture of what I'm talking about:
  <img src="https://i.stack.imgur.com/ahigY.jpg" alt="alt text"></p>
  
  <p>Anyone know how to do this properly?</p>
  
  <p>Thanks,</p>
  
  <p>David</p>