Smart notification system for v1.10.0 Phase 9.
More...
#include <NotificationManager.hpp>
Smart notification system for v1.10.0 Phase 9.
Features:
- Toast notifications for log events (errors, warnings, critical)
- Custom notification filtering based on log level/type
- Notification history tracking with timestamps
- Desktop notifications on supported platforms
- Sound alerts and visual indicators
- Notification grouping and deduplication
- Configurable display duration and position
◆ NotificationAction
| Enumerator |
|---|
| None | |
| GoToEvent | |
| ShowDetails | |
| Dismiss | |
◆ NotificationType
| Enumerator |
|---|
| Info | |
| Warning | |
| Error | |
| Success | |
| Critical | |
◆ NotificationManager()
| ui::qt::utils::NotificationManager::NotificationManager |
( |
| ) |
|
|
private |
◆ AddToHistory()
| void ui::qt::utils::NotificationManager::AddToHistory |
( |
const Notification & |
notification | ) |
|
|
private |
◆ areNotificationsEnabled()
| bool ui::qt::utils::NotificationManager::areNotificationsEnabled |
( |
const QString & |
logLevel | ) |
const |
◆ clearHistory()
| void ui::qt::utils::NotificationManager::clearHistory |
( |
| ) |
|
Clear notification history.
◆ getInstance()
◆ notificationHistory()
| const std::vector< Notification > & ui::qt::utils::NotificationManager::notificationHistory |
( |
| ) |
const |
|
inline |
Get notification history.
◆ NotificationHistoryChanged
| void ui::qt::utils::NotificationManager::NotificationHistoryChanged |
( |
| ) |
|
|
signal |
◆ NotificationReceived
| void ui::qt::utils::NotificationManager::NotificationReceived |
( |
const Notification & |
notification | ) |
|
|
signal |
◆ notify()
◆ OnNotificationTimeout
| void ui::qt::utils::NotificationManager::OnNotificationTimeout |
( |
| ) |
|
|
privateslot |
◆ playSound()
Play sound alert (placeholder for audio system integration)
◆ setDisplayDuration()
| void ui::qt::utils::NotificationManager::setDisplayDuration |
( |
int |
milliseconds | ) |
|
Configure notification behavior.
◆ setGroupDuplicates()
| void ui::qt::utils::NotificationManager::setGroupDuplicates |
( |
bool |
group | ) |
|
◆ setMaxNotifications()
| void ui::qt::utils::NotificationManager::setMaxNotifications |
( |
int |
count | ) |
|
◆ setNotificationsEnabled()
| void ui::qt::utils::NotificationManager::setNotificationsEnabled |
( |
const QString & |
logLevel, |
|
|
bool |
enabled |
|
) |
| |
Enable/disable notifications for a log level.
◆ ShouldShowNotification()
| bool ui::qt::utils::NotificationManager::ShouldShowNotification |
( |
NotificationType |
type | ) |
const |
|
private |
◆ unreadCount()
| int ui::qt::utils::NotificationManager::unreadCount |
( |
| ) |
const |
Get unread notification count.
◆ m_displayDurationMs
| int ui::qt::utils::NotificationManager::m_displayDurationMs {5000} |
|
private |
◆ m_enabledLevels
| std::map<QString, bool> ui::qt::utils::NotificationManager::m_enabledLevels |
|
private |
◆ m_groupDuplicates
| bool ui::qt::utils::NotificationManager::m_groupDuplicates {true} |
|
private |
◆ m_history
| std::vector<Notification> ui::qt::utils::NotificationManager::m_history |
|
private |
◆ m_maxNotifications
| int ui::qt::utils::NotificationManager::m_maxNotifications {100} |
|
private |
The documentation for this class was generated from the following files: