#include <mythuianimation.h>
Public Types | |
| enum | Type { Alpha, Position, Zoom, HorizontalZoom, VerticalZoom, Angle } |
| enum | Trigger { AboutToHide, AboutToShow } |
Public Member Functions | |
| MythUIAnimation (MythUIType *parent=NULL, Trigger trigger=AboutToShow, Type type=Alpha) | |
| void | Activate (void) |
| void | CopyFrom (const MythUIAnimation *animation) |
| Trigger | GetTrigger (void) const |
| QVariant | Value () const |
| bool | IsActive () const |
| virtual void | updateCurrentValue (const QVariant &value) |
| void | IncrementCurrentTime (void) |
| void | SetEasingCurve (const QString &curve) |
| void | SetCentre (const QString ¢re) |
| void | SetLooped (bool looped) |
| void | SetReversible (bool rev) |
Static Public Member Functions | |
| static void | ParseElement (const QDomElement &element, MythUIType *parent) |
Static Private Member Functions | |
| static void | ParseSection (const QDomElement &element, MythUIType *parent, Trigger trigger) |
| static void | parseAlpha (const QDomElement &element, QVariant &startValue, QVariant &endValue) |
| static void | parsePosition (const QDomElement &element, QVariant &startValue, QVariant &endValue, MythUIType *parent) |
| static void | parseZoom (const QDomElement &element, QVariant &startValue, QVariant &endValue) |
| static void | parseAngle (const QDomElement &element, QVariant &startValue, QVariant &endValue) |
Private Attributes | |
| MythUIType * | m_parent |
| Type | m_type |
| Trigger | m_trigger |
| UIEffects::Centre | m_centre |
| QVariant | m_value |
| bool | m_active |
| bool | m_looped |
| bool | m_reversible |
Definition at line 41 of file mythuianimation.h.
Definition at line 44 of file mythuianimation.h.
Definition at line 45 of file mythuianimation.h.
| MythUIAnimation::MythUIAnimation | ( | MythUIType * | parent = NULL, |
|
| Trigger | trigger = AboutToShow, |
|||
| Type | type = Alpha | |||
| ) |
Definition at line 7 of file mythuianimation.cpp.
Referenced by ParseSection().
| void MythUIAnimation::Activate | ( | void | ) |
Definition at line 14 of file mythuianimation.cpp.
Referenced by MythUIType::ActivateAnimations(), and MythUIWebBrowser::Scroll().
| void MythUIAnimation::CopyFrom | ( | const MythUIAnimation * | animation | ) |
Definition at line 45 of file mythuianimation.cpp.
Referenced by MythUIType::CopyFrom().
| Trigger MythUIAnimation::GetTrigger | ( | void | ) | const [inline] |
Definition at line 51 of file mythuianimation.h.
Referenced by MythUIType::ActivateAnimations().
| QVariant MythUIAnimation::Value | ( | ) | const [inline] |
Definition at line 52 of file mythuianimation.h.
| bool MythUIAnimation::IsActive | ( | ) | const [inline] |
Definition at line 53 of file mythuianimation.h.
Referenced by MythUIWebBrowser::Pulse().
| void MythUIAnimation::updateCurrentValue | ( | const QVariant & | value | ) | [virtual] |
Definition at line 20 of file mythuianimation.cpp.
| void MythUIAnimation::IncrementCurrentTime | ( | void | ) |
Definition at line 62 of file mythuianimation.cpp.
Referenced by MythUIWebBrowser::Pulse().
| void MythUIAnimation::SetEasingCurve | ( | const QString & | curve | ) |
Definition at line 97 of file mythuianimation.cpp.
Referenced by ParseSection().
| void MythUIAnimation::SetCentre | ( | const QString & | centre | ) |
Definition at line 146 of file mythuianimation.cpp.
Referenced by ParseSection().
| void MythUIAnimation::SetLooped | ( | bool | looped | ) | [inline] |
Definition at line 60 of file mythuianimation.h.
Referenced by ParseSection().
| void MythUIAnimation::SetReversible | ( | bool | rev | ) | [inline] |
Definition at line 61 of file mythuianimation.h.
Referenced by ParseSection().
| void MythUIAnimation::ParseElement | ( | const QDomElement & | element, | |
| MythUIType * | parent | |||
| ) | [static] |
Definition at line 159 of file mythuianimation.cpp.
| void MythUIAnimation::ParseSection | ( | const QDomElement & | element, | |
| MythUIType * | parent, | |||
| Trigger | trigger | |||
| ) | [static, private] |
Definition at line 178 of file mythuianimation.cpp.
Referenced by ParseElement().
| void MythUIAnimation::parseAlpha | ( | const QDomElement & | element, | |
| QVariant & | startValue, | |||
| QVariant & | endValue | |||
| ) | [static, private] |
Definition at line 251 of file mythuianimation.cpp.
Referenced by ParseSection().
| void MythUIAnimation::parsePosition | ( | const QDomElement & | element, | |
| QVariant & | startValue, | |||
| QVariant & | endValue, | |||
| MythUIType * | parent | |||
| ) | [static, private] |
Definition at line 258 of file mythuianimation.cpp.
Referenced by ParseSection().
| void MythUIAnimation::parseZoom | ( | const QDomElement & | element, | |
| QVariant & | startValue, | |||
| QVariant & | endValue | |||
| ) | [static, private] |
Definition at line 286 of file mythuianimation.cpp.
Referenced by ParseSection().
| void MythUIAnimation::parseAngle | ( | const QDomElement & | element, | |
| QVariant & | startValue, | |||
| QVariant & | endValue | |||
| ) | [static, private] |
Definition at line 293 of file mythuianimation.cpp.
Referenced by ParseSection().
MythUIType* MythUIAnimation::m_parent [private] |
Definition at line 77 of file mythuianimation.h.
Referenced by updateCurrentValue().
Type MythUIAnimation::m_type [private] |
Definition at line 78 of file mythuianimation.h.
Referenced by CopyFrom(), and updateCurrentValue().
Trigger MythUIAnimation::m_trigger [private] |
Definition at line 79 of file mythuianimation.h.
Referenced by CopyFrom(), and GetTrigger().
UIEffects::Centre MythUIAnimation::m_centre [private] |
Definition at line 80 of file mythuianimation.h.
Referenced by CopyFrom(), SetCentre(), and updateCurrentValue().
QVariant MythUIAnimation::m_value [private] |
Definition at line 81 of file mythuianimation.h.
Referenced by CopyFrom(), updateCurrentValue(), and Value().
bool MythUIAnimation::m_active [private] |
Definition at line 82 of file mythuianimation.h.
Referenced by Activate(), IncrementCurrentTime(), IsActive(), and updateCurrentValue().
bool MythUIAnimation::m_looped [private] |
Definition at line 83 of file mythuianimation.h.
Referenced by CopyFrom(), IncrementCurrentTime(), and SetLooped().
bool MythUIAnimation::m_reversible [private] |
Definition at line 84 of file mythuianimation.h.
Referenced by CopyFrom(), IncrementCurrentTime(), and SetReversible().
1.6.3