Post on 13-Apr-2017
`Reminder`CSE 454 Software Development Project
12320002 Sumaia Alavi12320289 Firoza Akhter Bintu12320395 Anamika Afrin
What is `Reminder`● Reminder is a small application that helps
any user to set a message to be notified after a custom period of time.
● For example, an user can set the message “Remember to call Mom” to be popped out after 10 minutes.
Features of `Reminder`● Reminder works on all platforms including
Windows, Ubuntu or Mac OS X.● Reminder has an easy to use user interface
to set time interval.● Reminder shows remaining time is in form
of a progressbar.● Reminder has a System Tray icon.
Features of `Reminder`● Reminder is a portable application, anyone
can put it in USB disk and run.● No need to install any extra software or
library.● Comes with native executable for easy
execution.
How `Reminder` is built● Reminder is written in C++.● Qt library is used to create Graphical User
Interface.● Qt is widely used to create applications like
Skype, VLC Media Player, Autodesk Maya etc.
int m
ain(
)`Reminder` Skeleton
Popup● Shows text at
desktop corner● Hides when X
button is clicked
Window● Shows the user
interface control● Starts and stops the
timer● Shows the popup
notification
How to Use `Reminder`
Application executable
Qt LibrariesC++ Libraries
Clicking on “Reminder.exe” will start the application window
How to Use `Reminder`
Text area to write some note
Time input box
Timer Start button
How to Use `Reminder`
Window showing progress Popup notification
How to Use `Reminder`
Clicking on X will close it
Error handling
Window : Variables● The Window is an instance of QWidget● Window contains the following members
Ui::Window *ui; // The Window User Interface or formQTimer timer_progress; // Timer to show progressbar per secondQTimer timer_reminder; // Timer to show notificationuint reminder_time; // Timer valueQSystemTrayIcon *systemTrayIcon; // Icon at System TrayPopup *popup; // Notification Box
Window : Functions● The Window contains the following member
functionsvoid resetReminder(); // Resets the reminder to zerovoid restartReminder(); // Starts the reminder with previous time valuevoid startTimer(); // Starts the remindervoid stopTimer(); // Stops the remindervoid showReminder(); // Shows the reminder at desktop cornervoid showProgress(); // Updates the progress barvoid systemTrayIconActivated(); // Called when the tray icon is clicked
Popup : Variables● The Popup box is an instance of QWidget● Popup contains the following members
Ui::Popup *ui; // The Popup User Interface or form
Popup : Functions● The Popup contains the following member
functions// Show popup box with Title and Descriptionvoid showPopup(QString title, QString description);
// When any mouse click is performed on the boxvoid mousePressEvent(QMouseEvent*);
// Close the popup when clicked on X buttonvoid closePopup();
Timer : How it works?● When the user clicks Start button, the timer
values is converted into secondsQTime after = ui->timeAfter->time();reminder_time = (after.hour()*3600 + after.minute()*60 + after.second()) * 1000;
● Then reminder_time is checked, if greater than 1000, the timer is started
Why Use `Reminder`?Reminder app can help ...● People about important meeting or call● Students about important assignments or
email or study● Teachers about upcoming class● Mothers to turn off oven or any machine
Future Plans● Add reminder for specific date● Set image for popup notification● Multiple reminder entry
Thank you.