MythTV  0.26-pre
Public Member Functions | Protected Member Functions | Protected Attributes
MHListGroup Class Reference

#include <TokenGroup.h>

Inheritance diagram for MHListGroup:
MHTokenGroup MHPresentable MHIngredient MHRoot

List of all members.

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

Detailed Description

Definition at line 98 of file TokenGroup.h.


Constructor & Destructor Documentation

Definition at line 330 of file TokenGroup.cpp.

Definition at line 338 of file TokenGroup.cpp.


Member Function Documentation

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.

void MHListGroup::AddItem ( int  nIndex,
MHRoot pItem,
MHEngine engine 
) [virtual]

Reimplemented from MHRoot.

Definition at line 561 of file TokenGroup.cpp.

void MHListGroup::DelItem ( MHRoot pItem,
MHEngine engine 
) [virtual]

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.

virtual void MHListGroup::GetFirstItem ( MHRoot pResult,
MHEngine  
) [inline, virtual]

Reimplemented from MHRoot.

Definition at line 122 of file TokenGroup.h.

virtual void MHListGroup::GetListSize ( MHRoot pResult,
MHEngine  
) [inline, virtual]

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]

Member Data Documentation

MHSequence<QPoint> MHListGroup::m_Positions [protected]

Definition at line 133 of file TokenGroup.h.

Referenced by GetCellItem(), Initialise(), PrintMe(), and Update().

Definition at line 134 of file TokenGroup.h.

Referenced by Initialise(), MHListGroup(), PrintMe(), and Select().

QList<MHListItem*> MHListGroup::m_ItemList [protected]

Definition at line 138 of file TokenGroup.h.

Referenced by Activation(), and Update().

Definition at line 138 of file TokenGroup.h.

Referenced by Activation(), and Update().

Definition at line 139 of file TokenGroup.h.

Referenced by MHListGroup(), and Update().

Definition at line 139 of file TokenGroup.h.

Referenced by MHListGroup(), and Update().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends