MythTV  master
Public Member Functions | Private Attributes | List of all members
LCDMenuItem Class Reference

#include <libmythbase/lcddevice.h>

Collaboration diagram for LCDMenuItem:
[legend]

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 (const QString &value)
 
void setScroll (bool value)
 
void setIndent (unsigned int value)
 
void setScrollPos (unsigned int value)
 
void incrementScrollPos ()
 

Private Attributes

bool m_selected
 
CHECKED_STATE m_checked
 
QString m_name
 
bool m_scroll {false}
 
unsigned int m_indent {0}
 
unsigned int m_scrollPosition {0}
 

Detailed Description

Definition at line 21 of file lcddevice.h.

Constructor & Destructor Documentation

◆ LCDMenuItem()

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 24 of file lcddevice.h.

Member Function Documentation

◆ isChecked()

CHECKED_STATE LCDMenuItem::isChecked ( ) const
inline

◆ isSelected()

bool LCDMenuItem::isSelected ( ) const
inline

◆ ItemName()

QString LCDMenuItem::ItemName ( ) const
inline

◆ Scroll()

bool LCDMenuItem::Scroll ( ) const
inline

Definition at line 36 of file lcddevice.h.

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

◆ getIndent()

unsigned int LCDMenuItem::getIndent ( ) const
inline

◆ getScrollPos()

unsigned int LCDMenuItem::getScrollPos ( ) const
inline

Definition at line 38 of file lcddevice.h.

Referenced by LCDProcClient::scrollMenuText().

◆ setChecked()

void LCDMenuItem::setChecked ( CHECKED_STATE  value)
inline

Definition at line 40 of file lcddevice.h.

◆ setSelected()

void LCDMenuItem::setSelected ( bool  value)
inline

Definition at line 41 of file lcddevice.h.

◆ setItemName()

void LCDMenuItem::setItemName ( const QString &  value)
inline

Definition at line 42 of file lcddevice.h.

Referenced by LCDProcClient::beginScrollingMenuText().

◆ setScroll()

void LCDMenuItem::setScroll ( bool  value)
inline

Definition at line 43 of file lcddevice.h.

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

◆ setIndent()

void LCDMenuItem::setIndent ( unsigned int  value)
inline

Definition at line 44 of file lcddevice.h.

◆ setScrollPos()

void LCDMenuItem::setScrollPos ( unsigned int  value)
inline

◆ incrementScrollPos()

void LCDMenuItem::incrementScrollPos ( )
inline

Definition at line 46 of file lcddevice.h.

Referenced by LCDProcClient::scrollMenuText().

Member Data Documentation

◆ m_selected

bool LCDMenuItem::m_selected
private

Definition at line 49 of file lcddevice.h.

◆ m_checked

CHECKED_STATE LCDMenuItem::m_checked
private

Definition at line 50 of file lcddevice.h.

◆ m_name

QString LCDMenuItem::m_name
private

Definition at line 51 of file lcddevice.h.

◆ m_scroll

bool LCDMenuItem::m_scroll {false}
private

Definition at line 52 of file lcddevice.h.

◆ m_indent

unsigned int LCDMenuItem::m_indent {0}
private

Definition at line 53 of file lcddevice.h.

◆ m_scrollPosition

unsigned int LCDMenuItem::m_scrollPosition {0}
private

Definition at line 54 of file lcddevice.h.


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