KiCad PCB EDA Suite
Loading...
Searching...
No Matches
NOTIFICATIONS_LIST Class Reference
Inheritance diagram for NOTIFICATIONS_LIST:

Public Member Functions

 NOTIFICATIONS_LIST (NOTIFICATIONS_MANAGER *aManager, wxWindow *parent, const wxPoint &pos)
 
void onFocusLoss (wxFocusEvent &aEvent)
 
void Add (NOTIFICATION *aNoti)
 
void Remove (NOTIFICATION *aNoti)
 

Private Attributes

wxScrolledWindow * m_scrolledWindow
 Inner content of the scrolled window, add panels here.
 
wxBoxSizer * m_contentSizer
 
std::unordered_map< NOTIFICATION *, NOTIFICATION_PANEL * > m_panelMap
 
NOTIFICATIONS_MANAGERm_manager
 Text to be displayed when no notifications are present, this gets a Show/Hide call as needed.
 
wxStaticText * m_noNotificationsText
 

Detailed Description

Definition at line 151 of file notifications_manager.cpp.

Constructor & Destructor Documentation

◆ NOTIFICATIONS_LIST()

NOTIFICATIONS_LIST::NOTIFICATIONS_LIST ( NOTIFICATIONS_MANAGER aManager,
wxWindow *  parent,
const wxPoint &  pos 
)
inline

Member Function Documentation

◆ Add()

void NOTIFICATIONS_LIST::Add ( NOTIFICATION aNoti)
inline

◆ onFocusLoss()

void NOTIFICATIONS_LIST::onFocusLoss ( wxFocusEvent &  aEvent)
inline

Definition at line 190 of file notifications_manager.cpp.

Referenced by NOTIFICATIONS_LIST().

◆ Remove()

void NOTIFICATIONS_LIST::Remove ( NOTIFICATION aNoti)
inline

Member Data Documentation

◆ m_contentSizer

wxBoxSizer* NOTIFICATIONS_LIST::m_contentSizer
private

Definition at line 241 of file notifications_manager.cpp.

Referenced by Add(), NOTIFICATIONS_LIST(), and Remove().

◆ m_manager

NOTIFICATIONS_MANAGER* NOTIFICATIONS_LIST::m_manager
private

Text to be displayed when no notifications are present, this gets a Show/Hide call as needed.

Definition at line 243 of file notifications_manager.cpp.

Referenced by Add().

◆ m_noNotificationsText

wxStaticText* NOTIFICATIONS_LIST::m_noNotificationsText
private

Definition at line 245 of file notifications_manager.cpp.

Referenced by Add(), NOTIFICATIONS_LIST(), and Remove().

◆ m_panelMap

std::unordered_map<NOTIFICATION*, NOTIFICATION_PANEL*> NOTIFICATIONS_LIST::m_panelMap
private

Definition at line 242 of file notifications_manager.cpp.

Referenced by Add(), and Remove().

◆ m_scrolledWindow

wxScrolledWindow* NOTIFICATIONS_LIST::m_scrolledWindow
private

Inner content of the scrolled window, add panels here.

Definition at line 239 of file notifications_manager.cpp.

Referenced by Add(), NOTIFICATIONS_LIST(), and Remove().


The documentation for this class was generated from the following file: