- Timestamp:
- 04/03/13 18:54:51 (10 years ago)
- Branches:
- master, qt5
- Children:
- 097e1f4
- Parents:
- 54a377c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/gui/mainwindow.cpp
r54a377c rb261e79 219 219 void MainWindow::onSystemTrayMessageClicked() { 220 220 // TODO: Hide icon 221 // systemTrayIcon->hide(); 221 222 } 222 223 … … 224 225 void MainWindow::onAlarmTimerTimeout() { 225 226 // TODO: Show Message if an alarm is set on an event that's starting soon and delete the corresponding alarm. 226 /* Example:227 /* 227 228 systemTrayIcon->show(); 229 qDebug() << systemTrayIcon->geometry(); // gets moved to the correct location only at second usage 228 230 systemTrayIcon->showMessage("title", "message", QSystemTrayIcon::Information, 1000); 229 231 QApplication::alert(this);
Note: See TracChangeset
for help on using the changeset viewer.