def __init__(self, interval_ms=<NUM_LIT>, single_shot=False):
<EOL>self._widget     = _g.QtCore.QTimer(); <EOL>self.signal_tick = self._widget.timeout<EOL>self.start        = self._widget.start<EOL>self.stop         = self._widget.stop<EOL>self.set_interval(interval_ms)<EOL>self.set_single_shot(single_shot)<EOL>
Simplified QTimer. 

  interval_ms   in milliseconds
  single_shot   whether the timer fires only once