UIAnimatedImageType Class Reference

#include <uitypes.h>

Inheritance diagram for UIAnimatedImageType:

UIType

List of all members.


Detailed Description

Definition at line 674 of file uitypes.h.


Public Slots

void refresh ()
void IntervalTimeout ()

Public Member Functions

 UIAnimatedImageType (const QString &, const QString &, int, int, int, int, QPoint)
 ~UIAnimatedImageType ()
QPoint DisplayPos ()
void SetPosition (QPoint pos)
void SetFlex (bool flex)
void SetFilename (QString file)
void SetSize (int x, int y)
void SetSkip (int x, int y)
void SetImageCount (int count)
int GetImageCount ()
void SetInterval (int interval)
int GetInterval ()
void SetStartInterval (int interval)
int GetStartInterval ()
void SetWindow (MythDialog *win)
void LoadImages ()
void Pause ()
void UnPause ()
bool IsPaused ()
void NextImage ()
void PreviousImage ()
void GotoFirstImage ()
QSize GetSize (bool scaled=false)
virtual void Draw (QPainter *, int, int)

Protected Member Functions

void InitImageCache ()
void ClearImages ()
bool LoadImage (int imageNo)

Protected Attributes

QPoint m_displaypos
QString orig_filename
QString m_filename
bool m_isvalid
bool m_flex
bool m_show
int m_drop_x
int m_drop_y
int m_force_x
int m_force_y
int m_imagecount
int m_currentimage
int m_interval
int m_startinterval
vector< QPixmap * > * imageList
QTimer timer
MythDialogm_window

Constructor & Destructor Documentation

UIAnimatedImageType::UIAnimatedImageType ( const QString &  name,
const QString &  filename,
int  imagecount,
int  interval,
int  startinterval,
int  dorder,
QPoint  displaypos 
)

Definition at line 1523 of file uitypes.cpp.

UIAnimatedImageType::~UIAnimatedImageType (  ) 

Definition at line 1553 of file uitypes.cpp.


Member Function Documentation

QPoint UIAnimatedImageType::DisplayPos (  )  [inline]

Definition at line 682 of file uitypes.h.

Referenced by AnimatedImageScreen::prepareWidget().

void UIAnimatedImageType::SetPosition ( QPoint  pos  )  [inline]

Definition at line 683 of file uitypes.h.

Referenced by AnimatedImageScreen::prepareWidget().

void UIAnimatedImageType::SetFlex ( bool  flex  )  [inline]

Definition at line 685 of file uitypes.h.

Referenced by XMLParse::parseAnimatedImage().

void UIAnimatedImageType::SetFilename ( QString  file  )  [inline]

Definition at line 686 of file uitypes.h.

void UIAnimatedImageType::SetSize ( int  x,
int  y 
) [inline]

Definition at line 687 of file uitypes.h.

Referenced by XMLParse::parseAnimatedImage(), and AnimatedImageScreen::prepareWidget().

void UIAnimatedImageType::SetSkip ( int  x,
int  y 
) [inline]

Definition at line 688 of file uitypes.h.

Referenced by XMLParse::parseAnimatedImage().

void UIAnimatedImageType::SetImageCount ( int  count  ) 

Definition at line 1761 of file uitypes.cpp.

Referenced by AnimatedImageScreen::prepareWidget().

int UIAnimatedImageType::GetImageCount (  )  [inline]

Definition at line 690 of file uitypes.h.

void UIAnimatedImageType::SetInterval ( int  interval  )  [inline]

Definition at line 691 of file uitypes.h.

int UIAnimatedImageType::GetInterval (  )  [inline]

Definition at line 692 of file uitypes.h.

void UIAnimatedImageType::SetStartInterval ( int  interval  )  [inline]

Definition at line 693 of file uitypes.h.

int UIAnimatedImageType::GetStartInterval (  )  [inline]

Definition at line 694 of file uitypes.h.

void UIAnimatedImageType::SetWindow ( MythDialog win  )  [inline]

Definition at line 695 of file uitypes.h.

void UIAnimatedImageType::LoadImages (  ) 

