#include <LayoutFCStats.h>
Public Member Functions | |
bool | DisplayTraineeStats (const string &name) |
displays trainee info (adds a new tab if the that trainee's tab is not open) | |
bool | DisplaySessionStats (unsigned int sessionId) |
displays session info (adds a new tab if the that session's tab is not open) | |
bool | Show () |
show the layout, actually adds the current layout as a child of the root window | |
bool | Hide () |
removes the layout from the active layouts (so more seen and no more receiving input) | |
Static Public Member Functions | |
static CLayoutFCStats * | GetInstance () |
sub classes should implement this for easy access to self (which is a singleton) | |
Private Member Functions | |
bool | Load () |
protected Load, should be called automatically when an unloaded layout is shown | |
bool | Unload () |
unloads all the gui-related (cegui) data associated with the layout. | |
bool | handle_CloseLayout (const CEGUI::EventArgs &e) |
handle_CloseLayout | |
bool | handle_TraineeSelect (const CEGUI::EventArgs &e) |
handle_TraineeSelect | |
bool | handle_Trainee_BrowseAll (const CEGUI::EventArgs &e) |
handle_Trainee_BrowseAll | |
bool | handle_Trainee_Search (const CEGUI::EventArgs &e) |
handle_Trainee_Search | |
bool | handle_TraineeTab_Close (const CEGUI::EventArgs &e) |
handle_TraineeTab_Close | |
bool | handle_SessionSelect (const CEGUI::EventArgs &e) |
handle_SessionSelect | |
bool | handle_Session_BrowseAll (const CEGUI::EventArgs &e) |
handle_Session_BrowseAll | |
bool | handle_Session_Search (const CEGUI::EventArgs &e) |
handle_Session_Search | |
bool | handle_ChangeSearchType_Ses (const CEGUI::EventArgs &e) |
handle_ChangeSearchType_Ses | |
bool | handle_SessionTab_Close (const CEGUI::EventArgs &e) |
handle_SessionTab_Close | |
void | ClearTraineeList () |
in tr display tab, resets trainee search results | |
void | ClearSessionList () |
in session display tab, resets trainee search results | |
void | FillPackageCombobox () |
queries database and creates package names in the combobox |