FinceptTerminal is a modern finance application offering advanced market analytics, investment research, and economic data tools, designed for interactive exploration and data-driven decision-making in a user-friendly environment.
C++ ai-agentsalgorithmic-tradingbloomberg-terminalcppfinancefinancial-marketsfintechgood-first-issueinvestmentinvestment-researchmachine-learningopensourcepythonqtquantitative-financestock-markettrading
#pragma once
#include <QPushButton>
namespace fincept::ui {
/// Bell button with unread badge — lives in DashboardStatusBar.
/// Connects to NotificationService::unread_count_changed to update badge.
class NotifBell : public QPushButton {
Q_OBJECT
public:
explicit NotifBell(QWidget* parent = nullptr);
void set_unread(int count);
signals:
void bell_clicked();
private:
void update_label();
int unread_{0};
};
} // namespace fincept::ui