code: def stop(self):
          
          if not self._timer.isActive():
              return
  
          self._elapsed += self._delta
          self._timer.stop()
docs: Stops the timer.  If the timer is not currently running, then
          this method will do nothing.