UIGuideType Class Reference

#include <uitypes.h>

Inheritance diagram for UIGuideType:

UIType

List of all members.


Detailed Description

Definition at line 229 of file uitypes.h.


Public Types

enum  FillType { Alpha = 10, Dense, Eco, Solid }

Public Member Functions

 UIGuideType (const QString &name, int order)
 ~UIGuideType ()
void Draw (QPainter *dr, int drawlayer, int context)
void SetJustification (int jst)
void SetCutDown (bool state)
void SetFont (fontProp *font)
void SetFillType (int type)
void SetShowCategoryColors (bool state)
void SetShowCategoryText (bool state)
void SetSelectorType (int type)
void SetNumRows (int numRows)
void SetWindow (MythDialog *win)
void SetRecordingColors (const QString &reccol, const QString &concol)
void SetSelectorColor (const QString &col)
void SetSolidColor (const QString &col)
void SetCategoryColors (const QMap< QString, QString > &catColors)
void SetArea (const QRect &area)
void SetScreenLocation (const QPoint &sl)
void SetTextOffset (const QPoint &to)
void SetArrow (int, const QString &file)
void LoadImage (int, const QString &file)
void SetProgramInfo (int row, int col, const QRect &area, const QString &title, const QString &category, int arrow, int recType, int recStat, bool selected)
void ResetData ()
void ResetRow (int row)
void SetProgPast (int ppast)

Private Member Functions

void drawBackground (QPainter *dr, UIGTCon *data)
void drawBox (QPainter *dr, UIGTCon *data, const QColor &color)
void drawText (QPainter *dr, UIGTCon *data)
void drawRecType (QPainter *dr, UIGTCon *data)
void drawCurrent (QPainter *dr, UIGTCon *data)

Private Attributes

QPtrList< UIGTCon > * allData
UIGTCon selectedItem
QPixmap recImages [15]
QPixmap arrowImages [15]
int maxRows
int numRows
MythDialogwindow
QRect area
QPoint textoffset
QPoint screenloc
int justification
bool multilineText
fontPropfont
QColor solidcolor
QColor selcolor
int seltype
QColor reccolor
QColor concolor
int filltype
bool cutdown
bool drawCategoryColors
bool drawCategoryText
QMap< QString, QColor > categoryColors
AlphaBlender alphaBlender
int prog_past_col

Classes

class  UIGTCon

Member Enumeration Documentation

Enumerator:
Alpha 
Dense 
Eco 
Solid 

Definition at line 235 of file uitypes.h.


Constructor & Destructor Documentation

UIGuideType::UIGuideType ( const QString &  name,
int  order 
)

Definition at line 583 of file uitypes.cpp.

UIGuideType::~UIGuideType (  ) 

Definition at line 612 of file uitypes.cpp.


Member Function Documentation

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

Reimplemented from UIType.

Definition at line 623 of file uitypes.cpp.

void UIGuideType::SetJustification ( int  jst  ) 

Definition at line 617 of file uitypes.cpp.

Referenced by XMLParse::parseGuideGrid(), and UIGuideType().

void UIGuideType::SetCutDown ( bool  state  )  [inline]

Definition at line 240 of file uitypes.h.

Referenced by XMLParse::parseGuideGrid().

void UIGuideType::SetFont ( fontProp font  )  [inline]

Definition at line 241 of file uitypes.h.

Referenced by XMLParse::parseGuideGrid().

void UIGuideType::SetFillType ( int  type  )  [inline]

Definition at line 242 of file uitypes.h.

Referenced by GuideGrid::GuideGrid().

void UIGuideType::SetShowCategoryColors ( bool  state  )  [inline]

Definition at line 243 of file uitypes.h.

Referenced by GuideGrid::GuideGrid().

void UIGuideType::SetShowCategoryText ( bool  state  )  [inline]

Definition at line 244 of file uitypes.h.

Referenced by GuideGrid::GuideGrid().

void UIGuideType::SetSelectorType ( int  type  )  [inline]

Definition at line 245 of file uitypes.h.

Referenced by XMLParse::parseGuideGrid().

void UIGuideType::SetNumRows ( int  numRows  )  [inline]

Definition at line 246 of file uitypes.h.

Referenced by GuideGrid::fillProgramInfos().

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

Definition at line 247 of file uitypes.h.

Referenced by GuideGrid::fillProgramInfos().

void UIGuideType::SetRecordingColors ( const QString &  reccol,
const QString &  concol 
) [inline]

Definition at line 249 of file uitypes.h.

Referenced by XMLParse::parseGuideGrid().

void UIGuideType::SetSelectorColor ( const QString &  col  )  [inline]

Definition at line 251 of file uitypes.h.

Referenced by XMLParse::parseGuideGrid().

void UIGuideType::SetSolidColor ( const QString &  col  )  [inline]

Definition at line 252 of file uitypes.h.

Referenced by XMLParse::parseGuideGrid().

void UIGuideType::SetCategoryColors ( const QMap< QString, QString > &  catColors  ) 

Definition at line 884 of file uitypes.cpp.

Referenced by XMLParse::parseGuideGrid().

void UIGuideType::SetArea ( const QRect &  area  )  [inline]

Definition at line 255 of file uitypes.h.

Referenced by XMLParse::parseGuideGrid().

void UIGuideType::SetScreenLocation ( const QPoint &  sl  )  [inline]

Definition at line 256 of file uitypes.h.

Referenced by GuideGrid::fillProgramInfos().

