MythUIAnimation Class Reference

#include <mythuianimation.h>

Inheritance diagram for MythUIAnimation:
XMLParseBase

List of all members.

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 &centre)
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

MythUITypem_parent
Type m_type
Trigger m_trigger
UIEffects::Centre m_centre
QVariant m_value
bool m_active
bool m_looped
bool m_reversible

Detailed Description

Definition at line 41 of file mythuianimation.h.


Member Enumeration Documentation

Enumerator:
Alpha 
Position 
Zoom 
HorizontalZoom 
VerticalZoom 
Angle 

Definition at line 44 of file mythuianimation.h.

Enumerator:
AboutToHide 
AboutToShow 

Definition at line 45 of file mythuianimation.h.


Constructor & Destructor Documentation

MythUIAnimation::MythUIAnimation ( MythUIType parent = NULL,
Trigger  trigger = AboutToShow,
Type  type = Alpha 
)

Definition at line 7 of file mythuianimation.cpp.

Referenced by ParseSection().


Member Function Documentation

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().


Member Data Documentation

Definition at line 77 of file mythuianimation.h.

Referenced by updateCurrentValue().

Definition at line 78 of file mythuianimation.h.

Referenced by CopyFrom(), and updateCurrentValue().

Definition at line 79 of file mythuianimation.h.

Referenced by CopyFrom(), and GetTrigger().

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().

Definition at line 82 of file mythuianimation.h.

Referenced by Activate(), IncrementCurrentTime(), IsActive(), and updateCurrentValue().

Definition at line 83 of file mythuianimation.h.

Referenced by CopyFrom(), IncrementCurrentTime(), and SetLooped().

Definition at line 84 of file mythuianimation.h.

Referenced by CopyFrom(), IncrementCurrentTime(), and SetReversible().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends
Generated on Mon May 28 06:42:17 2012 for MythTV by  doxygen 1.6.3