|
Vesna
|
#include <MultiListMenuCategoryBusinessLogic.h>


Classes | |
| class | DataClass |
Signals | |
| void | CurrentTabChanged (int currentTab) |
Public Member Functions | |
| MultiListMenuCategoryBusinessLogic (const QString &menuCategoryName, MenuManager *menuManager, BusinessLogicManager *persistentBusinessLogicManager, MenuCategoryMultiListWidget *widget) | |
| virtual | ~MultiListMenuCategoryBusinessLogic () |
| void | SetSubCategories (const QStringList &subCategoriesCaptions) |
| SetSubCategories This function must be called before SetVisibleCommands. It creates buttons and tabs for all subcategories specified in the string list. More... | |
| void | AddCustomWidget (const int tabIndex, QWidget *widget) |
| AddCustomWidget - method enables possibility to add non standard widget to menu. More... | |
| virtual void | SetVisibleCommands (QList< MenuCommand * > visibleCommands, const MenuCommand::OperatorType currentOperator) |
| SetVisibleCommands Sets visible menu commands for all subcategories. Each menu command contains the information about which subcategory it belongs to, so the commands are divided by this information. More... | |
| virtual QWidget * | GetMenuWidget () const |
| virtual void | UpdateWidgetData () |
| virtual void | DeselectAllCommands () |
Public Member Functions inherited from MenuCategoryBusinessLogic | |
| MenuCategoryBusinessLogic (const QString &menuCategoryCaption, MenuManager *menuManager, BusinessLogicManager *persistentBusinessLogicManager) | |
| virtual | ~MenuCategoryBusinessLogic () |
| virtual void | UpdateMenuCategoryTranslatedCaption () |
| QString | GetCaption () const |
| void | SetFixed (bool fixed) |
| bool | IsFixed () const |
| virtual void | OnQadraRealtimeDataReceived (const QStringList &realtimeData) |
Protected Member Functions | |
| void | UpdateMenuCategoryTabsTranslatedCaption () |
| virtual QStringList | GetMenuSubcategoryCaptions ()=0 |
Protected Member Functions inherited from MenuCategoryBusinessLogic | |
| virtual QString | GetMenuCategoryCaption ()=0 |
| void | UpdateMenuCategoryTranslatedCaption (const QString &menuCategoryCaption) |
| MenuManager * | GetMenuManager () |
| BusinessLogicManager * | GetPersistentBusinessLogicManager () |
| MultiListMenuCategoryBusinessLogic::MultiListMenuCategoryBusinessLogic | ( | const QString & | menuCategoryName, |
| MenuManager * | menuManager, | ||
| BusinessLogicManager * | persistentBusinessLogicManager, | ||
| MenuCategoryMultiListWidget * | widget | ||
| ) |
|
virtual |
| void MultiListMenuCategoryBusinessLogic::AddCustomWidget | ( | const int | tabIndex, |
| QWidget * | widget | ||
| ) |
AddCustomWidget - method enables possibility to add non standard widget to menu.
| tabIndex | - tab index, where custom widget will be added |
| widget | - widget to be added |

|
signal |

|
virtual |
Implements MenuCategoryBusinessLogic.
|
protectedpure virtual |

|
virtual |
Implements MenuCategoryBusinessLogic.
| void MultiListMenuCategoryBusinessLogic::SetSubCategories | ( | const QStringList & | subCategoriesCaptions | ) |
SetSubCategories This function must be called before SetVisibleCommands. It creates buttons and tabs for all subcategories specified in the string list.
| subCategoriesCaptions | List of captions of the subcategories. |

|
virtual |
SetVisibleCommands Sets visible menu commands for all subcategories. Each menu command contains the information about which subcategory it belongs to, so the commands are divided by this information.
| visibleCommands | List of all visible commands. |
Implements MenuCategoryBusinessLogic.
Reimplemented in MenuCategoryDevicesBusinessLogic.


|
protected |


|
virtual |
Implements MenuCategoryBusinessLogic.
1.8.8