ALBA
|
#include <albaGUIMDIFrame.h>
Public Member Functions | |
albaGUIMDIFrame (const wxString &title, const wxPoint &pos, const wxSize &size, long style=0) | |
~albaGUIMDIFrame () | |
void | SetListener (albaObserver *Listener) |
albaGUIDockManager & | GetDockManager () |
void | OnQuit () |
void | AddDockPane (wxWindow *window, wxPaneInfo &pane_info, const wxString &menu=_("&View"), const wxString &subMenu=wxEmptyString) |
void | RemoveDockPane (wxString pane_name) |
void | ShowDockPane (wxString pane_name, bool show=true) |
void | ShowDockPane (wxWindow *window, bool show=true) |
bool | DockPaneIsShown (wxString pane_name) |
bool | DockPaneIsShown (wxWindow *window) |
void | Busy () |
void | Ready () |
void | ProgressBarShow () |
void | ProgressBarHide () |
void | ProgressBarSetVal (int progress) |
int | ProgressBarGetStatus () |
void | ProgressBarSetText (wxString *msg) |
void | RenderStart () |
void | RenderEnd () |
Protected Member Functions | |
void | OnMenu (wxCommandEvent &e) |
void | OnMenuOp (wxCommandEvent &e) |
void | OnMenuView (wxCommandEvent &e) |
void | OnUpdateUI (wxUpdateUIEvent &e) |
void | OnCloseWindow (wxCloseEvent &event) |
void | OnSashDrag (wxSashEvent &event) |
void | OnLayout (wxCommandEvent &event) |
void | OnIdle (wxIdleEvent &event) |
void | FreeMemorySizeOnIdle (wxIdleEvent &event) |
void | OnDropFile (wxDropFilesEvent &event) |
void | LayoutWindow () |
void | CreateStatusbar () |
void | OnMenuWizard (wxCommandEvent &e) |
Protected Attributes | |
albaObserver * | m_Listener |
bool * | m_Busy |
wxPanel * | m_BusyPanel |
wxStaticText * | m_BusyLabel |
wxGauge * | m_Gauge |
std::vector< int > | m_PBCalls |
int | m_ID_PBCall |
int | m_MemoryLimitAlert |
bool | m_UserAlerted |
albaGUIDockManager | m_DockManager |
Class Name: albaGUIMDIFrame.
Represents the main frame of a ALBA Application. On this frame they'll be plugged toolbars, panels, progress bar etc... Closing this frame is equal to close the application.
Definition at line 45 of file albaGUIMDIFrame.h.
albaGUIMDIFrame::albaGUIMDIFrame | ( | const wxString & | title, |
const wxPoint & | pos, | ||
const wxSize & | size, | ||
long | style = 0 |
||
) |
constructor.
albaGUIMDIFrame::~albaGUIMDIFrame | ( | ) |
destructor.
|
inline |
Set the listener object, i.e.
the object receiving events sent by this object
Definition at line 54 of file albaGUIMDIFrame.h.
|
inline |
Retrieve the Docking Manager.
Definition at line 57 of file albaGUIMDIFrame.h.
void albaGUIMDIFrame::OnQuit | ( | ) |
must be called @ shutdown
void albaGUIMDIFrame::AddDockPane | ( | wxWindow * | window, |
wxPaneInfo & | pane_info, | ||
const wxString & | menu = _("&View") , |
||
const wxString & | subMenu = wxEmptyString |
||
) |
add a new Dockable Pane containing the given Window.
pane_info specify the Pane settings
void albaGUIMDIFrame::RemoveDockPane | ( | wxString | pane_name | ) |
remove a Dockable Pane - the contained window is not destroyed
void albaGUIMDIFrame::ShowDockPane | ( | wxString | pane_name, |
bool | show = true |
||
) |
Show/Hide a Dockable Pane – the Pane is specified by name.
void albaGUIMDIFrame::ShowDockPane | ( | wxWindow * | window, |
bool | show = true |
||
) |
Show/Hide a Dockable Pane – the Pane is specified by content.
bool albaGUIMDIFrame::DockPaneIsShown | ( | wxString | pane_name | ) |
tell if a given Dockable Pane is shown – the Paneis specified by name
bool albaGUIMDIFrame::DockPaneIsShown | ( | wxWindow * | window | ) |
tell if a given Dockable Pane is shown – the Pane is specified by content
void albaGUIMDIFrame::Busy | ( | ) |
Show the 'Busy' text on the status bar.
void albaGUIMDIFrame::Ready | ( | ) |
End the progress.
void albaGUIMDIFrame::ProgressBarShow | ( | ) |
Show the progress bar.
void albaGUIMDIFrame::ProgressBarHide | ( | ) |
Hide the progress bar.
void albaGUIMDIFrame::ProgressBarSetVal | ( | int | progress | ) |
Set the progress value for the progress bar.
int albaGUIMDIFrame::ProgressBarGetStatus | ( | ) |
Get the progress bar status.
void albaGUIMDIFrame::ProgressBarSetText | ( | wxString * | msg | ) |
Set the progress text for the progress bar.
void albaGUIMDIFrame::RenderStart | ( | ) |
Start rendering progress.
void albaGUIMDIFrame::RenderEnd | ( | ) |
End rendering progress.
|
protected |
Send the men event.
|
protected |
Send the 'Operations' men event.
|
protected |
Send the 'Views' men event.
|
protected |
Send the UI event.
|
protected |
Send the MENU_FILE_QUIT event.
|
protected |
Redraw sash panels.
|
protected |
Call LayoutWindow method.
|
protected |
Update the memory status on the status bas.
|
protected |
Update the memory status on the status bas , with information that needs to walk the heap (bad performances)
|
protected |
Send an event to open the msf or zip file.
|
protected |
Redraw widgets on interface.
|
protected |
Create the status bar on main application frame.
|
protected |
Send the 'Wizard' men event.
|
protected |
Definition at line 172 of file albaGUIMDIFrame.h.
|
protected |
Definition at line 175 of file albaGUIMDIFrame.h.
|
protected |
Definition at line 176 of file albaGUIMDIFrame.h.
|
protected |
Definition at line 177 of file albaGUIMDIFrame.h.
|
protected |
Definition at line 178 of file albaGUIMDIFrame.h.
|
protected |
Definition at line 179 of file albaGUIMDIFrame.h.
|
protected |
Definition at line 180 of file albaGUIMDIFrame.h.
|
protected |
Used to alert the user when memory decrease under this limit value.
Definition at line 182 of file albaGUIMDIFrame.h.
|
protected |
Definition at line 183 of file albaGUIMDIFrame.h.
|
protected |
Definition at line 186 of file albaGUIMDIFrame.h.