(self, widget)
Remove widget from the list.

        Parameters
        ----------
        widget : QWidget
            Widget instance to remove.
Remove widget from the list.
Remove widget from the list .
def removeWidget(self, widget):
        """Remove widget from the list.

        Parameters
        ----------
        widget : QWidget
            Widget instance to remove.
        """
        layout = self.__flowlayout
        frame = self.__widgetFrame(widget)
        if frame is not None:
            frame.setWidget(None)
            widget.setVisible(False)
            widget.setParent(None)
            layout.takeAt(layout.indexOf(frame))
            frame.hide()
            frame.deleteLater()
def removeWidget ( self , widget ) : layout = self . __flowlayout frame = self . __widgetFrame ( widget ) if frame is not None : frame . setWidget ( None ) widget . setVisible ( False ) widget . setParent ( None ) layout . takeAt ( layout . indexOf ( frame ) ) frame . hide ( ) frame . deleteLater ( )