title: how to set stylesheet for groupbox title in QT
body: <p>I have a widget with groupbox. I set the border for the groupbox using stylesheet that also works fine, but the border is not fit with the groupbox title. I searched in google, they suggest to change the groupbox title like:</p>
  
  <pre><code>QGroupBox::title { 
   background-color: transparent;
   subcontrol-position: top left; /* position at the top left*/ 
   padding: 2px 13px;
  } 
  </code></pre>
  
  <p>In my code i used the stylesheet like:</p>
  
  <pre><code>ui-&gt;groupBox-&gt;setStyleSheet("border: 1px solid gray;"
                              "border-radius: 9px;"
                              "margin-top: 0.5em;");
  </code></pre>
  
  <p>so how to apply setstylesheet property for the groupbox title, guide me.</p>