MythTV  master
Public Member Functions | Private Types | Private Slots | Private Member Functions | Private Attributes | List of all members
LCDProcClient Class Reference

#include <lcdprocclient.h>

Inheritance diagram for LCDProcClient:
Inheritance graph
[legend]
Collaboration diagram for LCDProcClient:
Collaboration graph
[legend]

Public Member Functions

 LCDProcClient (LCDServer *lparent)
 
void customEvent (QEvent *e) override
 
 ~LCDProcClient () override
 
bool SetupLCD (void)
 
void reset (void)
 
void setStartupMessage (QString msg, std::chrono::seconds messagetime)
 
bool connectToHost (const QString &hostname, unsigned int port)
 
void switchToTime ()
 
void switchToMusic (const QString &artist, const QString &album, const QString &track)
 
void setMusicProgress (QString time, float value)
 
void setMusicRepeat (int repeat)
 
void setMusicShuffle (int shuffle)
 
void switchToChannel (const QString &channum="", const QString &title="", const QString &subtitle="")
 
void setChannelProgress (const QString &time, float value)
 
void switchToMenu (QList< LCDMenuItem > *menuItems, const QString &app_name="", bool popMenu=true)
 
void switchToGeneric (QList< LCDTextItem > *textItems)
 
void setGenericProgress (bool busy, float value)
 
void switchToVolume (const QString &app_name)
 
void setVolumeLevel (float value)
 
void switchToNothing ()
 
void shutdown ()
 
void removeWidgets ()
 
void updateLEDs (int mask)
 
void stopAll (void)
 
int getLCDWidth (void) const
 
int getLCDHeight (void) const
 

Private Types

enum  PRIORITY {
  TOP, URGENT, HIGH, MEDIUM,
  LOW, OFF
}
 

Private Slots

void veryBadThings (QAbstractSocket::SocketError error)
 
void serverSendingData ()
 
void checkConnections ()
 
void dobigclock (void)
 
void dostdclock ()
 
void outputTime ()
 
void outputMusic ()
 
void outputChannel ()
 
void outputGeneric ()
 
void outputVolume ()
 
void outputRecStatus ()
 
void scrollMenuText ()
 
void beginScrollingMenuText ()
 
void unPopMenu ()
 
void scrollList ()
 
void updateRecordingList (void)
 
void removeStartupMessage (void)
 
void beginScrollingWidgets (void)
 
void scrollWidgets (void)
 

Private Member Functions

void outputCenteredText (const QString &theScreen, QString theText, const QString &widget="topWidget", int row=1)
 
void outputLeftText (const QString &theScreen, QString theText, const QString &widget="topWidget", int row=1)
 
void outputRightText (const QString &theScreen, QString theText, const QString &widget="topWidget", int row=1)
 
void outputScrollerText (const QString &theScreen, const QString &theText, const QString &widget="scroller", int top=1, int bottom=1)
 
QStringList formatScrollerText (const QString &text) const
 
void outputText (QList< LCDTextItem > *textItems)
 
void sendToServer (const QString &someText)
 
void setPriority (const QString &screen, PRIORITY priority)
 
void setHeartbeat (const QString &screen, bool onoff)
 
QString expandString (const QString &aString) const
 
void init ()
 
void loadSettings ()
 
void assignScrollingList (QStringList theList, QString theScreen, QString theWidget="topWidget", int theRow=1)
 
void assignScrollingWidgets (const QString &theText, const QString &theScreen, const QString &theWidget="topWidget", int theRow=1)
 
void formatScrollingWidgets (void)
 
void startTime ()
 
void startMusic (QString artist, const QString &album, const QString &track)
 
void startChannel (const QString &channum, const QString &title, const QString &subtitle)
 
void startGeneric (QList< LCDTextItem > *textItems)
 
void startMenu (QList< LCDMenuItem > *menuItems, QString app_name, bool popMenu)
 
void startVolume (const QString &app_name)
 
void showStartupMessage (void)
 
void setWidth (unsigned int x)
 
void setHeight (unsigned int x)
 
void setCellWidth (unsigned int x)
 
void setCellHeight (unsigned int x)
 
void setVersion (const QString &sversion, const QString &pversion)
 
void describeServer ()
 

Private Attributes

QString m_activeScreen
 
QTcpSocket * m_socket {nullptr}
 
QTimer * m_timeTimer {nullptr}
 
QTimer * m_scrollWTimer {nullptr}
 
QTimer * m_preScrollWTimer {nullptr}
 
QTimer * m_menuScrollTimer {nullptr}
 
QTimer * m_menuPreScrollTimer {nullptr}
 
QTimer * m_popMenuTimer {nullptr}
 
QTimer * m_checkConnectionsTimer {nullptr}
 
