MythQtPainter Class Reference

#include <mythpainter_qt.h>

Inheritance diagram for MythQtPainter:
MythPainter

List of all members.

Public Member Functions

 MythQtPainter ()
 ~MythQtPainter ()
virtual QString GetName (void)
virtual bool SupportsAnimation (void)
virtual bool SupportsAlpha (void)
virtual bool SupportsClipping (void)
virtual void Begin (QPaintDevice *parent)
virtual void End ()
virtual void SetClipRect (const QRect &clipRect)
virtual void DrawImage (const QRect &dest, MythImage *im, const QRect &src, int alpha)

Protected Member Functions

virtual MythImageGetFormatImagePriv (void)
virtual void DeleteFormatImagePriv (MythImage *im)
void DeletePixmaps (void)

Protected Attributes

QPainter * painter
QRegion clipRegion
std::list< QPixmap * > m_imageDeleteList
QMutex m_imageDeleteLock

Detailed Description

Definition at line 13 of file mythpainter_qt.h.


Constructor & Destructor Documentation

MythQtPainter::MythQtPainter (  ) 

Definition at line 55 of file mythpainter_qt.cpp.

MythQtPainter::~MythQtPainter (  ) 

Definition at line 61 of file mythpainter_qt.cpp.


Member Function Documentation

virtual QString MythQtPainter::GetName ( void   )  [inline, virtual]

Implements MythPainter.

Definition at line 19 of file mythpainter_qt.h.

virtual bool MythQtPainter::SupportsAnimation ( void   )  [inline, virtual]

Implements MythPainter.

Definition at line 20 of file mythpainter_qt.h.

virtual bool MythQtPainter::SupportsAlpha ( void   )  [inline, virtual]

Implements MythPainter.

Definition at line 21 of file mythpainter_qt.h.

virtual bool MythQtPainter::SupportsClipping ( void   )  [inline, virtual]

Implements MythPainter.

Definition at line 22 of file mythpainter_qt.h.

void MythQtPainter::Begin ( QPaintDevice *  parent  )  [virtual]

Reimplemented from MythPainter.

Definition at line 77 of file mythpainter_qt.cpp.

void MythQtPainter::End ( void   )  [virtual]

Reimplemented from MythPainter.

Definition at line 94 of file mythpainter_qt.cpp.

void MythQtPainter::SetClipRect ( const QRect &  clipRect  )  [virtual]

Reimplemented from MythPainter.

Definition at line 102 of file mythpainter_qt.cpp.

void MythQtPainter::DrawImage ( const QRect &  dest,
MythImage im,
const QRect &  src,
int  alpha 
) [virtual]

Implements MythPainter.

Definition at line 117 of file mythpainter_qt.cpp.

MythImage * MythQtPainter::GetFormatImagePriv ( void   )  [protected, virtual]

Implements MythPainter.

Definition at line 137 of file mythpainter_qt.cpp.

void MythQtPainter::DeleteFormatImagePriv ( MythImage im  )  [protected, virtual]

Implements MythPainter.

Definition at line 142 of file mythpainter_qt.cpp.

void MythQtPainter::DeletePixmaps ( void   )  [protected]

Definition at line 66 of file mythpainter_qt.cpp.

Referenced by Begin(), and ~MythQtPainter().


Member Data Documentation

QPainter* MythQtPainter::painter [protected]

Definition at line 38 of file mythpainter_qt.h.

Referenced by Begin(), DrawImage(), End(), and SetClipRect().

QRegion MythQtPainter::clipRegion [protected]

Definition at line 39 of file mythpainter_qt.h.

Referenced by Begin(), and SetClipRect().

std::list<QPixmap *> MythQtPainter::m_imageDeleteList [protected]

Definition at line 41 of file mythpainter_qt.h.

Referenced by DeleteFormatImagePriv(), and DeletePixmaps().

Definition at line 42 of file mythpainter_qt.h.

Referenced by DeleteFormatImagePriv(), and DeletePixmaps().


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