MythTV  0.26-pre
Public Member Functions | Private Attributes
LayerSet Class Reference

#include <uitypes.h>

List of all members.

Public Member Functions

 LayerSet (const QString &name)
 ~LayerSet ()
void Draw (QPainter *, int, int)
void DrawRegion (QPainter *, QRect &, int, int)
QString GetName ()
void SetName (const QString &name)
void SetDrawOrder (int order)
int GetDrawOrder () const
void SetAreaRect (QRect area)
QRect GetAreaRect ()
void SetContext (int con)
int GetContext (void)
void SetDebug (bool db)
void bumpUpLayers (int a_number)
int getLayers ()
void AddType (UIType *)
UITypeGetType (const QString &name)
vector< UIType * > * getAllTypes ()
void SetDrawFontShadow (bool state)

Private Attributes

bool m_debug
int m_context
int m_order
QString m_name
QRect m_area
int numb_layers
QMap< QString, UIType * > typeList
vector< UIType * > * allTypes

Detailed Description

Definition at line 34 of file uitypes.h.


Constructor & Destructor Documentation

LayerSet::LayerSet ( const QString &  name)

Definition at line 31 of file uitypes.cpp.

Definition at line 41 of file uitypes.cpp.


Member Function Documentation

void LayerSet::Draw ( QPainter *  dr,
int  drawlayer,
int  context 
)
void LayerSet::DrawRegion ( QPainter *  dr,
QRect &  area,
int  drawlayer,
int  context 
)

Definition at line 94 of file uitypes.cpp.

QString LayerSet::GetName ( ) [inline]

Definition at line 43 of file uitypes.h.

Referenced by MythThemedDialog::UpdateForegroundRect().

void LayerSet::SetName ( const QString &  name) [inline]

Definition at line 44 of file uitypes.h.

void LayerSet::SetDrawOrder ( int  order) [inline]

Definition at line 46 of file uitypes.h.

int LayerSet::GetDrawOrder ( ) const [inline]

Definition at line 47 of file uitypes.h.

void LayerSet::SetAreaRect ( QRect  area) [inline]

Definition at line 49 of file uitypes.h.

Referenced by XMLParse::parseContainer().

QRect LayerSet::GetAreaRect ( ) [inline]
void LayerSet::SetContext ( int  con) [inline]

Definition at line 52 of file uitypes.h.

Referenced by XMLParse::parseContainer().

int LayerSet::GetContext ( void  ) [inline]

Definition at line 53 of file uitypes.h.

Referenced by MythThemedDialog::UpdateForegroundRect().

void LayerSet::SetDebug ( bool  db) [inline]

Definition at line 55 of file uitypes.h.

Referenced by XMLParse::parseContainer().

Definition at line 71 of file uitypes.cpp.

Referenced by AddType(), and UIType::SetOrder().

int LayerSet::getLayers ( ) [inline]

Definition at line 57 of file uitypes.h.

Referenced by MythThemedDialog::UpdateForegroundRect().

Definition at line 53 of file uitypes.cpp.

Referenced by XMLParse::parseKey(), and XMLParse::parseKeyboard().

UIType * LayerSet::GetType ( const QString &  name)

Definition at line 62 of file uitypes.cpp.

vector<UIType *>* LayerSet::getAllTypes ( ) [inline]

Definition at line 109 of file uitypes.cpp.


Member Data Documentation

Definition at line 67 of file uitypes.h.

Referenced by AddType(), Draw(), and DrawRegion().

Definition at line 68 of file uitypes.h.

Referenced by Draw(), and DrawRegion().

Definition at line 69 of file uitypes.h.

QString LayerSet::m_name [private]

Definition at line 70 of file uitypes.h.

QRect LayerSet::m_area [private]

Definition at line 71 of file uitypes.h.

Definition at line 72 of file uitypes.h.

Referenced by bumpUpLayers().

QMap<QString, UIType *> LayerSet::typeList [private]

Definition at line 74 of file uitypes.h.

Referenced by AddType(), and GetType().

vector<UIType *>* LayerSet::allTypes [private]

Definition at line 75 of file uitypes.h.

Referenced by AddType(), Draw(), DrawRegion(), SetDrawFontShadow(), and ~LayerSet().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends