title: QPushButton with an alpha level of 0% turns solid when moused over. How to fix Qt with C++ (with stylesheets?)
body: <p>I have designed two different kinds of QPushButtons in Qt Designer. One is the default, the other I want to be clear.
  In QT Designer I set the latter's initial style sheet like such:</p>
  
  <pre><code>background-color: rgba( 35, 35, 35, 0% );
  </code></pre>
  
  <p>I want the button to have a border and to be clear (the internal color isn't really important; that just happens to match the color scheme). When I mouse over the button I want it to REMAIN clear, however instead it turns to the solid grey that is 35/35/35.</p>
  
  <p>When the button receives a signal press I want it to turn a half transparent green:</p>
  
  <pre><code>    background-color: rgba( 0, 255, 0, 50% );
  </code></pre>
  
  <p>Before I realized the mouse-over would be a problem, I had this coded:</p>
  
  <pre><code>QString MyPanel::FillInvisibleButton(bool activeButton)
  {
    QString invisibleButton;
  
    if (activeButton) {
       invisibleButton = "QPushButton{background-color: rgba(0, 255, 0, 50%);}";
    } else {
       invisibleButton = "QPushButton{background-color: rgba(35, 35, 35, 0%);}";
    }
    return invisibleButton;
  }
  
  
  //Signals
  void MyPanel::MyButtonPressed()
  {
     m_ui-&gt;myButton-&gt;setStyleSheet(FillInvisibleButton(true));
  }
  
  void MyPanel::MyButtonReleased()
  {
     m_ui-&gt;myButton-&gt;setStyleSheet(FillInvisibleButton(false));
  }
  </code></pre>
  
  <p>That works great as far as making the clear button a transparent green when it's pressed... but it has the big grey opaque block on it when it's moused over which I want to go away!</p>
  
  <p>I've tried this:</p>
  
  <pre><code>    QString MyPanel::FillInvisibleButton(bool activeButton)
  {
    QString invisibleButton;
  
    if (activeButton) {
       invisibleButton = "QPushButton{background-color: rgba(0, 255, 0, 50%);} QPushButton:hover{background-color: rgba(35, 35, 35, 0%);}";
    } else {
       invisibleButton = "QPushButton{background-color: rgba(35, 35, 35, 0%);} QPushButton:hover{background-color: rgba(35, 35, 35, 0%);}";
    }
    return invisibleButton;
  }
  </code></pre>
  
  <p>And it doesn't work at all. They still mouse-over grey and now they don't turn green at all.</p>
  
  <p>Is my syntax just wrong? Or?? I'm new to Qt and very rusty on C++.
  I'm not married to the Stylesheets. If there's a better way to accomplish it that's great. Just keep in mind that I can't do this to ALL of my buttons; just several of them.</p>
  
  <p>Thanks!</p>
  
  <p>ETA: I believe I'm using 4.5.0</p>