Add function keyPressEvent for class TcCounter.
Merge pull request #99 from younghz/master

Add function keyPressEvent for class TcCounter.