title: How to disable widgets that belong to layout in Qt?
body: <p>I'd like to make widgets in some layout inaccessible, so a user would not be able to change a state of any layout's widgets (I want everything grayed out). 
  I created a SIGNAL/SLOT, the method is called: </p>
  
  <pre><code>void MyWidget::slot( bool bChecked )
  {
    myLayout-&gt;setEnabled(bChecked);
    std::cout &lt;&lt; "OnAllToggled: " &lt;&lt; bChecked &lt;&lt;
      ", isEnabled: " &lt;&lt; myLayout-&gt;isEnabled() &lt;&lt; std::endl;
  }
  </code></pre>
  
  <p>everything is great except that the layout is still accessible. Apparently I don't understand the meaning of <code>setEnabled</code> method. 
  Question: what does <code>setEnabled</code> mean and how can I make the layout inaccessible? Thanks!</p>