(self)
Override the QWidget::hide() method to properly recalculate the
           editor viewport.
Override the QWidget::hide() method to properly recalculate the
           editor viewport.
Override the QWidget :: hide () method to properly recalculate the editor viewport .
def hide(self):
        """Override the QWidget::hide() method to properly recalculate the
           editor viewport.
        """
        if not self.isHidden():
            super().hide()
            self._editor.updateViewport()
def hide ( self ) : if not self . isHidden ( ) : super ( ) . hide ( ) self . _editor . updateViewport ( )