#include <TokenGroup.h>
Public Member Functions | |
| MHListGroup () | |
| ~MHListGroup () | |
| virtual const char * | ClassName () |
| virtual void | Initialise (MHParseNode *p, MHEngine *engine) |
| virtual void | PrintMe (FILE *fd, int nTabs) const |
| virtual void | Preparation (MHEngine *engine) |
| virtual void | Destruction (MHEngine *engine) |
| virtual void | Activation (MHEngine *engine) |
| virtual void | Deactivation (MHEngine *engine) |
| virtual void | AddItem (int nIndex, MHRoot *pItem, MHEngine *engine) |
| virtual void | DelItem (MHRoot *pItem, MHEngine *engine) |
| virtual void | GetCellItem (int nCell, const MHObjectRef &itemDest, MHEngine *engine) |
| virtual void | GetListItem (int nCell, const MHObjectRef &itemDest, MHEngine *engine) |
| virtual void | GetItemStatus (int nCell, const MHObjectRef &itemDest, MHEngine *engine) |
| virtual void | SelectItem (int nCell, MHEngine *engine) |
| virtual void | DeselectItem (int nCell, MHEngine *engine) |
| virtual void | ToggleItem (int nCell, MHEngine *engine) |
| virtual void | ScrollItems (int nCell, MHEngine *engine) |
| virtual void | SetFirstItem (int nCell, MHEngine *engine) |
| virtual void | GetFirstItem (MHRoot *pResult, MHEngine *) |
| virtual void | GetListSize (MHRoot *pResult, MHEngine *) |
Protected Member Functions | |
| void | Update (MHEngine *engine) |
| void | Select (int nIndex, MHEngine *engine) |
| void | Deselect (int nIndex, MHEngine *engine) |
| int | AdjustIndex (int nIndex) |
Protected Attributes | |
| MHSequence< QPoint > | m_Positions |
| bool | m_fWrapAround |
| bool | m_fMultipleSelection |
| QList< MHListItem * > | m_ItemList |
| int | m_nFirstItem |
| bool | m_fFirstItemDisplayed |
| bool | m_fLastItemDisplayed |
| int | m_nLastCount |
| int | m_nLastFirstItem |
Definition at line 98 of file TokenGroup.h.
| MHListGroup::MHListGroup | ( | ) |
Definition at line 330 of file TokenGroup.cpp.
| MHListGroup::~MHListGroup | ( | ) |
Definition at line 338 of file TokenGroup.cpp.
| virtual const char* MHListGroup::ClassName | ( | ) | [inline, virtual] |
Reimplemented from MHTokenGroup.
Definition at line 103 of file TokenGroup.h.
| void MHListGroup::Initialise | ( | MHParseNode * | p, | |
| MHEngine * | engine | |||
| ) | [virtual] |
Reimplemented from MHTokenGroup.
Definition at line 346 of file TokenGroup.cpp.
| void MHListGroup::PrintMe | ( | FILE * | fd, | |
| int | nTabs | |||
| ) | const [virtual] |
Reimplemented from MHTokenGroup.
Definition at line 376 of file TokenGroup.cpp.
| void MHListGroup::Preparation | ( | MHEngine * | engine | ) | [virtual] |
Reimplemented from MHIngredient.
Definition at line 407 of file TokenGroup.cpp.
| void MHListGroup::Destruction | ( | MHEngine * | engine | ) | [virtual] |
Reimplemented from MHIngredient.
Definition at line 441 of file TokenGroup.cpp.
| void MHListGroup::Activation | ( | MHEngine * | engine | ) | [virtual] |
Reimplemented from MHTokenGroup.
Definition at line 452 of file TokenGroup.cpp.
| void MHListGroup::Deactivation | ( | MHEngine * | engine | ) | [virtual] |
Reimplemented from MHTokenGroup.
Definition at line 460 of file TokenGroup.cpp.
Reimplemented from MHRoot.
Definition at line 561 of file TokenGroup.cpp.
Reimplemented from MHRoot.
Definition at line 592 of file TokenGroup.cpp.
| void MHListGroup::GetCellItem | ( | int | nCell, | |
| const MHObjectRef & | itemDest, | |||
| MHEngine * | engine | |||
| ) | [virtual] |
Reimplemented from MHRoot.
Definition at line 651 of file TokenGroup.cpp.
| void MHListGroup::GetListItem | ( | int | nCell, | |
| const MHObjectRef & | itemDest, | |||
| MHEngine * | engine | |||
| ) | [virtual] |
Reimplemented from MHRoot.
Definition at line 699 of file TokenGroup.cpp.
| void MHListGroup::GetItemStatus | ( | int | nCell, | |
| const MHObjectRef & | itemDest, | |||
| MHEngine * | engine | |||
| ) | [virtual] |
Reimplemented from MHRoot.
Definition at line 714 of file TokenGroup.cpp.
| void MHListGroup::SelectItem | ( | int | nCell, | |
| MHEngine * | engine | |||
| ) | [virtual] |
Reimplemented from MHRoot.
Definition at line 729 of file TokenGroup.cpp.
| void MHListGroup::DeselectItem | ( | int | nCell, | |
| MHEngine * | engine | |||
| ) | [virtual] |
Reimplemented from MHRoot.
Definition at line 744 of file TokenGroup.cpp.
| void MHListGroup::ToggleItem | ( | int | nCell, | |
| MHEngine * | engine | |||
| ) | [virtual] |
Reimplemented from MHRoot.
Definition at line 759 of file TokenGroup.cpp.
| void MHListGroup::ScrollItems | ( | int | nCell, | |
| MHEngine * | engine | |||
| ) | [virtual] |
Reimplemented from MHRoot.
Definition at line 781 of file TokenGroup.cpp.
| void MHListGroup::SetFirstItem | ( | int | nCell, | |
| MHEngine * | engine | |||
| ) | [virtual] |
Reimplemented from MHRoot.
Definition at line 799 of file TokenGroup.cpp.
Reimplemented from MHRoot.
Definition at line 122 of file TokenGroup.h.
Reimplemented from MHRoot.
Definition at line 123 of file TokenGroup.h.
| void MHListGroup::Update | ( | MHEngine * | engine | ) | [protected] |
Definition at line 473 of file TokenGroup.cpp.
Referenced by Activation(), AddItem(), ScrollItems(), and SetFirstItem().
| void MHListGroup::Select | ( | int | nIndex, | |
| MHEngine * | engine | |||
| ) | [protected] |
Definition at line 613 of file TokenGroup.cpp.
Referenced by SelectItem(), and ToggleItem().
| void MHListGroup::Deselect | ( | int | nIndex, | |
| MHEngine * | engine | |||
| ) | [protected] |
Definition at line 637 of file TokenGroup.cpp.
Referenced by DeselectItem(), Select(), and ToggleItem().
| int MHListGroup::AdjustIndex | ( | int | nIndex | ) | [protected] |
Definition at line 676 of file TokenGroup.cpp.
Referenced by DeselectItem(), GetItemStatus(), GetListItem(), ScrollItems(), SelectItem(), SetFirstItem(), and ToggleItem().
MHSequence<QPoint> MHListGroup::m_Positions [protected] |
Definition at line 133 of file TokenGroup.h.
Referenced by GetCellItem(), Initialise(), PrintMe(), and Update().
bool MHListGroup::m_fWrapAround [protected] |
Definition at line 134 of file TokenGroup.h.
Referenced by DeselectItem(), GetItemStatus(), GetListItem(), Initialise(), MHListGroup(), PrintMe(), ScrollItems(), SelectItem(), SetFirstItem(), and ToggleItem().
bool MHListGroup::m_fMultipleSelection [protected] |
Definition at line 134 of file TokenGroup.h.
Referenced by Initialise(), MHListGroup(), PrintMe(), and Select().
QList<MHListItem*> MHListGroup::m_ItemList [protected] |
Definition at line 136 of file TokenGroup.h.
Referenced by AddItem(), AdjustIndex(), Deactivation(), DelItem(), Deselect(), DeselectItem(), Destruction(), GetCellItem(), GetItemStatus(), GetListItem(), GetListSize(), Preparation(), ScrollItems(), Select(), SelectItem(), SetFirstItem(), ToggleItem(), Update(), and ~MHListGroup().
int MHListGroup::m_nFirstItem [protected] |
Definition at line 137 of file TokenGroup.h.
Referenced by AddItem(), DelItem(), GetCellItem(), GetFirstItem(), MHListGroup(), ScrollItems(), SetFirstItem(), and Update().
bool MHListGroup::m_fFirstItemDisplayed [protected] |
Definition at line 138 of file TokenGroup.h.
Referenced by Activation(), and Update().
bool MHListGroup::m_fLastItemDisplayed [protected] |
Definition at line 138 of file TokenGroup.h.
Referenced by Activation(), and Update().
int MHListGroup::m_nLastCount [protected] |
Definition at line 139 of file TokenGroup.h.
Referenced by MHListGroup(), and Update().
int MHListGroup::m_nLastFirstItem [protected] |
Definition at line 139 of file TokenGroup.h.
Referenced by MHListGroup(), and Update().
1.6.3