ALBA
|
#include <albaGUIMDIChild.h>
Public Member Functions | |
albaGUIMDIChild (wxMDIParentFrame *parent, albaView *view) | |
virtual | ~albaGUIMDIChild () |
void | SetListener (albaObserver *Listener) |
void | SetAllowCloseWindow (bool allow_close) |
void | EnableResize (bool enable=true) |
Static Public Member Functions | |
static void | OnQuit () |
Protected Member Functions | |
void | OnSize (wxSizeEvent &event) |
void | OnSelect (wxCommandEvent &event) |
void | OnCloseWindow (wxCloseEvent &event) |
void | OnActivate (wxActivateEvent &event) |
void | OnMaximize (wxMaximizeEvent &event) |
Protected Attributes | |
wxWindow * | m_Win |
albaView * | m_View |
albaObserver * | m_Listener |
bool | m_AllowCloseFlag |
bool | m_EnableResize |
Static Protected Attributes | |
static bool | m_Quitting |
Class Name: albaGUIMDIChild.
Represents the child frame in a MDI system. In ALBA it is used in combination with views that support viewport and eventually a gui area in which some widgets can be used, like windowing widgets.
Definition at line 37 of file albaGUIMDIChild.h.
albaGUIMDIChild::albaGUIMDIChild | ( | wxMDIParentFrame * | parent, |
albaView * | view | ||
) |
constructor.
|
virtual |
destructor.
|
inline |
Set the listener object, i.e.
the object receiving events sent by this object
Definition at line 45 of file albaGUIMDIChild.h.
|
inlinestatic |
Set the quitting flag.
Definition at line 48 of file albaGUIMDIChild.h.
|
inline |
Allow to set the flag to avoid closing the view.
For instance when an operation is running or something else the vertical application don't want that the view must stay open.
Definition at line 53 of file albaGUIMDIChild.h.
void albaGUIMDIChild::EnableResize | ( | bool | enable = true | ) |
Enable/disable resizing of the view.
|
protected |
Adjust the child size.
|
protected |
Send the event to select the owned view.
|
protected |
Send the event to destroy the owned view.
|
protected |
Send the event to select the owned view.
|
protected |
Used to maximize view in remote application.
|
protected |
Definition at line 74 of file albaGUIMDIChild.h.
|
protected |
Definition at line 75 of file albaGUIMDIChild.h.
|
protected |
Definition at line 76 of file albaGUIMDIChild.h.
|
staticprotected |
Definition at line 77 of file albaGUIMDIChild.h.
|
protected |
Definition at line 78 of file albaGUIMDIChild.h.
|
protected |
Definition at line 79 of file albaGUIMDIChild.h.