#include <mythuistatetype.h>

Definition at line 13 of file mythuistatetype.h.
Public Types | |
| enum | StateType { None = 0, Off, Half, Full } |
Public Member Functions | |
| MythUIStateType (MythUIType *parent, const char *name) | |
| ~MythUIStateType () | |
| void | SetShowEmpty (bool showempty) |
| bool | AddImage (const QString &name, MythImage *image) |
| bool | AddImage (StateType type, MythImage *image) |
| bool | AddObject (const QString &name, MythUIType *object) |
| bool | AddObject (StateType type, MythUIType *object) |
| bool | DisplayState (const QString &name) |
| bool | DisplayState (StateType type) |
| void | ClearImages () |
Protected Member Functions | |
| void | ClearMaps () |
| virtual bool | ParseElement (QDomElement &element) |
| virtual void | CopyFrom (MythUIType *base) |
| virtual void | CreateCopy (MythUIType *parent) |
| virtual void | Finalize (void) |
Protected Attributes | |
| QMap< QString, MythUIType * > | m_ObjectsByName |
| QMap< int, MythUIType * > | m_ObjectsByState |
| MythUIType * | m_CurrentState |
| bool | m_ShowEmpty |
| MythUIStateType::MythUIStateType | ( | MythUIType * | parent, | |
| const char * | name | |||
| ) |
| MythUIStateType::~MythUIStateType | ( | ) |
Definition at line 15 of file mythuistatetype.cpp.
| void MythUIStateType::SetShowEmpty | ( | bool | showempty | ) | [inline] |
Definition at line 21 of file mythuistatetype.h.
Referenced by MythThemedMenuPrivate::SetupUITypes().
Definition at line 19 of file mythuistatetype.cpp.
Referenced by MythThemedMenuPrivate::addButton(), MythUIButton::SetBackgroundImage(), MythUIButton::SetCheckImage(), and MythThemedMenuPrivate::SetupUITypes().
Definition at line 47 of file mythuistatetype.cpp.
| bool MythUIStateType::AddObject | ( | const QString & | name, | |
| MythUIType * | object | |||
| ) |
Definition at line 31 of file mythuistatetype.cpp.
Referenced by MythThemedMenuPrivate::addButton(), AddImage(), CopyFrom(), and ParseElement().
| bool MythUIStateType::AddObject | ( | StateType | type, | |
| MythUIType * | object | |||
| ) |
Definition at line 58 of file mythuistatetype.cpp.
| bool MythUIStateType::DisplayState | ( | const QString & | name | ) |
Definition at line 73 of file mythuistatetype.cpp.
Referenced by MythThemedMenuPrivate::addButton(), MythThemedMenuPrivate::gestureEvent(), MythThemedMenuPrivate::keyHandler(), MythUIButton::SelectState(), ThemedButton::SetActive(), MythUIButton::SetCheckState(), MythListButton::SetPositionArrowStates(), and MythThemedMenuPrivate::SetupUITypes().
Definition at line 97 of file mythuistatetype.cpp.
| void MythUIStateType::ClearImages | ( | ) |
Definition at line 141 of file mythuistatetype.cpp.
| void MythUIStateType::ClearMaps | ( | ) | [protected] |
| bool MythUIStateType::ParseElement | ( | QDomElement & | element | ) | [protected, virtual] |
| void MythUIStateType::CopyFrom | ( | MythUIType * | base | ) | [protected, virtual] |
Reimplemented from MythUIType.
Definition at line 191 of file mythuistatetype.cpp.
Referenced by CreateCopy().
| void MythUIStateType::CreateCopy | ( | MythUIType * | parent | ) | [protected, virtual] |
| void MythUIStateType::Finalize | ( | void | ) | [protected, virtual] |
QMap<QString, MythUIType *> MythUIStateType::m_ObjectsByName [protected] |
Definition at line 42 of file mythuistatetype.h.
Referenced by AddImage(), AddObject(), ClearMaps(), CopyFrom(), DisplayState(), and ParseElement().
QMap<int, MythUIType *> MythUIStateType::m_ObjectsByState [protected] |
Definition at line 43 of file mythuistatetype.h.
Referenced by AddImage(), AddObject(), ClearMaps(), CopyFrom(), DisplayState(), and ParseElement().
MythUIType* MythUIStateType::m_CurrentState [protected] |
Definition at line 45 of file mythuistatetype.h.
Referenced by ClearMaps(), DisplayState(), and MythUIStateType().
bool MythUIStateType::m_ShowEmpty [protected] |
Definition at line 47 of file mythuistatetype.h.
Referenced by CopyFrom(), DisplayState(), MythUIStateType(), ParseElement(), and SetShowEmpty().
1.5.5