MythUIImage Class Reference

#include <mythuiimage.h>

Inheritance diagram for MythUIImage:

MythUIType XMLParseBase

List of all members.


Detailed Description

Definition at line 13 of file mythuiimage.h.


Public Member Functions

 MythUIImage (const QString &filepattern, int low, int high, int delayms, MythUIType *parent, const char *name)
 MythUIImage (const QString &filename, MythUIType *parent, const char *name)
 MythUIImage (MythUIType *parent, const char *name)
 ~MythUIImage ()
void SetFilename (const QString &filename)
void SetFilepattern (const QString &filepattern, int low, int high)
void SetDelay (int delayms)
void ResetFilename ()
void SetImage (MythImage *img)
void SetImages (QValueVector< MythImage * > &images)
void SetSize (int width, int height)
void SetSkip (int x, int y)
void Reset (void)
void Load (void)
virtual void Pulse (void)

Protected Member Functions

virtual void DrawSelf (MythPainter *p, int xoffset, int yoffset, int alphaMod, QRect clipRect)
void Init (void)
void Clear (void)
virtual bool ParseElement (QDomElement &element)
virtual void CopyFrom (MythUIType *base)
virtual void CreateCopy (MythUIType *parent)
virtual void Finalize (void)

Protected Attributes

QString m_Filename
QString m_OrigFilename
QValueVector< MythImage * > m_Images
QPoint m_Skip
QSize m_ForceSize
int m_Delay
int m_LowNum
int m_HighNum
unsigned int m_CurPos
QTime m_LastDisplay
bool m_NeedLoad

Constructor & Destructor Documentation

MythUIImage::MythUIImage ( const QString &  filepattern,
int  low,
int  high,
int  delayms,
MythUIType parent,
const char *  name 
)

Definition at line 12 of file mythuiimage.cpp.

Referenced by CreateCopy().

MythUIImage::MythUIImage ( const QString &  filename,
MythUIType parent,
const char *  name 
)

Definition at line 26 of file mythuiimage.cpp.

MythUIImage::MythUIImage ( MythUIType parent,
const char *  name 
)

Definition at line 40 of file mythuiimage.cpp.

MythUIImage::~MythUIImage (  ) 

Definition at line 50 of file mythuiimage.cpp.


Member Function Documentation

void MythUIImage::SetFilename ( const QString &  filename  ) 

Definition at line 73 of file mythuiimage.cpp.

void MythUIImage::SetFilepattern ( const QString &  filepattern,
int  low,
int  high 
)

Definition at line 78 of file mythuiimage.cpp.

void MythUIImage::SetDelay ( int  delayms  ) 

Definition at line 86 of file mythuiimage.cpp.

void MythUIImage::ResetFilename ( void   ) 

Definition at line 93 of file mythuiimage.cpp.

void MythUIImage::SetImage ( MythImage img  ) 

void MythUIImage::SetImages ( QValueVector< MythImage * > &  images  ) 

Definition at line 110 of file mythuiimage.cpp.

Referenced by CopyFrom().

void MythUIImage::SetSize ( int  width,
int  height 
)

Definition at line 129 of file mythuiimage.cpp.

Referenced by MythThemeBase::Init(), and MythThemeBase::Reload().

void MythUIImage::SetSkip ( int  x,
int  y 
)

Definition at line 134 of file mythuiimage.cpp.

void MythUIImage::Reset ( void   ) 

Definition at line 176 of file mythuiimage.cpp.

void MythUIImage::Load ( void   ) 

void MythUIImage::Pulse ( void   )  [virtual]

Reimplemented from MythUIType.

Definition at line 181 of file mythuiimage.cpp.

void MythUIImage::DrawSelf ( MythPainter p,
int  xoffset,
int  yoffset,
int  alphaMod,
QRect  clipRect 
) [protected, virtual]

Reimplemented from MythUIType.

Definition at line 197 of file mythuiimage.cpp.

void MythUIImage::Init ( void   )  [protected]

Definition at line 64 of file mythuiimage.cpp.

Referenced by MythUIImage().

void MythUIImage::Clear ( void   )  [protected]

Definition at line 55 of file mythuiimage.cpp.

Referenced by Load(), Reset(), SetImage(), SetImages(), and ~MythUIImage().

bool MythUIImage::ParseElement ( QDomElement &  element  )  [protected, virtual]

Reimplemented from MythUIType.

Definition at line 217 of file mythuiimage.cpp.

void MythUIImage::CopyFrom ( MythUIType base  )  [protected, virtual]

Reimplemented from MythUIType.

Definition at line 244 of file mythuiimage.cpp.

Referenced by CreateCopy().

void MythUIImage::CreateCopy ( MythUIType parent  )  [protected, virtual]

Reimplemented from MythUIType.

Definition at line 271 of file mythuiimage.cpp.

void MythUIImage::Finalize ( void   )  [protected, virtual]

Reimplemented from MythUIType.

Definition at line 277 of file mythuiimage.cpp.


Member Data Documentation

QString MythUIImage::m_Filename [protected]

QString MythUIImage::m_OrigFilename [protected]

Definition at line 55 of file mythuiimage.h.

Referenced by CopyFrom(), MythUIImage(), ParseElement(), and ResetFilename().

QValueVector<MythImage *> MythUIImage::m_Images [protected]

Definition at line 57 of file mythuiimage.h.

Referenced by Clear(), CopyFrom(), DrawSelf(), Load(), Pulse(), SetImage(), and SetImages().

QPoint MythUIImage::m_Skip [protected]

Definition at line 59 of file mythuiimage.h.

Referenced by CopyFrom(), DrawSelf(), Init(), ParseElement(), and SetSkip().

QSize MythUIImage::m_ForceSize [protected]

Definition at line 60 of file mythuiimage.h.

Referenced by CopyFrom(), Init(), Load(), ParseElement(), and SetSize().

int MythUIImage::m_Delay [protected]

Definition at line 62 of file mythuiimage.h.

Referenced by CopyFrom(), MythUIImage(), ParseElement(), Pulse(), SetDelay(), and SetImage().

int MythUIImage::m_LowNum [protected]

Definition at line 63 of file mythuiimage.h.

Referenced by CopyFrom(), Load(), MythUIImage(), ParseElement(), and SetFilepattern().

int MythUIImage::m_HighNum [protected]

Definition at line 64 of file mythuiimage.h.

Referenced by CopyFrom(), Load(), MythUIImage(), ParseElement(), and SetFilepattern().

unsigned int MythUIImage::m_CurPos [protected]

Definition at line 66 of file mythuiimage.h.

Referenced by CopyFrom(), DrawSelf(), Init(), Pulse(), SetDelay(), SetImage(), and SetImages().

QTime MythUIImage::m_LastDisplay [protected]

Definition at line 67 of file mythuiimage.h.

Referenced by CopyFrom(), Init(), Load(), Pulse(), and SetDelay().

Definition at line 69 of file mythuiimage.h.

Referenced by Finalize(), and ParseElement().


The documentation for this class was generated from the following files:

Generated on Sat Dec 18 05:16:08 2010 for MythTV by  doxygen 1.5.5