#include <mythlistbutton.h>
Definition at line 151 of file mythlistbutton.h.
Public Types | |
| enum | CheckState { CantCheck = -1, NotChecked = 0, HalfChecked, FullChecked } |
Public Member Functions | |
| MythListButtonItem (MythListButton *lbtype, const QString &text, MythImage *image=0, bool checkable=false, CheckState state=CantCheck, bool showArrow=false) | |
| ~MythListButtonItem () | |
| MythListButton * | parent () const |
| void | setText (const QString &text) |
| QString | text () const |
| void | setImage (MythImage *image) |
| const MythImage * | image () const |
| bool | checkable () const |
| void | setCheckable (bool flag) |
| CheckState | state () const |
| void | setChecked (CheckState state) |
| void | setDrawArrow (bool flag) |
| void | setData (void *data) |
| void * | getData () |
| void | setOverrideInactive (bool flag) |
| bool | getOverrideInactive (void) |
| bool | moveUpDown (bool flag) |
| void | SetToRealButton (MythUIButton *button, bool active_on) |
Protected Attributes | |
| MythListButton * | m_parent |
| QString | m_text |
| MythImage * | m_image |
| bool | m_checkable |
| CheckState | m_state |
| void * | m_data |
| bool | m_showArrow |
| bool | m_overrideInactive |
Friends | |
| class | MythListButton |
Definition at line 154 of file mythlistbutton.h.
| MythListButtonItem::MythListButtonItem | ( | MythListButton * | lbtype, | |
| const QString & | text, | |||
| MythImage * | image = 0, |
|||
| bool | checkable = false, |
|||
| CheckState | state = CantCheck, |
|||
| bool | showArrow = false | |||
| ) |
Definition at line 1160 of file mythlistbutton.cpp.
| MythListButtonItem::~MythListButtonItem | ( | ) |
Definition at line 1182 of file mythlistbutton.cpp.
| MythListButton * MythListButtonItem::parent | ( | void | ) | const |
Definition at line 1218 of file mythlistbutton.cpp.
| void MythListButtonItem::setText | ( | const QString & | text | ) |
Definition at line 1193 of file mythlistbutton.cpp.
| QString MythListButtonItem::text | ( | void | ) | const |
Definition at line 1188 of file mythlistbutton.cpp.
Referenced by MythControls::GetCurrentAction(), MythControls::GetCurrentContext(), MythControls::GetCurrentKey(), and MythControls::UpdateRightList().
| void MythListButtonItem::setImage | ( | MythImage * | image | ) |
Definition at line 1203 of file mythlistbutton.cpp.
| const MythImage * MythListButtonItem::image | ( | ) | const |
Definition at line 1198 of file mythlistbutton.cpp.
| bool MythListButtonItem::checkable | ( | void | ) | const |
Definition at line 1208 of file mythlistbutton.cpp.
| void MythListButtonItem::setCheckable | ( | bool | flag | ) |
Definition at line 1230 of file mythlistbutton.cpp.
| MythListButtonItem::CheckState MythListButtonItem::state | ( | void | ) | const |
Definition at line 1213 of file mythlistbutton.cpp.
| void MythListButtonItem::setChecked | ( | MythListButtonItem::CheckState | state | ) |
Definition at line 1223 of file mythlistbutton.cpp.
| void MythListButtonItem::setDrawArrow | ( | bool | flag | ) |
| void MythListButtonItem::setData | ( | void * | data | ) |
Definition at line 1240 of file mythlistbutton.cpp.
| void * MythListButtonItem::getData | ( | void | ) |
Definition at line 1245 of file mythlistbutton.cpp.
| void MythListButtonItem::setOverrideInactive | ( | bool | flag | ) |
Definition at line 1250 of file mythlistbutton.cpp.
| bool MythListButtonItem::getOverrideInactive | ( | void | ) |
Definition at line 1255 of file mythlistbutton.cpp.
Definition at line 1260 of file mythlistbutton.cpp.
| void MythListButtonItem::SetToRealButton | ( | MythUIButton * | button, | |
| bool | active_on | |||
| ) |
Definition at line 1265 of file mythlistbutton.cpp.
Referenced by MythListButton::SetPositionArrowStates().
friend class MythListButton [friend] |
Definition at line 202 of file mythlistbutton.h.
MythListButton* MythListButtonItem::m_parent [protected] |
Definition at line 193 of file mythlistbutton.h.
Referenced by moveUpDown(), MythListButtonItem(), parent(), SetToRealButton(), and ~MythListButtonItem().
QString MythListButtonItem::m_text [protected] |
Definition at line 194 of file mythlistbutton.h.
Referenced by MythListButtonItem(), setText(), SetToRealButton(), and text().
MythImage* MythListButtonItem::m_image [protected] |
Definition at line 195 of file mythlistbutton.h.
Referenced by image(), MythListButtonItem(), setImage(), and SetToRealButton().
bool MythListButtonItem::m_checkable [protected] |
Definition at line 196 of file mythlistbutton.h.
Referenced by checkable(), MythListButtonItem(), setCheckable(), setChecked(), and SetToRealButton().
CheckState MythListButtonItem::m_state [protected] |
Definition at line 197 of file mythlistbutton.h.
Referenced by MythListButtonItem(), setChecked(), SetToRealButton(), and state().
void* MythListButtonItem::m_data [protected] |
Definition at line 198 of file mythlistbutton.h.
Referenced by getData(), MythListButtonItem(), and setData().
bool MythListButtonItem::m_showArrow [protected] |
Definition at line 199 of file mythlistbutton.h.
Referenced by MythListButtonItem(), setDrawArrow(), and SetToRealButton().
bool MythListButtonItem::m_overrideInactive [protected] |
Definition at line 200 of file mythlistbutton.h.
Referenced by getOverrideInactive(), MythListButtonItem(), setOverrideInactive(), and SetToRealButton().
1.5.5