MythTV  0.26-pre
Public Member Functions | Private Attributes
LCDMenuItem Class Reference

#include <lcddevice.h>

List of all members.

Public Member Functions

 LCDMenuItem (bool item_selected, CHECKED_STATE item_checked, QString item_name, unsigned int item_indent=0, bool item_scroll=false)
CHECKED_STATE isChecked () const
bool isSelected () const
QString ItemName () const
bool Scroll () const
unsigned int getIndent () const
unsigned int getScrollPos () const
void setChecked (CHECKED_STATE value)
void setSelected (bool value)
void setItemName (QString value)
void setScroll (bool value)
void setIndent (unsigned int value)
void setScrollPos (unsigned int value)
void incrementScrollPos ()

Private Attributes

bool selected
CHECKED_STATE checked
QString name
bool scroll
unsigned int indent
unsigned int scrollPosition

Detailed Description

Definition at line 18 of file lcddevice.h.


Constructor & Destructor Documentation

LCDMenuItem::LCDMenuItem ( bool  item_selected,
CHECKED_STATE  item_checked,
QString  item_name,
unsigned int  item_indent = 0,
bool  item_scroll = false 
) [inline]

Definition at line 21 of file lcddevice.h.


Member Function Documentation

bool LCDMenuItem::isSelected ( ) const [inline]
QString LCDMenuItem::ItemName ( ) const [inline]
bool LCDMenuItem::Scroll ( ) const [inline]

Definition at line 36 of file lcddevice.h.

Referenced by LCDProcClient::scrollMenuText(), and LCD::switchToMenu().

unsigned int LCDMenuItem::getIndent ( ) const [inline]
unsigned int LCDMenuItem::getScrollPos ( ) const [inline]

Definition at line 38 of file lcddevice.h.

Referenced by LCDProcClient::scrollMenuText().

Definition at line 40 of file lcddevice.h.

void LCDMenuItem::setSelected ( bool  value) [inline]

Definition at line 41 of file lcddevice.h.

void LCDMenuItem::setItemName ( QString  value) [inline]

Definition at line 42 of file lcddevice.h.

Referenced by LCDProcClient::beginScrollingMenuText().

void LCDMenuItem::setScroll ( bool  value) [inline]

Definition at line 43 of file lcddevice.h.

Referenced by LCDProcClient::beginScrollingMenuText(), and LCDProcClient::startMenu().

void LCDMenuItem::setIndent ( unsigned int  value) [inline]

Definition at line 44 of file lcddevice.h.

void LCDMenuItem::setScrollPos ( unsigned int  value) [inline]

Definition at line 46 of file lcddevice.h.

Referenced by LCDProcClient::scrollMenuText().


Member Data Documentation

Definition at line 49 of file lcddevice.h.

Definition at line 50 of file lcddevice.h.

QString LCDMenuItem::name [private]

Definition at line 51 of file lcddevice.h.

Definition at line 52 of file lcddevice.h.

unsigned int LCDMenuItem::indent [private]

Definition at line 53 of file lcddevice.h.

unsigned int LCDMenuItem::scrollPosition [private]

Definition at line 54 of file lcddevice.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends