title: pyqt: how to remove a widget?
body: <p>I have a <code>QGroupBox</code> widget with children in it that I want to remove. How do I do that? I can't find any <code>removeWidget</code>, <code>removeChild</code>, <code>removeItem</code>, or anything similar in <a href="https://doc.qt.io/archives/qt-4.8/qwidget.html" rel="noreferrer">the docs</a>. I can only see how to remove things from a layout, but that, apparently, doesn't remove it from the actual widget.</p>