UIImageType Class Reference

#include <uitypes.h>

Inheritance diagram for UIImageType:

UIType UIRepeatedImageType

List of all members.


Detailed Description

Definition at line 614 of file uitypes.h.


Public Slots

virtual void refresh ()

Public Member Functions

 UIImageType (const QString &, const QString &, int, QPoint)
 ~UIImageType ()
QPoint DisplayPos ()
void SetPosition (QPoint pos)
void SetFlex (bool flex)
void ResetFilename ()
void SetImage (QString file)
void SetImage (const QPixmap &imgdata)
void SetSize (int x, int y)
void SetSkip (int x, int y)
void ResetImage ()
void LoadImage ()
const QPixmap & GetImage ()
QSize GetSize (bool scaled=false)
virtual void Draw (QPainter *, int, int)
const QString & GetImageFilename () const

Protected Attributes

QPoint m_displaypos
QString orig_filename
QString m_filename
bool m_isvalid
bool m_flex
bool m_show
bool m_transparent
int m_drop_x
int m_drop_y
int m_force_x
int m_force_y
QPixmap img

Constructor & Destructor Documentation

UIImageType::UIImageType ( const QString &  name,
const QString &  filename,
int  dorder,
QPoint  displaypos 
)

Definition at line 1332 of file uitypes.cpp.

UIImageType::~UIImageType (  ) 

Definition at line 1351 of file uitypes.cpp.


Member Function Documentation

QPoint UIImageType::DisplayPos (  )  [inline]

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

Definition at line 623 of file uitypes.h.

Referenced by StaticImageScreen::prepareWidget().

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

Definition at line 625 of file uitypes.h.

Referenced by XMLParse::parseImage(), and XMLParse::parseRepeatedImage().

void UIImageType::ResetFilename (  )  [inline]

Definition at line 626 of file uitypes.h.

Referenced by PlaybackBox::showIconHelp().

void UIImageType::SetImage ( QString  file  )  [inline]

void UIImageType::SetImage ( const QPixmap &  imgdata  )  [inline]

Definition at line 628 of file uitypes.h.

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

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

Definition at line 630 of file uitypes.h.

Referenced by XMLParse::parseImage(), and XMLParse::parseRepeatedImage().

void UIImageType::ResetImage (  )  [inline]

void UIImageType::LoadImage (  ) 

const QPixmap& UIImageType::GetImage (  )  [inline]

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

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

Reimplemented from UIType.

Reimplemented in UIRepeatedImageType.

Definition at line 1454 of file uitypes.cpp.

const QString& UIImageType::GetImageFilename (  )  const [inline]

Definition at line 644 of file uitypes.h.

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


Member Data Documentation

QPoint UIImageType::m_displaypos [protected]

QString UIImageType::orig_filename [protected]

Definition at line 660 of file uitypes.h.

Referenced by UIImageType().

QString UIImageType::m_filename [protected]

Definition at line 661 of file uitypes.h.

Referenced by LoadImage(), and UIImageType().

Definition at line 662 of file uitypes.h.

Referenced by UIImageType().

Definition at line 663 of file uitypes.h.

Referenced by LoadImage(), and UIImageType().

Definition at line 664 of file uitypes.h.

Referenced by UIRepeatedImageType::Draw(), Draw(), LoadImage(), and UIImageType().

Definition at line 665 of file uitypes.h.

Referenced by LoadImage(), and UIImageType().

int UIImageType::m_drop_x [protected]

Definition at line 666 of file uitypes.h.

Referenced by UIRepeatedImageType::Draw(), Draw(), and UIImageType().

int UIImageType::m_drop_y [protected]

Definition at line 667 of file uitypes.h.

Referenced by UIRepeatedImageType::Draw(), Draw(), and UIImageType().

int UIImageType::m_force_x [protected]

Definition at line 668 of file uitypes.h.

Referenced by LoadImage(), and UIImageType().

int UIImageType::m_force_y [protected]

Definition at line 669 of file uitypes.h.

Referenced by LoadImage(), and UIImageType().

QPixmap UIImageType::img [protected]


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