title: Qt: Hidden widget being returned for nextInFocusChain()
body: <p>I have two checkboxes (QCheckbox), the first of which I sometimes hide. After calling hide() I then want to retrieve the nextInFocusChain() for the parent widget. This returns the first checkbox, regardless of whether it's hidden or not. Am I doing something wrong? I would have thought that a hidden widget isn't part of the focus chain, so it shouldn't be returned.</p>
  
  <pre><code>if (shouldHideFirstCheckbox) {
      firstCheckbox.hide();
  }
  QCheckBox* nextWidget = dynamic_cast&lt;QCheckBox*&gt;(nextInFocusChain());
  // nextWidget is always firstCheckbox, regardless of whether it's hidden
  </code></pre>