void UIAnimatedImageType::Pause ( void   ) 

Definition at line 1726 of file uitypes.cpp.

Referenced by WeatherScreen::pause_animation().

void UIAnimatedImageType::UnPause (  ) 

Definition at line 1731 of file uitypes.cpp.

Referenced by WeatherScreen::unpause_animation().

bool UIAnimatedImageType::IsPaused (  )  [inline]

Definition at line 699 of file uitypes.h.

void UIAnimatedImageType::NextImage (  ) 

Definition at line 1737 of file uitypes.cpp.

void UIAnimatedImageType::PreviousImage (  ) 

Definition at line 1749 of file uitypes.cpp.

void UIAnimatedImageType::GotoFirstImage (  )  [inline]

Definition at line 702 of file uitypes.h.

Referenced by WeatherScreen::unpause_animation().

QSize UIAnimatedImageType::GetSize ( bool  scaled = false  )  [inline]

Definition at line 703 of file uitypes.h.

Referenced by AnimatedImageScreen::prepareWidget().

void UIAnimatedImageType::Draw ( QPainter *  dr,
int  drawlayer,
int  context 
) [virtual]

Reimplemented from UIType.

Definition at line 1664 of file uitypes.cpp.

void UIAnimatedImageType::refresh (  )  [virtual, slot]

Reimplemented from UIType.

Definition at line 1687 of file uitypes.cpp.

Referenced by IntervalTimeout(), LoadImages(), NextImage(), and PreviousImage().

void UIAnimatedImageType::IntervalTimeout (  )  [slot]

Definition at line 1711 of file uitypes.cpp.

Referenced by UIAnimatedImageType().

void UIAnimatedImageType::InitImageCache (  )  [protected]

Definition at line 1559 of file uitypes.cpp.

Referenced by LoadImages(), SetImageCount(), and UIAnimatedImageType().

void UIAnimatedImageType::ClearImages (  )  [protected]

Definition at line 1571 of file uitypes.cpp.

Referenced by InitImageCache(), and ~UIAnimatedImageType().

bool UIAnimatedImageType::LoadImage ( int  imageNo  )  [protected]

Definition at line 1601 of file uitypes.cpp.

Referenced by LoadImages().


Member Data Documentation

Definition at line 721 of file uitypes.h.

Referenced by Draw(), refresh(), and UIAnimatedImageType().

Definition at line 722 of file uitypes.h.

Referenced by UIAnimatedImageType().

QString UIAnimatedImageType::m_filename [protected]

Definition at line 723 of file uitypes.h.

Referenced by LoadImage(), and UIAnimatedImageType().

Definition at line 724 of file uitypes.h.

Referenced by UIAnimatedImageType().

Definition at line 725 of file uitypes.h.

Referenced by UIAnimatedImageType().

Definition at line 726 of file uitypes.h.

Referenced by UIAnimatedImageType().

Definition at line 727 of file uitypes.h.

Referenced by Draw(), and UIAnimatedImageType().

Definition at line 728 of file uitypes.h.

Referenced by Draw(), and UIAnimatedImageType().

Definition at line 729 of file uitypes.h.

Referenced by LoadImage(), and UIAnimatedImageType().

Definition at line 730 of file uitypes.h.

Referenced by LoadImage(), and UIAnimatedImageType().

Definition at line 731 of file uitypes.h.

Referenced by LoadImage(), LoadImages(), SetImageCount(), and UIAnimatedImageType().

Definition at line 732 of file uitypes.h.

Referenced by Draw(), IntervalTimeout(), NextImage(), PreviousImage(), and UIAnimatedImageType().

Definition at line 733 of file uitypes.h.

Referenced by IntervalTimeout(), UIAnimatedImageType(), and UnPause().

Definition at line 734 of file uitypes.h.

Referenced by IntervalTimeout(), and UIAnimatedImageType().

vector<QPixmap *>* UIAnimatedImageType::imageList [protected]

QTimer UIAnimatedImageType::timer [protected]

Definition at line 737 of file uitypes.h.

Referenced by refresh(), and UIAnimatedImageType().


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

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