ALBA
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
albaGUIContextualMenu Class Reference

#include <albaGUIContextualMenu.h>

Inheritance diagram for albaGUIContextualMenu:
Inheritance graph
[legend]
Collaboration diagram for albaGUIContextualMenu:
Collaboration graph
[legend]

Public Member Functions

 albaGUIContextualMenu ()
 
virtual ~albaGUIContextualMenu ()
 
void SetListener (albaObserver *Listener)
 
void ShowContextualMenu (wxFrame *child, albaView *view, bool vme_menu)
 

Protected Member Functions

void OnContextualViewMenu (wxCommandEvent &event)
 

Protected Attributes

wxFrame * m_ChildViewActive
 
albaViewm_ViewActive
 
albaObserverm_Listener
 

Detailed Description

class name: albaGUIContextualMenu Class that handle menu' opened with right button click of the mouse over the view.

Definition at line 34 of file albaGUIContextualMenu.h.

Constructor & Destructor Documentation

◆ albaGUIContextualMenu()

albaGUIContextualMenu::albaGUIContextualMenu ( )

constructor

◆ ~albaGUIContextualMenu()

virtual albaGUIContextualMenu::~albaGUIContextualMenu ( )
virtual

destructor

Member Function Documentation

◆ SetListener()

void albaGUIContextualMenu::SetListener ( albaObserver Listener)
inline

function for setting the listener of events coming from another object

Definition at line 42 of file albaGUIContextualMenu.h.

◆ ShowContextualMenu()

void albaGUIContextualMenu::ShowContextualMenu ( wxFrame *  child,
albaView view,
bool  vme_menu 
)

Visualize contextual menù for the MDI child and selected view.

◆ OnContextualViewMenu()

void albaGUIContextualMenu::OnContextualViewMenu ( wxCommandEvent &  event)
protected

Answer contextual menù's selection.

Member Data Documentation

◆ m_ChildViewActive

wxFrame* albaGUIContextualMenu::m_ChildViewActive
protected

Definition at line 48 of file albaGUIContextualMenu.h.

◆ m_ViewActive

albaView* albaGUIContextualMenu::m_ViewActive
protected

Definition at line 49 of file albaGUIContextualMenu.h.

◆ m_Listener

albaObserver* albaGUIContextualMenu::m_Listener
protected

Definition at line 50 of file albaGUIContextualMenu.h.


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