MythListButtonItem Class Reference

#include <mythlistbutton.h>

List of all members.


Detailed Description

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 ()
MythListButtonparent () const
void setText (const QString &text)
QString text () const
void setImage (MythImage *image)
const MythImageimage () 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

MythListButtonm_parent
QString m_text
MythImagem_image
bool m_checkable
CheckState m_state
void * m_data
bool m_showArrow
bool m_overrideInactive

Friends

class MythListButton

Member Enumeration Documentation

Enumerator:
CantCheck 
NotChecked 
HalfChecked 
FullChecked 

Definition at line 154 of file mythlistbutton.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

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

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  ) 

Definition at line 1235 of file mythlistbutton.cpp.

Referenced by MythControls::SetListContents().

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.

bool MythListButtonItem::moveUpDown ( bool  flag  ) 

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().


Friends And Related Function Documentation

friend class MythListButton [friend]

Definition at line 202 of file mythlistbutton.h.


Member Data Documentation

QString MythListButtonItem::m_text [protected]

Definition at line 194 of file mythlistbutton.h.

Referenced by MythListButtonItem(), setText(), SetToRealButton(), and text().

Definition at line 195 of file mythlistbutton.h.

Referenced by image(), MythListButtonItem(), setImage(), and SetToRealButton().

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().

Definition at line 199 of file mythlistbutton.h.

Referenced by MythListButtonItem(), setDrawArrow(), and SetToRealButton().


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