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

#include <mythlcdserver/lcdprocclient.h>

Inheritance diagram for LCDProcClient:
[legend]
Collaboration diagram for LCDProcClient:
[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 : std::uint8_t {
  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
 
uint8_t m_lcdWidth {5}
 
uint8_t m_lcdHeight {1}
 
uint8_t m_cellWidth {1}
 
uint8_t m_cellHeight {1}
 
QString m_serverVersion
 
QString m_protocolVersion
 
uint8_t 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

enum LCDProcClient::PRIORITY : std::uint8_t
private
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 49 of file lcdprocclient.cpp.

◆ ~LCDProcClient()

LCDProcClient::~LCDProcClient ( )
override

Definition at line 2383 of file lcdprocclient.cpp.

Member Function Documentation

◆ assignScrollingList()

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

Definition at line 917 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 937 of file lcdprocclient.cpp.

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

◆ beginScrollingMenuText

void LCDProcClient::beginScrollingMenuText ( )
privateslot

Definition at line 1373 of file lcdprocclient.cpp.

Referenced by LCDProcClient().

◆ beginScrollingWidgets

void LCDProcClient::beginScrollingWidgets ( void  )
privateslot

Definition at line 993 of file lcdprocclient.cpp.

Referenced by LCDProcClient().

◆ checkConnections

void LCDProcClient::checkConnections ( )
privateslot

Definition at line 283 of file lcdprocclient.cpp.

Referenced by LCDProcClient().

◆ connectToHost()

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

Definition at line 134 of file lcdprocclient.cpp.

Referenced by checkConnections(), and SetupLCD().

◆ customEvent()

void LCDProcClient::customEvent ( QEvent *  e)
override

Definition at line 2403 of file lcdprocclient.cpp.

◆ describeServer()

void LCDProcClient::describeServer ( )
private

Definition at line 693 of file lcdprocclient.cpp.

Referenced by serverSendingData().

◆ dobigclock

void LCDProcClient::dobigclock ( void  )
privateslot

Definition at line 1758 of file lcdprocclient.cpp.

Referenced by outputTime().

◆ dostdclock

void LCDProcClient::dostdclock ( )
privateslot

Definition at line 1859 of file lcdprocclient.cpp.

Referenced by outputTime().

◆ expandString()

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

Definition at line 526 of file lcdprocclient.cpp.

Referenced by loadSettings().

◆ formatScrollerText()

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

Definition at line 2055 of file lcdprocclient.cpp.

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

◆ formatScrollingWidgets()

void LCDProcClient::formatScrollingWidgets ( void  )
private

Definition at line 947 of file lcdprocclient.cpp.

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

◆ getLCDHeight()

int LCDProcClient::getLCDHeight ( void  ) const
inline

Definition at line 64 of file lcdprocclient.h.

Referenced by LCDServer::sendConnected().

◆ getLCDWidth()

int LCDProcClient::getLCDWidth ( void  ) const
inline

Definition at line 63 of file lcdprocclient.h.

Referenced by LCDServer::sendConnected().

◆ init()

void LCDProcClient::init ( )
private

Definition at line 412 of file lcdprocclient.cpp.

Referenced by reset(), and serverSendingData().

◆ loadSettings()

void LCDProcClient::loadSettings ( )
private

Definition at line 536 of file lcdprocclient.cpp.

Referenced by init(), and reset().

◆ outputCenteredText()

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

◆ outputChannel

void LCDProcClient::outputChannel ( )
privateslot

Definition at line 2156 of file lcdprocclient.cpp.

Referenced by setChannelProgress(), and startChannel().

◆ outputGeneric

void LCDProcClient::outputGeneric ( )
privateslot

Definition at line 2176 of file lcdprocclient.cpp.

Referenced by setGenericProgress(), and startGeneric().

◆ outputLeftText()

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

◆ outputMusic

void LCDProcClient::outputMusic ( )
privateslot

Definition at line 2098 of file lcdprocclient.cpp.

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

◆ outputRecStatus

void LCDProcClient::outputRecStatus ( void  )
privateslot

Definition at line 1912 of file lcdprocclient.cpp.

Referenced by LCDProcClient().

◆ outputRightText()

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

Definition at line 899 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 2041 of file lcdprocclient.cpp.

◆ outputText()

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

Definition at line 815 of file lcdprocclient.cpp.

Referenced by startGeneric().

◆ outputTime

void LCDProcClient::outputTime ( )
privateslot

Definition at line 1851 of file lcdprocclient.cpp.

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

◆ outputVolume

void LCDProcClient::outputVolume ( )
privateslot

Definition at line 2196 of file lcdprocclient.cpp.

Referenced by setVolumeLevel(), and startVolume().

◆ removeStartupMessage

void LCDProcClient::removeStartupMessage ( void  )
privateslot

Definition at line 622 of file lcdprocclient.cpp.

Referenced by LCDProcClient().

◆ removeWidgets()

void LCDProcClient::removeWidgets ( )

Definition at line 2323 of file lcdprocclient.cpp.

Referenced by reset(), and shutdown().

◆ reset()

void LCDProcClient::reset ( void  )

Definition at line 1751 of file lcdprocclient.cpp.

Referenced by LCDServer::parseTokens().

◆ scrollList

void LCDProcClient::scrollList ( )
privateslot

Definition at line 754 of file lcdprocclient.cpp.

Referenced by assignScrollingList(), and LCDProcClient().

◆ scrollMenuText

void LCDProcClient::scrollMenuText ( )
privateslot

Definition at line 1413 of file lcdprocclient.cpp.

Referenced by LCDProcClient().

◆ scrollWidgets

void LCDProcClient::scrollWidgets ( void  )
privateslot

Definition at line 1000 of file lcdprocclient.cpp.

Referenced by LCDProcClient().

◆ sendToServer()

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

◆ serverSendingData

void LCDProcClient::serverSendingData ( )
privateslot

Definition at line 314 of file lcdprocclient.cpp.

Referenced by LCDProcClient().

◆ setCellHeight()

void LCDProcClient::setCellHeight ( unsigned int  x)
private

Definition at line 654 of file lcdprocclient.cpp.

Referenced by serverSendingData().

◆ setCellWidth()

void LCDProcClient::setCellWidth ( unsigned int  x)
private

Definition at line 647 of file lcdprocclient.cpp.

Referenced by serverSendingData().

◆ setChannelProgress()

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

Definition at line 1644 of file lcdprocclient.cpp.

Referenced by LCDServer::setChannelProgress().

◆ setGenericProgress()

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

Definition at line 1660 of file lcdprocclient.cpp.

Referenced by LCDServer::setGenericProgress().

◆ setHeartbeat()

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

Definition at line 255 of file lcdprocclient.cpp.

Referenced by loadSettings().

◆ setHeight()

void LCDProcClient::setHeight ( unsigned int  x)
private

Definition at line 640 of file lcdprocclient.cpp.

Referenced by serverSendingData().

◆ setMusicProgress()

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

Definition at line 1695 of file lcdprocclient.cpp.

Referenced by LCDServer::setMusicProgress().

◆ setMusicRepeat()

void LCDProcClient::setMusicRepeat ( int  repeat)

Definition at line 1711 of file lcdprocclient.cpp.

Referenced by LCDServer::setMusicProp().

◆ setMusicShuffle()

void LCDProcClient::setMusicShuffle ( int  shuffle)

Definition at line 1721 of file lcdprocclient.cpp.

Referenced by LCDServer::setMusicProp().

◆ setPriority()

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

◆ setStartupMessage()

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

Definition at line 627 of file lcdprocclient.cpp.

Referenced by LCDServer::LCDServer().

◆ SetupLCD()

bool LCDProcClient::SetupLCD ( void  )

Definition at line 123 of file lcdprocclient.cpp.

Referenced by LCDServer::LCDServer().

◆ setVersion()

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

Definition at line 661 of file lcdprocclient.cpp.

Referenced by serverSendingData().

◆ setVolumeLevel()

void LCDProcClient::setVolumeLevel ( float  value)

Definition at line 1731 of file lcdprocclient.cpp.

Referenced by LCDServer::setVolumeLevel().

◆ setWidth()

void LCDProcClient::setWidth ( unsigned int  x)
private

Definition at line 633 of file lcdprocclient.cpp.

Referenced by serverSendingData().

◆ showStartupMessage()

void LCDProcClient::showStartupMessage ( void  )
private

Definition at line 599 of file lcdprocclient.cpp.

Referenced by init().

◆ shutdown()

void LCDProcClient::shutdown ( )

Definition at line 2307 of file lcdprocclient.cpp.

◆ startChannel()

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

Definition at line 1090 of file lcdprocclient.cpp.

Referenced by switchToChannel().

◆ startGeneric()

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

Definition at line 1128 of file lcdprocclient.cpp.

Referenced by switchToGeneric().

◆ startMenu()

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

Definition at line 1178 of file lcdprocclient.cpp.

Referenced by switchToMenu().

◆ startMusic()

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

Definition at line 1035 of file lcdprocclient.cpp.

Referenced by switchToMusic().

◆ startTime()

void LCDProcClient::startTime ( )
private

Definition at line 801 of file lcdprocclient.cpp.

Referenced by switchToTime(), and updateRecordingList().

◆ startVolume()

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

Definition at line 1626 of file lcdprocclient.cpp.

Referenced by switchToVolume().

◆ stopAll()

void LCDProcClient::stopAll ( void  )

◆ switchToChannel()

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

Definition at line 2246 of file lcdprocclient.cpp.

Referenced by LCDServer::switchToChannel().

◆ switchToGeneric()

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

Definition at line 2271 of file lcdprocclient.cpp.

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

◆ switchToMenu()

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

Definition at line 2259 of file lcdprocclient.cpp.

Referenced by LCDServer::switchToMenu().

◆ switchToMusic()

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

Definition at line 2233 of file lcdprocclient.cpp.

Referenced by LCDServer::switchToMusic().

◆ switchToNothing()

void LCDProcClient::switchToNothing ( )

Definition at line 2296 of file lcdprocclient.cpp.

Referenced by LCDServer::switchToNothing().

◆ switchToTime()

void LCDProcClient::switchToTime ( )

◆ switchToVolume()

void LCDProcClient::switchToVolume ( const QString &  app_name)

Definition at line 2283 of file lcdprocclient.cpp.

Referenced by LCDServer::switchToVolume().

◆ unPopMenu

void LCDProcClient::unPopMenu ( )
privateslot

Definition at line 1637 of file lcdprocclient.cpp.

Referenced by LCDProcClient(), and stopAll().

◆ updateLEDs()

void LCDProcClient::updateLEDs ( int  mask)

Definition at line 1743 of file lcdprocclient.cpp.

Referenced by LCDServer::updateLEDs().

◆ updateRecordingList

void LCDProcClient::updateRecordingList ( void  )
privateslot

Definition at line 2428 of file lcdprocclient.cpp.

Referenced by init(), LCDProcClient(), and updateRecordingList().

◆ veryBadThings

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

Definition at line 746 of file lcdprocclient.cpp.

Referenced by LCDProcClient().

Member Data Documentation

◆ m_activeScreen

QString LCDProcClient::m_activeScreen
private

◆ 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_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_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_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_cellHeight

uint8_t LCDProcClient::m_cellHeight {1}
private

Definition at line 165 of file lcdprocclient.h.

Referenced by describeServer(), and setCellHeight().

◆ m_cellWidth

uint8_t LCDProcClient::m_cellWidth {1}
private

◆ m_channelTime

QString LCDProcClient::m_channelTime
private

Definition at line 172 of file lcdprocclient.h.

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

◆ m_checkConnectionsTimer

QTimer* LCDProcClient::m_checkConnectionsTimer {nullptr}
private

Definition at line 149 of file lcdprocclient.h.

Referenced by 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_dateFormat

QString LCDProcClient::m_dateFormat
private

Definition at line 198 of file lcdprocclient.h.

Referenced by dostdclock(), and loadSettings().

◆ m_genericProgress

float LCDProcClient::m_genericProgress {0.0}
private

Definition at line 185 of file lcdprocclient.h.

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

◆ m_hostname

QString LCDProcClient::m_hostname
private

Definition at line 214 of file lcdprocclient.h.

Referenced by checkConnections(), and connectToHost().

◆ 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_lastCommand

QString LCDProcClient::m_lastCommand
private

Definition at line 213 of file lcdprocclient.h.

Referenced by sendToServer(), and serverSendingData().

◆ m_lcdBacklightOn

bool LCDProcClient::m_lcdBacklightOn {true}
private

Definition at line 226 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_lcdHeartbeatOn

bool LCDProcClient::m_lcdHeartbeatOn {true}
private

Definition at line 227 of file lcdprocclient.h.

Referenced by describeServer(), and loadSettings().

◆ m_lcdHeight

uint8_t LCDProcClient::m_lcdHeight {1}
private

◆ m_lcdKeyString

QString LCDProcClient::m_lcdKeyString
private

Definition at line 231 of file lcdprocclient.h.

Referenced by init(), and loadSettings().

◆ 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_lcdPopupTime

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

Definition at line 229 of file lcdprocclient.h.

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

◆ m_lcdReady

bool LCDProcClient::m_lcdReady {false}
private

◆ m_lcdShowChannel

bool LCDProcClient::m_lcdShowChannel {true}
private

Definition at line 223 of file lcdprocclient.h.

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

◆ m_lcdShowGeneric

bool LCDProcClient::m_lcdShowGeneric {true}
private

Definition at line 221 of file lcdprocclient.h.

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

◆ m_lcdShowMenu

bool LCDProcClient::m_lcdShowMenu {true}
private

Definition at line 220 of file lcdprocclient.h.

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

◆ m_lcdShowMusic

bool LCDProcClient::m_lcdShowMusic {true}
private

Definition at line 222 of file lcdprocclient.h.

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

◆ m_lcdShowMusicItems

QString LCDProcClient::m_lcdShowMusicItems
private

Definition at line 230 of file lcdprocclient.h.

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

◆ m_lcdShowRecstatus

bool LCDProcClient::m_lcdShowRecstatus {true}
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_lcdShowVolume

bool LCDProcClient::m_lcdShowVolume {true}
private

Definition at line 224 of file lcdprocclient.h.

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

◆ m_lcdTextItems

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

◆ m_lcdTunerNo

int LCDProcClient::m_lcdTunerNo {0}
private

Definition at line 238 of file lcdprocclient.h.

Referenced by outputRecStatus(), and updateRecordingList().

◆ m_lcdWidth

uint8_t LCDProcClient::m_lcdWidth {5}
private

◆ m_menuPreScrollTimer

QTimer* LCDProcClient::m_menuPreScrollTimer {nullptr}
private

Definition at line 147 of file lcdprocclient.h.

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

◆ m_menuScrollPosition

unsigned int LCDProcClient::m_menuScrollPosition {0}
private

Definition at line 206 of file lcdprocclient.h.

Referenced by beginScrollingMenuText(), and scrollMenuText().

◆ m_menuScrollTimer

QTimer* LCDProcClient::m_menuScrollTimer {nullptr}
private

◆ m_musicProgress

float LCDProcClient::m_musicProgress {0.0}
private

Definition at line 188 of file lcdprocclient.h.

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

◆ 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_musicTime

QString LCDProcClient::m_musicTime
private

Definition at line 189 of file lcdprocclient.h.

Referenced by outputMusic(), and setMusicProgress().

◆ m_parentLCDServer

LCDServer* LCDProcClient::m_parentLCDServer {nullptr}
private

Definition at line 232 of file lcdprocclient.h.

Referenced by serverSendingData().

◆ m_popMenuTimer

QTimer* LCDProcClient::m_popMenuTimer {nullptr}
private

Definition at line 148 of file lcdprocclient.h.

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

◆ m_port

unsigned int LCDProcClient::m_port {13666}
private

Definition at line 215 of file lcdprocclient.h.

Referenced by checkConnections(), and connectToHost().

◆ m_preScrollWTimer

QTimer* LCDProcClient::m_preScrollWTimer {nullptr}
private

◆ m_prioHigh

QString LCDProcClient::m_prioHigh
private

Definition at line 157 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_prioMedium

QString LCDProcClient::m_prioMedium
private

Definition at line 158 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_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_progress

float LCDProcClient::m_progress {0.0}
private

Definition at line 171 of file lcdprocclient.h.

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

◆ m_protocolVersion

QString LCDProcClient::m_protocolVersion
private

Definition at line 168 of file lcdprocclient.h.

Referenced by describeServer(), and setVersion().

◆ m_pVersion

uint8_t LCDProcClient::m_pVersion {0}
private

Definition at line 169 of file lcdprocclient.h.

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

◆ m_recStatusTimer

QTimer* LCDProcClient::m_recStatusTimer {nullptr}
private

Definition at line 150 of file lcdprocclient.h.

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

◆ m_scrollListItem

unsigned int LCDProcClient::m_scrollListItem {0}
private

Definition at line 204 of file lcdprocclient.h.

Referenced by assignScrollingList(), and scrollList().

◆ m_scrollListItems

QStringList LCDProcClient::m_scrollListItems
private

Definition at line 200 of file lcdprocclient.h.

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

◆ m_scrollListRow

int LCDProcClient::m_scrollListRow {0}
private

Definition at line 203 of file lcdprocclient.h.

Referenced by assignScrollingList(), and scrollList().

◆ m_scrollListScreen

QString LCDProcClient::m_scrollListScreen
private

Definition at line 201 of file lcdprocclient.h.

Referenced by assignScrollingList(), and scrollList().

◆ m_scrollListTimer

QTimer* LCDProcClient::m_scrollListTimer {nullptr}
private

Definition at line 151 of file lcdprocclient.h.

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

◆ m_scrollListWidget

QString LCDProcClient::m_scrollListWidget
private

Definition at line 202 of file lcdprocclient.h.

Referenced by assignScrollingList(), and scrollList().

◆ m_scrollPosition

unsigned int LCDProcClient::m_scrollPosition {0}
private

Definition at line 196 of file lcdprocclient.h.

Referenced by beginScrollingWidgets(), and scrollWidgets().

◆ m_scrollScreen

QString LCDProcClient::m_scrollScreen
private

Definition at line 195 of file lcdprocclient.h.

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

◆ m_scrollWTimer

QTimer* LCDProcClient::m_scrollWTimer {nullptr}
private

◆ m_sendBuffer

QString LCDProcClient::m_sendBuffer
private

Definition at line 212 of file lcdprocclient.h.

Referenced by init(), and sendToServer().

◆ m_serverVersion

QString LCDProcClient::m_serverVersion
private

Definition at line 167 of file lcdprocclient.h.

Referenced by describeServer(), and setVersion().

◆ m_showMessageTimer

QTimer* LCDProcClient::m_showMessageTimer {nullptr}
private

Definition at line 152 of file lcdprocclient.h.

Referenced by LCDProcClient(), and showStartupMessage().

◆ m_socket

QTcpSocket* LCDProcClient::m_socket {nullptr}
private

◆ 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_timeFlash

bool LCDProcClient::m_timeFlash {false}
private

Definition at line 210 of file lcdprocclient.h.

Referenced by dobigclock(), and dostdclock().

◆ m_timeFormat

QString LCDProcClient::m_timeFormat
private

Definition at line 197 of file lcdprocclient.h.

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

◆ m_timeTimer

QTimer* LCDProcClient::m_timeTimer {nullptr}
private

Definition at line 143 of file lcdprocclient.h.

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

◆ m_tunerList

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

Definition at line 240 of file lcdprocclient.h.

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

◆ m_updateRecInfoTimer

QTimer* LCDProcClient::m_updateRecInfoTimer {nullptr}
private

Definition at line 153 of file lcdprocclient.h.

Referenced by customEvent(), and LCDProcClient().

◆ m_volumeLevel

float LCDProcClient::m_volumeLevel {0.0}
private

Definition at line 186 of file lcdprocclient.h.

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


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