Alarm Clock

Clock

by

Keith Rubow

This is a simple alarm clock application. The main window displays a digital clock with hours, minutes, seconds, and AM/PM. Use the time select control to select the desired alarm time. Check the Alarm Enabled checkbox to enable the alarm. The alarm is triggered when the current time matches or passes the alarm time. This happens on the day the alarm is enabled (if the alarm time is greater than the current time when the alarm is enabled), or on the next day (if the alarm time is less than the current time when the alarm is enabled).

When the alarm is triggered the selected file is launched (similar to double-clicking the file in your file browser). You may type the file name (enter the full file path, or the file path relative to the folder where AlarmClock is installed), or you may click the Browse... button to select the file to launch. Typically the selected file will be an MP3 or other music file. The file will then play in your default media player when the alarm is triggered. The file can also be a batch (Windows), script (Linux), or executable file. In this case the file will be executed, as if it were double-clicked in your file browser. In this way any task can be scheduled to run at the alarm time.

AlarmClock remembers the alarm time and selected file in an INI file, so it will keep the same settings the next time it is run.

Since AlarmClock is written using the Qt cross platform development system, it requires that the Qt4 runtime libraries be installed on your system. On Linux systems this is taken care of automatically by the package manager during installation. On Windows you must install SetupQt4Lib.exe if it has not already been installed on your system.