title: How to add a button with image and transparent background to QVideoWidget?
body: <p>I created a pushbutton in front of a video (use QVideoWidget and QMediaPlayer). I am using an image with a transparent background to set image button.</p>
  
  <p>How can I set a QPushbutton to be transparent, but the image inside to be visible? I have tried setting it transparent, but the image's background turns black.</p>
  
  <p>I have tried this <a href="https://stackoverflow.com/questions/23948453/c-over-qt-controlling-transparency-of-labels-and-buttons">C++ over Qt : Controlling transparency of Labels and Buttons</a> but it doesn't work. And I tried this :</p>
  
  <pre><code>ui-&gt;btn_Touchme-&gt;setAttribute(Qt::WA_TranslucentBackground);
  
  ui-&gt;btn_Touchme-&gt;setStyleSheet("QPushButton{background: transparent;}");
  
  ui-&gt;btn_Touchme-&gt;setAttribute(Qt::WA_NoSystemBackground, true);
  
  ui-&gt;btn_Touchme-&gt;setAttribute(Qt::WA_TranslucentBackground, true);
  </code></pre>
  
  <p>and it is still black</p>
  
  <p>I tried using QLabel, but I got same result. Any suggestions for me?</p>
  
  <p>I am using qt 5.3.2 and ubuntu 14.04LTS</p>