QTimer * m_recStatusTimer {nullptr}
 
QTimer * m_scrollListTimer {nullptr}
 
QTimer * m_showMessageTimer {nullptr}
 
QTimer * m_updateRecInfoTimer {nullptr}
 
QString m_prioTop
 
QString m_prioUrgent
 
QString m_prioHigh
 
QString m_prioMedium
 
QString m_prioLow
 
QString m_prioOff
 
unsigned int m_lcdWidth {5}
 
unsigned int m_lcdHeight {1}
 
unsigned int m_cellWidth {1}
 
unsigned int m_cellHeight {1}
 
QString m_serverVersion
 
QString m_protocolVersion
 
int m_pVersion {0}
 
float m_progress {0.0}
 
QString m_channelTime
 
bool m_busyProgress {false}
 true if the generic progress indicator is a busy (ie. More...
 
int m_busyPos {0}
 Current position of the busy indicator, used if m_busyProgress is true. More...
 
float m_busyIndicatorSize {0.0}
 How many "blocks" the busy indicator must be, used if m_busyProgress is true. More...
 
int m_busyDirection {1}
 Direction of the busy indicator on the, -1 or 1, used if m_busyProgress is true. More...
 
float m_genericProgress {0.0}
 
float m_volumeLevel {0.0}
 
float m_musicProgress {0.0}
 
QString m_musicTime
 
int m_musicRepeat {0}
 
int m_musicShuffle {0}
 
QList< LCDTextItem > * m_lcdTextItems {nullptr}
 
QString m_scrollScreen
 
unsigned int m_scrollPosition {0}
 
QString m_timeFormat
 
QString m_dateFormat
 
QStringList m_scrollListItems
 
QString m_scrollListScreen
 
QString m_scrollListWidget
 
int m_scrollListRow {0}
 
unsigned int m_scrollListItem {0}
 
unsigned int m_menuScrollPosition {0}
 
QList< LCDMenuItem > * m_lcdMenuItems {nullptr}
 
bool m_connected {false}
 
bool m_timeFlash {false}
 
QString m_sendBuffer
 
QString m_lastCommand
 
QString m_hostname
 
unsigned int m_port {13666}
 
bool m_lcdReady {false}
 
bool m_lcdShowTime {true}
 
bool m_lcdShowMenu {true}
 
bool m_lcdShowGeneric {true}
 
bool m_lcdShowMusic {true}
 
bool m_lcdShowChannel {true}
 
bool m_lcdShowVolume {true}
 
bool m_lcdShowRecstatus {true}
 
bool m_lcdBacklightOn {true}
 
bool m_lcdHeartbeatOn {true}
 
bool m_lcdBigClock {true}
 
std::chrono::milliseconds m_lcdPopupTime {0ms}
 
QString m_lcdShowMusicItems
 
QString m_lcdKeyString
 
LCDServerm_parentLCDServer {nullptr}
 
QString m_startupMessage
 
std::chrono::seconds m_startupShowTime {0s}
 
bool m_isRecording {false}
 
bool m_isTimeVisible {false}
 
int m_lcdTunerNo {0}
 
std::vector< TunerStatusm_tunerList
 

Detailed Description

Definition at line 20 of file lcdprocclient.h.

Member Enumeration Documentation

◆ PRIORITY

Enumerator
TOP 
URGENT 
HIGH 
MEDIUM 
LOW 
OFF 

Definition at line 107 of file lcdprocclient.h.

Constructor & Destructor Documentation

◆ LCDProcClient()

LCDProcClient::LCDProcClient ( LCDServer lparent)
explicit

Definition at line 47 of file lcdprocclient.cpp.

◆ ~LCDProcClient()

LCDProcClient::~LCDProcClient ( )
override

Definition at line 2369 of file lcdprocclient.cpp.

Member Function Documentation

◆ customEvent()

void LCDProcClient::customEvent ( QEvent *  e)
override

Definition at line 2389 of file lcdprocclient.cpp.

◆ SetupLCD()

bool LCDProcClient::SetupLCD ( void  )

Definition at line 126 of file lcdprocclient.cpp.

Referenced by LCDServer::LCDServer().

◆ reset()

void LCDProcClient::reset ( void  )

Definition at line 1750 of file lcdprocclient.cpp.

Referenced by LCDServer::parseTokens().

◆ setStartupMessage()

void LCDProcClient::setStartupMessage ( QString  msg,
std::chrono::seconds  messagetime 
)

Definition at line 630 of file lcdprocclient.cpp.

Referenced by LCDServer::LCDServer().

◆ connectToHost()

bool LCDProcClient::connectToHost ( const QString &  hostname,
unsigned int  port 
)

Definition at line 137 of file lcdprocclient.cpp.

Referenced by checkConnections(), and SetupLCD().

◆ switchToTime()

void LCDProcClient::switchToTime ( )

◆ switchToMusic()

void LCDProcClient::switchToMusic ( const QString &  artist,
const QString &  album,
const QString &  track 
)

Definition at line 2219 of file lcdprocclient.cpp.

Referenced by LCDServer::switchToMusic().

◆ setMusicProgress()

void LCDProcClient::setMusicProgress ( QString  time,
float  value 
)

Definition at line 1691 of file lcdprocclient.cpp.

Referenced by LCDServer::setMusicProgress().

◆ setMusicRepeat()

void LCDProcClient::setMusicRepeat ( int  repeat)

Definition at line 1707 of file lcdprocclient.cpp.

Referenced by LCDServer::setMusicProp().

◆ setMusicShuffle()

void LCDProcClient::setMusicShuffle ( int  shuffle)

Definition at line 1717 of file lcdprocclient.cpp.

Referenced by LCDServer::setMusicProp().

◆ switchToChannel()

void LCDProcClient::switchToChannel ( const QString &  channum = "",
const QString &  title = "",
const QString &  subtitle = "" 
)

Definition at line 2232 of file lcdprocclient.cpp.

Referenced by LCDServer::switchToChannel().

◆ setChannelProgress()

void LCDProcClient::setChannelProgress ( const QString &  time,
float  value 
)

Definition at line 1640 of file lcdprocclient.cpp.

Referenced by LCDServer::setChannelProgress().

◆ switchToMenu()

void LCDProcClient::switchToMenu ( QList< LCDMenuItem > *  menuItems,
const QString &  app_name = "",
bool  popMenu = true 
)

Definition at line 2245 of file lcdprocclient.cpp.

Referenced by LCDServer::switchToMenu().

◆ switchToGeneric()

void LCDProcClient::switchToGeneric ( QList< LCDTextItem > *  textItems)

Definition at line 2257 of file lcdprocclient.cpp.

Referenced by showStartupMessage(), and LCDServer::switchToGeneric().

◆ setGenericProgress()

void LCDProcClient::setGenericProgress ( bool  busy,
float  value 
)

Definition at line 1656 of file lcdprocclient.cpp.

Referenced by LCDServer::setGenericProgress().

◆ switchToVolume()

void LCDProcClient::switchToVolume ( const QString &  app_name)

Definition at line 2269 of file lcdprocclient.cpp.

Referenced by LCDServer::switchToVolume().

◆ setVolumeLevel()

void LCDProcClient::setVolumeLevel ( float  value)

Definition at line 1727 of file lcdprocclient.cpp.

Referenced by LCDServer::setVolumeLevel().

◆ switchToNothing()

void LCDProcClient::switchToNothing ( )

Definition at line 2282 of file lcdprocclient.cpp.

Referenced by LCDServer::switchToNothing().

◆ shutdown()

void LCDProcClient::shutdown ( )

Definition at line 2293 of file lcdprocclient.cpp.

◆ removeWidgets()

void LCDProcClient::removeWidgets ( )

Definition at line 2309 of file lcdprocclient.cpp.

Referenced by reset(), and shutdown().

◆ updateLEDs()

void LCDProcClient::updateLEDs ( int  mask)

Definition at line 1742 of file lcdprocclient.cpp.

Referenced by LCDServer::updateLEDs().

◆ stopAll()

void LCDProcClient::stopAll ( void  )

◆ getLCDWidth()

int LCDProcClient::getLCDWidth ( void  ) const
inline

Definition at line 63 of file lcdprocclient.h.

Referenced by LCDServer::sendConnected().

◆ getLCDHeight()

int LCDProcClient::getLCDHeight ( void  ) const
inline

Definition at line 64 of file lcdprocclient.h.

Referenced by LCDServer::sendConnected().

◆ veryBadThings

void LCDProcClient::veryBadThings ( QAbstractSocket::SocketError  error)
privateslot

Definition at line 749 of file lcdprocclient.cpp.

Referenced by LCDProcClient().

◆ serverSendingData

void LCDProcClient::serverSendingData ( )
privateslot

Definition at line 317 of file lcdprocclient.cpp.

Referenced by LCDProcClient().

◆ checkConnections

void LCDProcClient::checkConnections ( )
privateslot

Definition at line 286 of file lcdprocclient.cpp.

Referenced by LCDProcClient().

◆ dobigclock

void LCDProcClient::dobigclock ( void  )
privateslot

Definition at line 1757 of file lcdprocclient.cpp.

Referenced by outputTime().

◆ dostdclock

void LCDProcClient::dostdclock ( )
privateslot

Definition at line 1858 of file lcdprocclient.cpp.

Referenced by outputTime().

◆ outputTime

void LCDProcClient::outputTime ( )
privateslot

Definition at line 1850 of file lcdprocclient.cpp.

Referenced by LCDProcClient(), outputRecStatus(), and startTime().

◆ outputMusic

void LCDProcClient::outputMusic ( )
privateslot

Definition at line 2091 of file lcdprocclient.cpp.

Referenced by setMusicProgress(), setMusicRepeat(), and setMusicShuffle().

◆ outputChannel

void LCDProcClient::outputChannel ( )
privateslot

Definition at line 2147 of file lcdprocclient.cpp.

Referenced by setChannelProgress(), and startChannel().

◆ outputGeneric

void LCDProcClient::outputGeneric ( )
privateslot

Definition at line 2165 of file lcdprocclient.cpp.

Referenced by setGenericProgress(), and startGeneric().

◆ outputVolume

void LCDProcClient::outputVolume ( )
privateslot

Definition at line 2182 of file lcdprocclient.cpp.

Referenced by setVolumeLevel(), and startVolume().

◆ outputRecStatus

void LCDProcClient::outputRecStatus ( )
privateslot

Definition at line 1907 of file lcdprocclient.cpp.

Referenced by LCDProcClient().

◆ scrollMenuText

void LCDProcClient::scrollMenuText ( )
privateslot

Definition at line 1414 of file lcdprocclient.cpp.

Referenced by LCDProcClient().

◆ beginScrollingMenuText

void LCDProcClient::beginScrollingMenuText ( )
privateslot

Definition at line 1376 of file lcdprocclient.cpp.

Referenced by LCDProcClient().

◆ unPopMenu

void LCDProcClient::unPopMenu ( )
privateslot

Definition at line 1633 of file lcdprocclient.cpp.

Referenced by LCDProcClient(), and stopAll().

◆ scrollList

void LCDProcClient::scrollList ( )
privateslot

Definition at line 757 of file lcdprocclient.cpp.

Referenced by assignScrollingList(), and LCDProcClient().

◆ updateRecordingList

void LCDProcClient::updateRecordingList ( void  )
privateslot

Definition at line 2414 of file lcdprocclient.cpp.

Referenced by init(), and LCDProcClient().

◆ removeStartupMessage

void LCDProcClient::removeStartupMessage ( void  )
privateslot

Definition at line 625 of file lcdprocclient.cpp.

Referenced by LCDProcClient().

◆ beginScrollingWidgets

void LCDProcClient::beginScrollingWidgets ( void  )
privateslot

Definition at line 996 of file lcdprocclient.cpp.

Referenced by LCDProcClient().

◆ scrollWidgets

void LCDProcClient::scrollWidgets ( void  )
privateslot

Definition at line 1003 of file lcdprocclient.cpp.

Referenced by LCDProcClient().

◆ outputCenteredText()

void LCDProcClient::outputCenteredText ( const QString &  theScreen,
QString  theText,
const QString &  widget = "topWidget",
int  row = 1 
)
private

◆ outputLeftText()

void LCDProcClient::outputLeftText ( const QString &  theScreen,
QString  theText,
const QString &  widget = "topWidget",
int  row = 1 
)
private

◆ outputRightText()

void LCDProcClient::outputRightText ( const QString &  theScreen,
QString  theText,
const QString &  widget = "topWidget",
int  row = 1 
)
private

Definition at line 902 of file lcdprocclient.cpp.

Referenced by dobigclock(), outputText(), and outputVolume().

◆ outputScrollerText()

void LCDProcClient::outputScrollerText ( const QString &  theScreen,
const QString &  theText,
const QString &  widget = "scroller",
int  top = 1,
int  bottom = 1 
)
private

Definition at line 2034 of file lcdprocclient.cpp.

◆ formatScrollerText()

QStringList LCDProcClient::formatScrollerText ( const QString &  text) const
private

Definition at line 2048 of file lcdprocclient.cpp.

Referenced by outputRecStatus(), showStartupMessage(), and startChannel().

◆ outputText()

void LCDProcClient::outputText ( QList< LCDTextItem > *  textItems)
private

Definition at line 818 of file lcdprocclient.cpp.

Referenced by startGeneric().

◆ sendToServer()

void LCDProcClient::sendToServer ( const QString &  someText)
private

◆ setPriority()

void LCDProcClient::setPriority ( const QString &  screen,
PRIORITY  priority 
)
private

◆ setHeartbeat()

void LCDProcClient::setHeartbeat ( const QString &  screen,
bool  onoff 
)
private

Definition at line 258 of file lcdprocclient.cpp.

Referenced by loadSettings().

◆ expandString()

QString LCDProcClient::expandString ( const QString &  aString) const
private

Definition at line 529 of file lcdprocclient.cpp.

Referenced by loadSettings().

◆ init()

void LCDProcClient::init ( )
private

Definition at line 415 of file lcdprocclient.cpp.

Referenced by reset(), and serverSendingData().

◆ loadSettings()

void LCDProcClient::loadSettings ( )
private

Definition at line 539 of file lcdprocclient.cpp.

Referenced by init(), and reset().

◆ assignScrollingList()

void LCDProcClient::assignScrollingList ( QStringList  theList,
QString  theScreen,
QString  theWidget = "topWidget",
int  theRow = 1 
)
private

Definition at line 920 of file lcdprocclient.cpp.

Referenced by outputRecStatus(), and startChannel().

◆ assignScrollingWidgets()

void LCDProcClient::assignScrollingWidgets ( const QString &  theText,
const QString &  theScreen,
const QString &  theWidget = "topWidget",
int  theRow = 1 
)
private

Definition at line 940 of file lcdprocclient.cpp.

Referenced by outputText(), startChannel(), startGeneric(), and startMusic().

◆ formatScrollingWidgets()

void LCDProcClient::formatScrollingWidgets ( void  )
private

Definition at line 950 of file lcdprocclient.cpp.

Referenced by startChannel(), startGeneric(), and startMusic().

◆ startTime()

void LCDProcClient::startTime ( )
private

Definition at line 804 of file lcdprocclient.cpp.

Referenced by switchToTime(), and updateRecordingList().

◆ startMusic()

void LCDProcClient::startMusic ( QString  artist,
const QString &  album,
const QString &  track 
)
private

Definition at line 1038 of file lcdprocclient.cpp.

Referenced by switchToMusic().

◆ startChannel()

void LCDProcClient::startChannel ( const QString &  channum,
const QString &  title,
const QString &  subtitle 
)
private

Definition at line 1093 of file lcdprocclient.cpp.

Referenced by switchToChannel().

◆ startGeneric()

void LCDProcClient::startGeneric ( QList< LCDTextItem > *  textItems)
private

Definition at line 1131 of file lcdprocclient.cpp.

Referenced by switchToGeneric().

◆ startMenu()

void LCDProcClient::startMenu ( QList< LCDMenuItem > *  menuItems,
QString  app_name,
bool  popMenu 
)
private

Definition at line 1181 of file lcdprocclient.cpp.

Referenced by switchToMenu().

◆ startVolume()

void LCDProcClient::startVolume ( const QString &  app_name)
private

Definition at line 1622 of file lcdprocclient.cpp.

Referenced by switchToVolume().

◆ showStartupMessage()

void LCDProcClient::showStartupMessage ( void  )
private

Definition at line 602 of file lcdprocclient.cpp.

Referenced by init().

◆ setWidth()

void LCDProcClient::setWidth ( unsigned int  x)
private

Definition at line 636 of file lcdprocclient.cpp.

Referenced by serverSendingData().

◆ setHeight()

void LCDProcClient::setHeight ( unsigned int  x)
private

Definition at line 643 of file lcdprocclient.cpp.

Referenced by serverSendingData().

◆ setCellWidth()

void LCDProcClient::setCellWidth ( unsigned int  x)
private

Definition at line 650 of file lcdprocclient.cpp.

Referenced by serverSendingData().

◆ setCellHeight()

void LCDProcClient::setCellHeight ( unsigned int  x)
private

Definition at line 657 of file lcdprocclient.cpp.

Referenced by serverSendingData().

◆ setVersion()

void LCDProcClient::setVersion ( const QString &  sversion,
const QString &  pversion 
)
private

Definition at line 664 of file lcdprocclient.cpp.

Referenced by serverSendingData().

◆ describeServer()

void LCDProcClient::describeServer ( )
private

Definition at line 696 of file lcdprocclient.cpp.

Referenced by serverSendingData().

Member Data Documentation

◆ m_activeScreen

QString LCDProcClient::m_activeScreen
private

◆ m_socket

QTcpSocket* LCDProcClient::m_socket {nullptr}
private

◆ m_timeTimer

QTimer* LCDProcClient::m_timeTimer {nullptr}
private

Definition at line 143 of file lcdprocclient.h.

Referenced by LCDProcClient(), outputRecStatus(), startTime(), and stopAll().

◆ m_scrollWTimer

QTimer* LCDProcClient::m_scrollWTimer {nullptr}
private

◆ m_preScrollWTimer

QTimer* LCDProcClient::m_preScrollWTimer {nullptr}
private

◆ m_menuScrollTimer

QTimer* LCDProcClient::m_menuScrollTimer {nullptr}
private

◆ m_menuPreScrollTimer

QTimer* LCDProcClient::m_menuPreScrollTimer {nullptr}
private

Definition at line 147 of file lcdprocclient.h.

Referenced by LCDProcClient(), startMenu(), and stopAll().

◆ m_popMenuTimer

QTimer* LCDProcClient::m_popMenuTimer {nullptr}
private

Definition at line 148 of file lcdprocclient.h.

Referenced by LCDProcClient(), startMenu(), and stopAll().

◆ m_checkConnectionsTimer

QTimer* LCDProcClient::m_checkConnectionsTimer {nullptr}
private

Definition at line 149 of file lcdprocclient.h.

Referenced by LCDProcClient().

◆ m_recStatusTimer

QTimer* LCDProcClient::m_recStatusTimer {nullptr}
private

Definition at line 150 of file lcdprocclient.h.

Referenced by LCDProcClient(), outputRecStatus(), startTime(), and stopAll().

◆ m_scrollListTimer

QTimer* LCDProcClient::m_scrollListTimer {nullptr}
private

Definition at line 151 of file lcdprocclient.h.

Referenced by assignScrollingList(), LCDProcClient(), outputRecStatus(), and stopAll().

◆ m_showMessageTimer

QTimer* LCDProcClient::m_showMessageTimer {nullptr}
private

Definition at line 152 of file lcdprocclient.h.

Referenced by LCDProcClient(), and showStartupMessage().

◆ m_updateRecInfoTimer

QTimer* LCDProcClient::m_updateRecInfoTimer {nullptr}
private

Definition at line 153 of file lcdprocclient.h.

Referenced by customEvent(), and LCDProcClient().

◆ m_prioTop

QString LCDProcClient::m_prioTop
private

Definition at line 155 of file lcdprocclient.h.

Referenced by setPriority(), and setVersion().

◆ m_prioUrgent

QString LCDProcClient::m_prioUrgent
private

Definition at line 156 of file lcdprocclient.h.

Referenced by setPriority(), and setVersion().

◆ m_prioHigh

QString LCDProcClient::m_prioHigh
private

Definition at line 157 of file lcdprocclient.h.

Referenced by setPriority(), and setVersion().

◆ m_prioMedium

QString LCDProcClient::m_prioMedium
private

Definition at line 158 of file lcdprocclient.h.

Referenced by setPriority(), and setVersion().

◆ m_prioLow

QString LCDProcClient::m_prioLow
private

Definition at line 159 of file lcdprocclient.h.

Referenced by setPriority(), and setVersion().

◆ m_prioOff

QString LCDProcClient::m_prioOff
private

Definition at line 160 of file lcdprocclient.h.

Referenced by setPriority(), and setVersion().

◆ m_lcdWidth

unsigned int LCDProcClient::m_lcdWidth {5}
private

◆ m_lcdHeight

unsigned int LCDProcClient::m_lcdHeight {1}
private

◆ m_cellWidth

unsigned int LCDProcClient::m_cellWidth {1}
private

◆ m_cellHeight

unsigned int LCDProcClient::m_cellHeight {1}
private

Definition at line 165 of file lcdprocclient.h.

Referenced by describeServer(), and setCellHeight().

◆ m_serverVersion

QString LCDProcClient::m_serverVersion
private

Definition at line 167 of file lcdprocclient.h.

Referenced by describeServer(), and setVersion().

◆ m_protocolVersion

QString LCDProcClient::m_protocolVersion
private

Definition at line 168 of file lcdprocclient.h.

Referenced by describeServer(), and setVersion().

◆ m_pVersion

int LCDProcClient::m_pVersion {0}
private

Definition at line 169 of file lcdprocclient.h.

Referenced by expandString(), setHeartbeat(), and setVersion().

◆ m_progress

float LCDProcClient::m_progress {0.0}
private

Definition at line 171 of file lcdprocclient.h.

Referenced by outputChannel(), setChannelProgress(), and startChannel().

◆ m_channelTime

QString LCDProcClient::m_channelTime
private

Definition at line 172 of file lcdprocclient.h.

Referenced by outputChannel(), setChannelProgress(), and startChannel().

◆ m_busyProgress

bool LCDProcClient::m_busyProgress {false}
private

true if the generic progress indicator is a busy (ie.

doesn't have a known total steps

Definition at line 175 of file lcdprocclient.h.

Referenced by setGenericProgress(), and startGeneric().

◆ m_busyPos

int LCDProcClient::m_busyPos {0}
private

Current position of the busy indicator, used if m_busyProgress is true.

Definition at line 178 of file lcdprocclient.h.

Referenced by outputGeneric(), setGenericProgress(), and startGeneric().

◆ m_busyIndicatorSize

float LCDProcClient::m_busyIndicatorSize {0.0}
private

How many "blocks" the busy indicator must be, used if m_busyProgress is true.

Definition at line 181 of file lcdprocclient.h.

Referenced by setGenericProgress(), and startGeneric().

◆ m_busyDirection

int LCDProcClient::m_busyDirection {1}
private

Direction of the busy indicator on the, -1 or 1, used if m_busyProgress is true.

Definition at line 184 of file lcdprocclient.h.

Referenced by setGenericProgress(), and startGeneric().

◆ m_genericProgress

float LCDProcClient::m_genericProgress {0.0}
private

Definition at line 185 of file lcdprocclient.h.

Referenced by outputGeneric(), setGenericProgress(), and startGeneric().

◆ m_volumeLevel

float LCDProcClient::m_volumeLevel {0.0}
private

Definition at line 186 of file lcdprocclient.h.

Referenced by outputVolume(), setVolumeLevel(), and startVolume().

◆ m_musicProgress

float LCDProcClient::m_musicProgress {0.0}
private

Definition at line 188 of file lcdprocclient.h.

Referenced by outputMusic(), setMusicProgress(), and startMusic().

◆ m_musicTime

QString LCDProcClient::m_musicTime
private

Definition at line 189 of file lcdprocclient.h.

Referenced by outputMusic(), and setMusicProgress().

◆ m_musicRepeat

int LCDProcClient::m_musicRepeat {0}
private

Definition at line 190 of file lcdprocclient.h.

Referenced by outputMusic(), and setMusicRepeat().

◆ m_musicShuffle

int LCDProcClient::m_musicShuffle {0}
private

Definition at line 191 of file lcdprocclient.h.

Referenced by outputMusic(), and setMusicShuffle().

◆ m_lcdTextItems

QList<LCDTextItem>* LCDProcClient::m_lcdTextItems {nullptr}
private

◆ m_scrollScreen

QString LCDProcClient::m_scrollScreen
private

Definition at line 195 of file lcdprocclient.h.

Referenced by assignScrollingWidgets(), formatScrollingWidgets(), and scrollWidgets().

◆ m_scrollPosition

unsigned int LCDProcClient::m_scrollPosition {0}
private

Definition at line 196 of file lcdprocclient.h.

Referenced by beginScrollingWidgets(), and scrollWidgets().

◆ m_timeFormat

QString LCDProcClient::m_timeFormat
private

Definition at line 197 of file lcdprocclient.h.

Referenced by dobigclock(), dostdclock(), and loadSettings().

◆ m_dateFormat

QString LCDProcClient::m_dateFormat
private

Definition at line 198 of file lcdprocclient.h.

Referenced by dostdclock(), and loadSettings().

◆ m_scrollListItems

QStringList LCDProcClient::m_scrollListItems
private

Definition at line 200 of file lcdprocclient.h.

Referenced by assignScrollingList(), outputRecStatus(), and scrollList().

◆ m_scrollListScreen

QString LCDProcClient::m_scrollListScreen
private

Definition at line 201 of file lcdprocclient.h.

Referenced by assignScrollingList(), and scrollList().

◆ m_scrollListWidget

QString LCDProcClient::m_scrollListWidget
private

Definition at line 202 of file lcdprocclient.h.

Referenced by assignScrollingList(), and scrollList().

◆ m_scrollListRow

int LCDProcClient::m_scrollListRow {0}
private

Definition at line 203 of file lcdprocclient.h.

Referenced by assignScrollingList(), and scrollList().

◆ m_scrollListItem

unsigned int LCDProcClient::m_scrollListItem {0}
private

Definition at line 204 of file lcdprocclient.h.

Referenced by assignScrollingList(), and scrollList().

◆ m_menuScrollPosition

unsigned int LCDProcClient::m_menuScrollPosition {0}
private

Definition at line 206 of file lcdprocclient.h.

Referenced by beginScrollingMenuText(), and scrollMenuText().

◆ m_lcdMenuItems

QList<LCDMenuItem>* LCDProcClient::m_lcdMenuItems {nullptr}
private

Definition at line 207 of file lcdprocclient.h.

Referenced by beginScrollingMenuText(), scrollMenuText(), startMenu(), and ~LCDProcClient().

◆ m_connected

bool LCDProcClient::m_connected {false}
private

Definition at line 209 of file lcdprocclient.h.

Referenced by checkConnections(), connectToHost(), init(), sendToServer(), SetupLCD(), and shutdown().

◆ m_timeFlash

bool LCDProcClient::m_timeFlash {false}
private

Definition at line 210 of file lcdprocclient.h.

Referenced by dobigclock(), and dostdclock().

◆ m_sendBuffer

QString LCDProcClient::m_sendBuffer
private

Definition at line 212 of file lcdprocclient.h.

Referenced by init(), and sendToServer().

◆ m_lastCommand

QString LCDProcClient::m_lastCommand
private

Definition at line 213 of file lcdprocclient.h.

Referenced by sendToServer(), and serverSendingData().

◆ m_hostname

QString LCDProcClient::m_hostname
private

Definition at line 214 of file lcdprocclient.h.

Referenced by checkConnections(), and connectToHost().

◆ m_port

unsigned int LCDProcClient::m_port {13666}
private

Definition at line 215 of file lcdprocclient.h.

Referenced by checkConnections(), and connectToHost().

◆ m_lcdReady

bool LCDProcClient::m_lcdReady {false}
private

◆ m_lcdShowTime

bool LCDProcClient::m_lcdShowTime {true}
private

Definition at line 219 of file lcdprocclient.h.

Referenced by describeServer(), dostdclock(), loadSettings(), and outputRecStatus().

◆ m_lcdShowMenu

bool LCDProcClient::m_lcdShowMenu {true}
private

Definition at line 220 of file lcdprocclient.h.

Referenced by describeServer(), loadSettings(), and startMenu().

◆ m_lcdShowGeneric

bool LCDProcClient::m_lcdShowGeneric {true}
private

Definition at line 221 of file lcdprocclient.h.

Referenced by describeServer(), loadSettings(), and startGeneric().

◆ m_lcdShowMusic

bool LCDProcClient::m_lcdShowMusic {true}
private

Definition at line 222 of file lcdprocclient.h.

Referenced by describeServer(), loadSettings(), and startMusic().

◆ m_lcdShowChannel

bool LCDProcClient::m_lcdShowChannel {true}
private

Definition at line 223 of file lcdprocclient.h.

Referenced by describeServer(), loadSettings(), and startChannel().

◆ m_lcdShowVolume

bool LCDProcClient::m_lcdShowVolume {true}
private

Definition at line 224 of file lcdprocclient.h.

Referenced by describeServer(), loadSettings(), and startVolume().

◆ m_lcdShowRecstatus

bool LCDProcClient::m_lcdShowRecstatus {true}
private

◆ m_lcdBacklightOn

bool LCDProcClient::m_lcdBacklightOn {true}
private

Definition at line 226 of file lcdprocclient.h.

Referenced by describeServer(), and loadSettings().

◆ m_lcdHeartbeatOn

bool LCDProcClient::m_lcdHeartbeatOn {true}
private

Definition at line 227 of file lcdprocclient.h.

Referenced by describeServer(), and loadSettings().

◆ m_lcdBigClock

bool LCDProcClient::m_lcdBigClock {true}
private

Definition at line 228 of file lcdprocclient.h.

Referenced by loadSettings(), outputTime(), and removeWidgets().

◆ m_lcdPopupTime

std::chrono::milliseconds LCDProcClient::m_lcdPopupTime {0ms}
private

Definition at line 229 of file lcdprocclient.h.

Referenced by describeServer(), loadSettings(), and startMenu().

◆ m_lcdShowMusicItems

QString LCDProcClient::m_lcdShowMusicItems
private

Definition at line 230 of file lcdprocclient.h.

Referenced by describeServer(), loadSettings(), and startMusic().

◆ m_lcdKeyString

QString LCDProcClient::m_lcdKeyString
private

Definition at line 231 of file lcdprocclient.h.

Referenced by init(), and loadSettings().

◆ m_parentLCDServer

LCDServer* LCDProcClient::m_parentLCDServer {nullptr}
private

Definition at line 232 of file lcdprocclient.h.

Referenced by serverSendingData().

◆ m_startupMessage

QString LCDProcClient::m_startupMessage
private

Definition at line 233 of file lcdprocclient.h.

Referenced by init(), setStartupMessage(), and showStartupMessage().

◆ m_startupShowTime

std::chrono::seconds LCDProcClient::m_startupShowTime {0s}
private

Definition at line 234 of file lcdprocclient.h.

Referenced by setStartupMessage(), and showStartupMessage().

◆ m_isRecording

bool LCDProcClient::m_isRecording {false}
private

◆ m_isTimeVisible

bool LCDProcClient::m_isTimeVisible {false}
private

Definition at line 237 of file lcdprocclient.h.

Referenced by outputRecStatus(), and startTime().

◆ m_lcdTunerNo

int LCDProcClient::m_lcdTunerNo {0}
private

Definition at line 238 of file lcdprocclient.h.

Referenced by outputRecStatus(), and updateRecordingList().

◆ m_tunerList

std::vector<TunerStatus> LCDProcClient::m_tunerList
private

Definition at line 240 of file lcdprocclient.h.

Referenced by dobigclock(), outputRecStatus(), and updateRecordingList().


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