title: A qt widget with fully transparent background
body: <p>I need to create a qt widget, which will act as a parent for some other widgets, and which will order them.</p>
  
  <p>Now, the question is how do I make it's background fully transparent?</p>
  
  <p>I thought to do it like this :</p>
  
  <pre><code>struct Imp
  {
    Imp( QWidget *parent ) : thisWidget( new QWidget( parent ) )
    {
      thisWidget-&gt;setAttribute( Qt::WA_TranslucentBackground, true );
    }
  
    QWidget *thisWidget;
  };
  </code></pre>
  
  <p>Do you think that I need to set the attribute, or is it going to work fine without it?</p>