Vesna
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Public Attributes | List of all members
MenuManager::DataClass Class Reference
Collaboration diagram for MenuManager::DataClass:
Collaboration graph
[legend]

Public Member Functions

 DataClass (MenuManager *dataClassOwner, ApplicationStateManager *stateManager)
 
 ~DataClass ()
 
void RegisterMenuCategories ()
 
void RetranslateMenuCategoriesTexts ()
 
void RegisterMenuCommands ()
 
void AddAvailableMenuCommandAndSetAction (const MenuCommandDefines::MenuCommandID menuCommandID, MenuCommand::MenuCommandAction action)
 
void SetMenuCommandsActions ()
 
void SetAvailableMenuCommandTexts (const MenuCommandDefines::MenuCommandID menuCommandID, const QString &text, const QString &description, const QString &commandButtonText)
 
void SetMenuCommandsTexts ()
 
void LoadMenuFromXmlFile ()
 
void LoadMenuStructure (QList< QPair< QString, QList< MenuCommand * > > > &menu, QDomNode menuStructureNode)
 
void SetVisibleCategoriesAndCommandsByMenuStructure (QList< QPair< QString, QList< MenuCommand * > > > &menuStructure)
 
void SelectMenuCategory (const QString &menuCategoryName)
 
void LoadDeveloperMenu ()
 
void LoadApplicationLanguagesMenu ()
 
void FreeMenuStructureCommands (QList< QPair< QString, QList< MenuCommand * >>> &menuStructureCommands)
 

Public Attributes

MenuManagermDataClassOwner
 
ApplicationStateManagermStateManager
 
QScopedPointer< MenuFormLogicmMenuFormLogic
 
QMap< QString, QSharedPointer
< MenuCommand > > 
mAvailableMenuCommands
 
QMap< QString, QSharedPointer
< MenuCategoryBusinessLogic > > 
mAvailableMenuCategories
 
MenuCommand::OperatorType mCurrentOperatorType
 
QSharedPointer
< MenuCategoryBusinessLogic
mCurrentMenuCategoryBusinessLogic
 
QList< QPair< QString, QList
< MenuCommand * > > > 
mIssueMenuStructure
 
QList< QPair< QString, QList
< MenuCommand * > > > 
mCommonMenuStructure
 

Constructor & Destructor Documentation

MenuManager::DataClass::DataClass ( MenuManager dataClassOwner,
ApplicationStateManager stateManager 
)
MenuManager::DataClass::~DataClass ( )

Member Function Documentation

void MenuManager::DataClass::AddAvailableMenuCommandAndSetAction ( const MenuCommandDefines::MenuCommandID  menuCommandID,
MenuCommand::MenuCommandAction  action 
)

Here is the call graph for this function:

void MenuManager::DataClass::FreeMenuStructureCommands ( QList< QPair< QString, QList< MenuCommand * >>> &  menuStructureCommands)
void MenuManager::DataClass::LoadApplicationLanguagesMenu ( )

Here is the call graph for this function:

void MenuManager::DataClass::LoadDeveloperMenu ( )

Here is the call graph for this function:

void MenuManager::DataClass::LoadMenuFromXmlFile ( )
void MenuManager::DataClass::LoadMenuStructure ( QList< QPair< QString, QList< MenuCommand * > > > &  menu,
QDomNode  menuStructureNode 
)

Here is the call graph for this function:

void MenuManager::DataClass::RegisterMenuCategories ( )
void MenuManager::DataClass::RegisterMenuCommands ( )
void MenuManager::DataClass::RetranslateMenuCategoriesTexts ( )

Here is the call graph for this function:

void MenuManager::DataClass::SelectMenuCategory ( const QString &  menuCategoryName)
void MenuManager::DataClass::SetAvailableMenuCommandTexts ( const MenuCommandDefines::MenuCommandID  menuCommandID,
const QString &  text,
const QString &  description,
const QString &  commandButtonText 
)

Here is the call graph for this function:

void MenuManager::DataClass::SetMenuCommandsActions ( )
void MenuManager::DataClass::SetMenuCommandsTexts ( )
void MenuManager::DataClass::SetVisibleCategoriesAndCommandsByMenuStructure ( QList< QPair< QString, QList< MenuCommand * > > > &  menuStructure)

Here is the call graph for this function:

Member Data Documentation

QMap<QString, QSharedPointer<MenuCategoryBusinessLogic> > MenuManager::DataClass::mAvailableMenuCategories
QMap<QString, QSharedPointer<MenuCommand> > MenuManager::DataClass::mAvailableMenuCommands
QList<QPair<QString, QList<MenuCommand *> > > MenuManager::DataClass::mCommonMenuStructure
QSharedPointer<MenuCategoryBusinessLogic> MenuManager::DataClass::mCurrentMenuCategoryBusinessLogic
MenuCommand::OperatorType MenuManager::DataClass::mCurrentOperatorType
MenuManager* MenuManager::DataClass::mDataClassOwner
QList<QPair<QString, QList<MenuCommand *> > > MenuManager::DataClass::mIssueMenuStructure
QScopedPointer<MenuFormLogic> MenuManager::DataClass::mMenuFormLogic
ApplicationStateManager* MenuManager::DataClass::mStateManager

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