(self, e)
Called when the window is shown (for the first time or after
        minimization). It starts the timer.
Called when the window is shown (for the first time or after
        minimization). It starts the timer.
Called when the window is shown ( for the first time or after minimization ) . It starts the timer .
def showEvent(self, e):
        """Called when the window is shown (for the first time or after
        minimization). It starts the timer."""
        # start simulation when showing window
        self.start_timer()
def showEvent ( self , e ) : # start simulation when showing window self . start_timer ( )