void MainWindow::onSystemTrayMessageClicked() {
// TODO: Hide icon
+ // systemTrayIcon->hide();
}
void MainWindow::onAlarmTimerTimeout() {
// TODO: Show Message if an alarm is set on an event that's starting soon and delete the corresponding alarm.
- /* Example:
+ /*
systemTrayIcon->show();
+ qDebug() << systemTrayIcon->geometry(); // gets moved to the correct location only at second usage
systemTrayIcon->showMessage("title", "message", QSystemTrayIcon::Information, 1000);
QApplication::alert(this);
QApplication::beep();