Go to the documentation of this file.
23 #if !defined(TOKENGROUP_H)
64 {
return "TokenGroup"; }
107 {
return "ListGroup"; }
129 #if QT_VERSION < QT_VERSION_CHECK(6,0,0)
130 { pResult->SetVariableValue(
m_itemList.size()); }
132 { pResult->SetVariableValue(
static_cast<int>(
m_itemList.size())); }
161 { pTarget->CallActionSlot(nArg, engine); }
170 { pTarget->Move(nArg, engine); }
179 { pTarget->MoveTo(nArg, engine); }
186 { pTarget->GetTokenPosition(pArg, engine); }
205 { pTarget->DelItem(pObj, engine); }
void CallAction(MHEngine *engine, MHRoot *pTarget, int nArg) override
void CallAction(MHEngine *engine, MHRoot *, int nArg) override
void GetListSize(MHRoot *pResult, MHEngine *) override
MHSequence< QPoint > m_positions
void Select(int nIndex, MHEngine *engine)
void Deactivation(MHEngine *engine) override
void PrintMe(FILE *fd, int nTabs) const override
void CallAction(MHEngine *engine, MHRoot *, int nArg) override
void Initialise(MHParseNode *p, MHEngine *engine)
void GetFirstItem(MHRoot *pResult, MHEngine *) override
virtual void GetListSize(MHRoot *, MHEngine *)
virtual void GetFirstItem(MHRoot *, MHEngine *)
MHOwnPtrSequence< MHActionSequence > m_noTokenActionSlots
virtual void GetItemStatus(int, const MHObjectRef &, MHEngine *)
bool m_fFirstItemDisplayed
void CallAction(MHEngine *engine, MHRoot *, MHRoot *pArg) override
void Activation(MHEngine *engine) override
bool m_fMultipleSelection
void CallAction(MHEngine *engine, MHRoot *pTarget, MHRoot *pObj) override
MHGetListActionData(const char *name)
void TransferToken(int newPos, MHEngine *engine)
void PrintArgs(FILE *fd, int) const override
void Move(int n, MHEngine *engine) override
virtual void ScrollItems(int, MHEngine *)
void Activation(MHEngine *engine) override
void CallAction(MHEngine *engine, MHRoot *pTarget, MHRoot *pArg) override
void ScrollItems(int nCell, MHEngine *engine) override
void Perform(MHEngine *engine) override
virtual void GetListItem(int, const MHObjectRef &, MHEngine *)
void CallActionSlot(int n, MHEngine *engine) override
void Initialise(MHParseNode *p, MHEngine *engine) override
MHOwnPtrSequence< MHMovement > m_movementTable
void Perform(MHEngine *engine) override
void DeselectItem(int nCell, MHEngine *engine) override
void Destruction(MHEngine *engine) override
void SelectItem(int nCell, MHEngine *engine) override
void Deselect(int nIndex, MHEngine *engine)
const char * ClassName() override
void GetCellItem(int nCell, const MHObjectRef &itemDest, MHEngine *engine) override
void CallAction(MHEngine *engine, MHRoot *pTarget, int nArg) override
void CallAction(MHEngine *engine, MHRoot *pTarget, int nArg) override
virtual void SelectItem(int, MHEngine *)
void GetTokenPosition(MHRoot *pResult, MHEngine *) override
void Initialise(MHParseNode *p, MHEngine *engine)
void Initialise(MHParseNode *p, MHEngine *engine) override
virtual void ToggleItem(int, MHEngine *)
MHOwnPtrSequence< MHActionSequence > m_ActionSlots
void ToggleItem(int nCell, MHEngine *engine) override
virtual void SetFirstItem(int, MHEngine *)
void MoveTo(int n, MHEngine *engine) override
void Initialise(MHParseNode *p, MHEngine *engine) override
void Perform(MHEngine *engine) override
MHSequence< int > m_movement
void GetListItem(int nCell, const MHObjectRef &itemDest, MHEngine *engine) override
bool m_fLastItemDisplayed
int AdjustIndex(int nIndex)
virtual void GetCellItem(int, const MHObjectRef &, MHEngine *)
void CallAction(MHEngine *engine, MHRoot *, MHRoot *pArg) override
void Initialise(MHParseNode *p, MHEngine *engine) override
QList< MHListItem * > m_itemList
void Update(MHEngine *engine)
virtual void DeselectItem(int, MHEngine *)
void SetFirstItem(int nCell, MHEngine *engine) override
MHRoot * Target(MHEngine *engine)
MHOwnPtrSequence< MHTokenGroupItem > m_tokenGrpItems
void Preparation(MHEngine *engine) override
void PrintContents(FILE *fd, int nTabs) const
void PrintMe(FILE *fd, int nTabs) const
void PrintArgs(FILE *fd, int) const override
MHGenericObjectRef m_item
MHTokenGroupItem()=default
void CallAction(MHEngine *engine, MHRoot *, int nArg) override
void CallAction(MHEngine *engine, MHRoot *, int nArg) override
void PrintMe(FILE *fd, int nTabs) const override
int GetValue(MHEngine *engine) const
void Deactivation(MHEngine *engine) override
const char * ClassName() override
void Perform(MHEngine *engine) override
void PrintMe(FILE *fd, int nTabs) const
void AddItem(int nIndex, MHRoot *pItem, MHEngine *engine) override
void DelItem(MHRoot *pItem, MHEngine *engine) override
void GetItemStatus(int nCell, const MHObjectRef &itemDest, MHEngine *engine) override