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

#include <lcddevice.h>

Collaboration diagram for LCDTextItem:
Collaboration graph
[legend]

Public Member Functions

 LCDTextItem (unsigned int row, TEXT_ALIGNMENT align, const QString &text, const QString &screen="Generic", bool scroll=false, const QString &widget="textWidget")
 
unsigned int getRow () const
 
TEXT_ALIGNMENT getAlignment () const
 
QString getText () const
 
QString getScreen () const
 
QString getWidget () const
 
int getScroll () const
 
void setRow (unsigned int value)
 
void setAlignment (TEXT_ALIGNMENT value)
 
void setText (const QString &value)
 
void setScreen (const QString &value)
 
void setWidget (const QString &value)
 
void setScrollable (bool value)
 

Private Attributes

unsigned int m_itemRow
 
TEXT_ALIGNMENT m_itemAlignment
 
QString m_itemText
 
QString m_itemScreen {"Generic"}
 
QString m_itemWidget {"textWidget"}
 
bool m_itemScrollable {false}
 

Detailed Description

Definition at line 55 of file lcddevice.h.

Constructor & Destructor Documentation

◆ LCDTextItem()

LCDTextItem::LCDTextItem ( unsigned int  row,
TEXT_ALIGNMENT  align,
const QString &  text,
const QString &  screen = "Generic",
bool  scroll = false,
const QString &  widget = "textWidget" 
)
inline

Definition at line 58 of file lcddevice.h.

Member Function Documentation

◆ getRow()

unsigned int LCDTextItem::getRow ( ) const
inline

◆ getAlignment()

TEXT_ALIGNMENT LCDTextItem::getAlignment ( ) const
inline

Definition at line 68 of file lcddevice.h.

Referenced by LCDProcClient::outputText(), and LCD::switchToGeneric().

◆ getText()

QString LCDTextItem::getText ( ) const
inline

◆ getScreen()

QString LCDTextItem::getScreen ( ) const
inline

Definition at line 70 of file lcddevice.h.

Referenced by LCDProcClient::outputText(), and LCD::switchToGeneric().

◆ getWidget()

QString LCDTextItem::getWidget ( ) const
inline

◆ getScroll()

int LCDTextItem::getScroll ( ) const
inline

◆ setRow()

void LCDTextItem::setRow ( unsigned int  value)
inline

Definition at line 74 of file lcddevice.h.

◆ setAlignment()

void LCDTextItem::setAlignment ( TEXT_ALIGNMENT  value)
inline

Definition at line 75 of file lcddevice.h.

◆ setText()

void LCDTextItem::setText ( const QString &  value)
inline

Definition at line 76 of file lcddevice.h.

Referenced by LCDProcClient::formatScrollingWidgets().

◆ setScreen()

void LCDTextItem::setScreen ( const QString &  value)
inline

Definition at line 77 of file lcddevice.h.

◆ setWidget()

void LCDTextItem::setWidget ( const QString &  value)
inline

Definition at line 78 of file lcddevice.h.

◆ setScrollable()

void LCDTextItem::setScrollable ( bool  value)
inline

Definition at line 79 of file lcddevice.h.

Referenced by LCDProcClient::formatScrollingWidgets().

Member Data Documentation

◆ m_itemRow

unsigned int LCDTextItem::m_itemRow
private

Definition at line 82 of file lcddevice.h.

◆ m_itemAlignment

TEXT_ALIGNMENT LCDTextItem::m_itemAlignment
private

Definition at line 83 of file lcddevice.h.

◆ m_itemText

QString LCDTextItem::m_itemText
private

Definition at line 84 of file lcddevice.h.

◆ m_itemScreen

QString LCDTextItem::m_itemScreen {"Generic"}
private

Definition at line 85 of file lcddevice.h.

◆ m_itemWidget

QString LCDTextItem::m_itemWidget {"textWidget"}
private

Definition at line 86 of file lcddevice.h.

◆ m_itemScrollable

bool LCDTextItem::m_itemScrollable {false}
private

Definition at line 87 of file lcddevice.h.


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