title: Make QPushButton invisible yet still work?
body: <p>In my project, I have some pushbuttons that change between visible and invisible using this:</p>
  
  <pre><code>ui-&gt;button-&gt;setVisible(true);
  //or
  ui-&gt;button-&gt;setVisible(false);
  </code></pre>
  
  <p>However, it seems that when they are invisible, they also do not work? How can I get around this?</p>
  
  <p>I have already tried this:</p>
  
  <pre><code>ui-&gt;button-&gt;setEnabled(true);
  </code></pre>
  
  <p>for all of them but nothing changes.</p>