A C++ timer using Qt
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.



QtTimer is a small project that I felt the need to write. The idea is that the user can specify a time duration and they will be informed after the time passes. The main use for me is to partition my work time in small, usually 45 minute, intervals. Of course this can be done easily using a shell script like this:

sleep $1m $2s playsound –volume 10 ~/data/sounds/notify.ogg

The problem with the above script is that when I use it I often need to see how much time remains. Another feature I would like to have is the ability to pause the timer, although someone could argue that this defeats the purpose of the project.

This is just a toy project. There are plenty of other timers, but I wanted to create a non trivial example project, in order to test github.


Software you need in order to compile QtTimer:

  • cmake version at least 2.8.0
  • Qt4. I have compiled it with 4.6.3, but I think earlier version would be OK as well.


Copyright (C) 2011 Panagiotis Koutsourakis This file is part of QtTimer.

QtTimer is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

QtTimer is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with QtTimer. If not, see http://www.gnu.org/licenses/.