#include <osdlistbtntype.h>
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 () | |
| OSDListBtnType * | parent (void) const |
| QString | text (void) const |
| const OSDTypeImage * | pixmap (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 | |
| OSDListBtnType * | m_parent |
| OSDTypeImage * | m_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 |
| 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.
| 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] |
| 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] |
Definition at line 296 of file osdlistbtntype.h.
Referenced by OSDListTreeType::FillLevelFromTree(), and OSDListTreeType::SelectItem().
| 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.
friend class OSDListBtnType [friend] |
Definition at line 271 of file osdlistbtntype.h.
OSDListBtnType* OSDListBtnTypeItem::m_parent [protected] |
Definition at line 304 of file osdlistbtntype.h.
Referenced by OSDListBtnTypeItem(), paint(), parent(), and ~OSDListBtnTypeItem().
OSDTypeImage* OSDListBtnTypeItem::m_pixmap [protected] |
Definition at line 305 of file osdlistbtntype.h.
Referenced by OSDListBtnTypeItem(), paint(), and pixmap().
void* OSDListBtnTypeItem::m_data [protected] |
QString OSDListBtnTypeItem::m_text [protected] |
QString OSDListBtnTypeItem::m_group [protected] |
CheckState OSDListBtnTypeItem::m_state [protected] |
bool OSDListBtnTypeItem::m_showArrow [protected] |
bool OSDListBtnTypeItem::m_checkable [protected] |
Definition at line 311 of file osdlistbtntype.h.
Referenced by checkable(), OSDListBtnTypeItem(), paint(), and setChecked().
QRect OSDListBtnTypeItem::m_checkRect [protected] |
QRect OSDListBtnTypeItem::m_arrowRect [protected] |
QRect OSDListBtnTypeItem::m_pixmapRect [protected] |
QRect OSDListBtnTypeItem::m_textRect [protected] |
1.5.5