OSDListBtnTypeItem Class Reference

#include <osdlistbtntype.h>

List of all members.


Detailed Description

Definition at line 269 of file osdlistbtntype.h.


Public Types

enum  CheckState { NotChecked = 0, HalfChecked, FullChecked }

Public Member Functions

 OSDListBtnTypeItem (OSDListBtnType *lbtype, const QString &text, OSDTypeImage *pixmap=0, bool checkable=false, bool showArrow=false, CheckState state=NotChecked)
 ~OSDListBtnTypeItem ()
OSDListBtnTypeparent (void) const
QString text (void) const
const OSDTypeImagepixmap (void) const
bool checkable (void) const
CheckState state (void) const
QString getGroup (void) const
void * getData (void)
void setData (void *data)
void setGroup (QString grp)
void setChecked (CheckState state)
void Reinit (float, float)
void paint (OSDSurface *surface, TTFFont *font, int fade, int maxfade, int x, int y)

Protected Attributes

OSDListBtnTypem_parent
OSDTypeImagem_pixmap
void * m_data
QString m_text
QString m_group
CheckState m_state
bool m_showArrow
bool m_checkable
QRect m_checkRect
QRect m_arrowRect
QRect m_pixmapRect
QRect m_textRect

Friends

class OSDListBtnType

Member Enumeration Documentation

Enumerator:
NotChecked 
HalfChecked 
FullChecked 

Definition at line 274 of file osdlistbtntype.h.


Constructor & Destructor Documentation

OSDListBtnTypeItem::OSDListBtnTypeItem ( OSDListBtnType lbtype,
const QString &  text,
OSDTypeImage pixmap = 0,
bool  checkable = false,
bool  showArrow = false,
CheckState  state = NotChecked 
)

Definition at line 724 of file osdlistbtntype.cpp.

OSDListBtnTypeItem::~OSDListBtnTypeItem (  ) 

Definition at line 774 of file osdlistbtntype.cpp.


Member Function Documentation

OSDListBtnType* OSDListBtnTypeItem::parent ( void   )  const [inline]

Definition at line 286 of file osdlistbtntype.h.

QString OSDListBtnTypeItem::text ( void   )  const [inline]

Definition at line 287 of file osdlistbtntype.h.

const OSDTypeImage* OSDListBtnTypeItem::pixmap ( void   )  const [inline]

Definition at line 288 of file osdlistbtntype.h.

bool OSDListBtnTypeItem::checkable ( void   )  const [inline]

Definition at line 289 of file osdlistbtntype.h.

CheckState OSDListBtnTypeItem::state ( void   )  const [inline]

Definition at line 290 of file osdlistbtntype.h.

QString OSDListBtnTypeItem::getGroup ( void   )  const [inline]

Definition at line 291 of file osdlistbtntype.h.

void* OSDListBtnTypeItem::getData ( void   )  [inline]

Definition at line 292 of file osdlistbtntype.h.

Referenced by OSDListTreeType::EnterItem().

void OSDListBtnTypeItem::setData ( void *  data  )  [inline]

Definition at line 294 of file osdlistbtntype.h.

Referenced by OSDListTreeType::FillLevelFromTree().

void OSDListBtnTypeItem::setGroup ( QString  grp  )  [inline]

Definition at line 295 of file osdlistbtntype.h.

Referenced by OSDListTreeType::FillLevelFromTree().

void OSDListBtnTypeItem::setChecked ( CheckState  state  )  [inline]

void OSDListBtnTypeItem::Reinit ( float  ,
float   
) [inline]

Definition at line 299 of file osdlistbtntype.h.

void OSDListBtnTypeItem::paint ( OSDSurface surface,
TTFFont font,
int  fade,
int  maxfade,
int  x,
int  y 
)

Definition at line 780 of file osdlistbtntype.cpp.


Friends And Related Function Documentation

friend class OSDListBtnType [friend]

Definition at line 271 of file osdlistbtntype.h.


Member Data Documentation

Definition at line 304 of file osdlistbtntype.h.

Referenced by OSDListBtnTypeItem(), paint(), parent(), and ~OSDListBtnTypeItem().

Definition at line 305 of file osdlistbtntype.h.

Referenced by OSDListBtnTypeItem(), paint(), and pixmap().

void* OSDListBtnTypeItem::m_data [protected]

Definition at line 306 of file osdlistbtntype.h.

Referenced by getData(), and setData().

QString OSDListBtnTypeItem::m_text [protected]

Definition at line 307 of file osdlistbtntype.h.

Referenced by paint(), and text().

QString OSDListBtnTypeItem::m_group [protected]

Definition at line 308 of file osdlistbtntype.h.

Referenced by getGroup(), and setGroup().

Definition at line 309 of file osdlistbtntype.h.

Referenced by paint(), setChecked(), and state().

Definition at line 310 of file osdlistbtntype.h.

Referenced by OSDListBtnTypeItem(), and paint().

Definition at line 311 of file osdlistbtntype.h.

Referenced by checkable(), OSDListBtnTypeItem(), paint(), and setChecked().

Definition at line 312 of file osdlistbtntype.h.

Referenced by OSDListBtnTypeItem(), and paint().

Definition at line 313 of file osdlistbtntype.h.

Referenced by OSDListBtnTypeItem(), and paint().

Definition at line 314 of file osdlistbtntype.h.

Referenced by OSDListBtnTypeItem(), and paint().

QRect OSDListBtnTypeItem::m_textRect [protected]

Definition at line 315 of file osdlistbtntype.h.

Referenced by OSDListBtnTypeItem(), and paint().


The documentation for this class was generated from the following files:

Generated on Sat Dec 18 05:16:08 2010 for MythTV by  doxygen 1.5.5