UIBarType Class Reference

#include <uitypes.h>

Inheritance diagram for UIBarType:

UIType

List of all members.


Detailed Description

Definition at line 161 of file uitypes.h.


Public Member Functions

 UIBarType (const QString &name, QString, int, QRect)
 ~UIBarType ()
void SetIcon (int, QPixmap)
void SetText (int, QString)
void SetIcon (int, QString)
void Draw (QPainter *, int, int)
void SetJustification (int jst)
void SetSize (int size)
int GetNums (void)
void SetScreen (double w, double h)
void SetFont (fontProp *font)
void SetOrientation (int ori)
void SetTextOffset (QPoint to)
void SetIconOffset (QPoint ic)
void SetIconSize (QPoint is)
void ResetImage (int loc)
int GetSize ()

Private Member Functions

void LoadImage (int loc=-1, QString dat="")

Private Attributes

QRect m_displaysize
QPoint m_iconsize
QPoint m_textoffset
QPoint m_iconoffset
int m_justification
int m_orientation
int m_size
fontPropm_font
QString m_filename
QPixmap m_image
QMap< int, QString > textData
QMap< int, QPixmap > iconData

Constructor & Destructor Documentation

UIBarType::UIBarType ( const QString &  name,
QString  imgfile,
int  dorder,
QRect  displayrect 
)

Definition at line 347 of file uitypes.cpp.

UIBarType::~UIBarType (  ) 

Definition at line 364 of file uitypes.cpp.


Member Function Documentation

void UIBarType::SetIcon ( int  num,
QPixmap  myIcon 
)

Definition at line 378 of file uitypes.cpp.

Referenced by GuideGrid::paintChannels().

void UIBarType::SetText ( int  num,
QString  myText 
)

Definition at line 368 of file uitypes.cpp.

Referenced by GuideGrid::fillTimeInfos(), and GuideGrid::paintChannels().

void UIBarType::SetIcon ( int  num,
QString  myIcon 
)

Definition at line 373 of file uitypes.cpp.

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

Reimplemented from UIType.

Definition at line 448 of file uitypes.cpp.

void UIBarType::SetJustification ( int  jst  )  [inline]

Definition at line 173 of file uitypes.h.

Referenced by XMLParse::parseBar().

void UIBarType::SetSize ( int  size  )  [inline]

Definition at line 174 of file uitypes.h.

Referenced by GuideGrid::GuideGrid(), and GuideGrid::paintChannels().

int UIBarType::GetNums ( void   )  [inline]

Definition at line 175 of file uitypes.h.

Referenced by GuideGrid::paintChannels().

void UIBarType::SetScreen ( double  w,
double  h 
) [inline]

Reimplemented from UIType.

Definition at line 176 of file uitypes.h.

Referenced by XMLParse::parseBar().

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

Definition at line 177 of file uitypes.h.

Referenced by XMLParse::parseBar().

void UIBarType::SetOrientation ( int  ori  )  [inline]

Definition at line 178 of file uitypes.h.

Referenced by XMLParse::parseBar().

void UIBarType::SetTextOffset ( QPoint  to  )  [inline]

Definition at line 179 of file uitypes.h.

Referenced by XMLParse::parseBar().

void UIBarType::SetIconOffset ( QPoint  ic  )  [inline]

Definition at line 180 of file uitypes.h.

Referenced by XMLParse::parseBar().

void UIBarType::SetIconSize ( QPoint  is  )  [inline]

Definition at line 181 of file uitypes.h.

Referenced by XMLParse::parseBar().

void UIBarType::ResetImage ( int  loc  )  [inline]

Definition at line 182 of file uitypes.h.

Referenced by GuideGrid::paintChannels().

int UIBarType::GetSize (  )  [inline]

Definition at line 183 of file uitypes.h.

Referenced by GuideGrid::paintChannels().

void UIBarType::LoadImage ( int  loc = -1,
QString  dat = "" 
) [private]

Definition at line 393 of file uitypes.cpp.

Referenced by SetIcon().


Member Data Documentation

QRect UIBarType::m_displaysize [private]

Definition at line 187 of file uitypes.h.

Referenced by Draw(), LoadImage(), and UIBarType().

QPoint UIBarType::m_iconsize [private]

Definition at line 188 of file uitypes.h.

Referenced by Draw(), LoadImage(), and SetIcon().

QPoint UIBarType::m_textoffset [private]

Definition at line 189 of file uitypes.h.

Referenced by Draw(), and UIBarType().

QPoint UIBarType::m_iconoffset [private]

Definition at line 190 of file uitypes.h.

Referenced by Draw(), and UIBarType().

Definition at line 191 of file uitypes.h.

Referenced by Draw(), and UIBarType().

int UIBarType::m_orientation [private]

Definition at line 192 of file uitypes.h.

Referenced by Draw(), and LoadImage().

int UIBarType::m_size [private]

Definition at line 193 of file uitypes.h.

Referenced by Draw(), and LoadImage().

Definition at line 194 of file uitypes.h.

Referenced by Draw().

QString UIBarType::m_filename [private]

Definition at line 195 of file uitypes.h.

Referenced by LoadImage(), and UIBarType().

QPixmap UIBarType::m_image [private]

Definition at line 196 of file uitypes.h.

Referenced by Draw(), and LoadImage().

QMap<int, QString> UIBarType::textData [private]

Definition at line 197 of file uitypes.h.

Referenced by Draw(), and SetText().

QMap<int, QPixmap> UIBarType::iconData [private]

Definition at line 198 of file uitypes.h.

Referenced by Draw(), LoadImage(), and SetIcon().


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