void UIGuideType::SetTextOffset ( const QPoint &  to  )  [inline]

Definition at line 257 of file uitypes.h.

Referenced by XMLParse::parseGuideGrid().

void UIGuideType::SetArrow ( int  direction,
const QString &  file 
)

Definition at line 908 of file uitypes.cpp.

Referenced by XMLParse::parseGuideGrid().

void UIGuideType::LoadImage ( int  recType,
const QString &  file 
)

Definition at line 894 of file uitypes.cpp.

Referenced by XMLParse::parseGuideGrid().

void UIGuideType::SetProgramInfo ( int  row,
int  col,
const QRect &  area,
const QString &  title,
const QString &  category,
int  arrow,
int  recType,
int  recStat,
bool  selected 
)

Definition at line 863 of file uitypes.cpp.

Referenced by GuideGrid::fillProgramRowInfos().

void UIGuideType::ResetData (  ) 

Definition at line 922 of file uitypes.cpp.

Referenced by GuideGrid::fillProgramInfos().

void UIGuideType::ResetRow ( int  row  ) 

Definition at line 928 of file uitypes.cpp.

Referenced by GuideGrid::fillProgramRowInfos().

void UIGuideType::SetProgPast ( int  ppast  ) 

Definition at line 933 of file uitypes.cpp.

Referenced by GuideGrid::fillProgramRowInfos().

void UIGuideType::drawBackground ( QPainter *  dr,
UIGTCon data 
) [private]

Definition at line 744 of file uitypes.cpp.

Referenced by Draw().

void UIGuideType::drawBox ( QPainter *  dr,
UIGTCon data,
const QColor &  color 
) [private]

Definition at line 714 of file uitypes.cpp.

Referenced by Draw().

void UIGuideType::drawText ( QPainter *  dr,
UIGTCon data 
) [private]

Definition at line 826 of file uitypes.cpp.

Referenced by Draw().

void UIGuideType::drawRecType ( QPainter *  dr,
UIGTCon data 
) [private]

Definition at line 679 of file uitypes.cpp.

Referenced by Draw().

void UIGuideType::drawCurrent ( QPainter *  dr,
UIGTCon data 
) [private]

Definition at line 659 of file uitypes.cpp.

Referenced by Draw().


Member Data Documentation

QPtrList<UIGTCon>* UIGuideType::allData [private]

Definition at line 310 of file uitypes.h.

Referenced by Draw(), ResetData(), ResetRow(), SetProgramInfo(), UIGuideType(), and ~UIGuideType().

Definition at line 311 of file uitypes.h.

Referenced by Draw(), and SetProgramInfo().

QPixmap UIGuideType::recImages[15] [private]

Definition at line 313 of file uitypes.h.

Referenced by drawRecType(), and LoadImage().

QPixmap UIGuideType::arrowImages[15] [private]

Definition at line 314 of file uitypes.h.

Referenced by drawRecType(), drawText(), and SetArrow().

int UIGuideType::maxRows [private]

Definition at line 316 of file uitypes.h.

Referenced by UIGuideType().

int UIGuideType::numRows [private]

Definition at line 317 of file uitypes.h.

Referenced by Draw(), ResetData(), and UIGuideType().

Definition at line 319 of file uitypes.h.

Referenced by drawBackground(), drawBox(), and UIGuideType().

QRect UIGuideType::area [private]

Definition at line 320 of file uitypes.h.

Referenced by drawBackground(), drawBox(), drawCurrent(), drawRecType(), drawText(), and SetProgPast().

QPoint UIGuideType::textoffset [private]

Definition at line 321 of file uitypes.h.

Referenced by drawText().

QPoint UIGuideType::screenloc [private]

Definition at line 322 of file uitypes.h.

Referenced by drawBackground(), and drawBox().

Definition at line 324 of file uitypes.h.

Referenced by drawText(), and SetJustification().

Definition at line 325 of file uitypes.h.

Referenced by drawText(), and SetJustification().

Definition at line 326 of file uitypes.h.

Referenced by drawText(), and UIGuideType().

QColor UIGuideType::solidcolor [private]

Definition at line 327 of file uitypes.h.

Referenced by drawBackground().

QColor UIGuideType::selcolor [private]

Definition at line 329 of file uitypes.h.

Referenced by drawCurrent().

int UIGuideType::seltype [private]

Definition at line 330 of file uitypes.h.

Referenced by UIGuideType().

QColor UIGuideType::reccolor [private]

Definition at line 332 of file uitypes.h.

Referenced by Draw().

QColor UIGuideType::concolor [private]

Definition at line 333 of file uitypes.h.

Referenced by Draw().

int UIGuideType::filltype [private]

Definition at line 335 of file uitypes.h.

Referenced by drawBackground(), drawBox(), and UIGuideType().

Definition at line 336 of file uitypes.h.

Referenced by drawText(), and UIGuideType().

Definition at line 337 of file uitypes.h.

Referenced by drawBackground(), SetProgramInfo(), and UIGuideType().

Definition at line 338 of file uitypes.h.

Referenced by drawText(), and UIGuideType().

QMap<QString, QColor> UIGuideType::categoryColors [private]

Definition at line 340 of file uitypes.h.

Referenced by SetCategoryColors(), and SetProgramInfo().

Definition at line 341 of file uitypes.h.

Referenced by drawBackground(), drawBox(), and UIGuideType().

Definition at line 343 of file uitypes.h.

Referenced by drawBackground(), SetProgPast(), and UIGuideType().


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