(self, e)
Called when the window is hidden (e.g. minimized). It stops the
        timer.
Called when the window is hidden (e.g. minimized). It stops the
        timer.
Called when the window is hidden ( e . g . minimized ) . It stops the timer .
def hideEvent(self, e):
        """Called when the window is hidden (e.g. minimized). It stops the
        timer."""
        # stop simulation when hiding window
        self.stop_timer()
def hideEvent ( self , e ) : # stop simulation when hiding window self . stop_timer ( )