ZMConsole Class Reference

#include <zmconsole.h>

Inheritance diagram for ZMConsole:
MythScreenType MythUIType XMLParseBase

List of all members.

Public Member Functions

 ZMConsole (MythScreenStack *parent)
 ~ZMConsole ()
bool Create (void)
bool keyPressEvent (QKeyEvent *)
 Key event handler.

Private Slots

void updateTime ()
void updateStatus ()
void getDaemonStatus ()
void getMonitorStatus (void)
void showEditFunctionPopup ()
void functionChanged (bool changed)

Private Member Functions

void updateMonitorList ()
void setMonitorFunction (const QString &function, int enabled)

Private Attributes

int m_currentMonitor
int m_monitorListSize
std::vector< Monitor * > * m_monitorList
MythUIButtonListm_monitor_list
MythUITextm_running_text
MythUITextm_status_text
MythUITextm_time_text
MythUITextm_date_text
MythUITextm_load_text
MythUITextm_disk_text
FunctionDialogm_functionDialog
MythScreenStackm_popupStack
QTimer * m_timeTimer
QString m_timeFormat
QString m_daemonStatus
QString m_cpuStat
QString m_diskStat
QTimer * m_updateTimer

Detailed Description

Definition at line 54 of file zmconsole.h.


Constructor & Destructor Documentation

ZMConsole::ZMConsole ( MythScreenStack parent  ) 

Definition at line 115 of file zmconsole.cpp.

ZMConsole::~ZMConsole (  ) 

Definition at line 137 of file zmconsole.cpp.


Member Function Documentation

bool ZMConsole::Create ( void   )  [virtual]

Reimplemented from MythScreenType.

Definition at line 145 of file zmconsole.cpp.

Referenced by runZMConsole().

bool ZMConsole::keyPressEvent ( QKeyEvent *   )  [virtual]

Key event handler.

Parameters:
event Keypress event

Reimplemented from MythScreenType.

Definition at line 236 of file zmconsole.cpp.

void ZMConsole::updateTime ( void   )  [private, slot]

Definition at line 181 of file zmconsole.cpp.

Referenced by Create(), and ZMConsole().

void ZMConsole::updateStatus ( void   )  [private, slot]

Definition at line 194 of file zmconsole.cpp.

Referenced by functionChanged(), and ZMConsole().

void ZMConsole::getDaemonStatus ( void   )  [private, slot]

Definition at line 202 of file zmconsole.cpp.

Referenced by updateStatus().

void ZMConsole::getMonitorStatus ( void   )  [private, slot]

Definition at line 224 of file zmconsole.cpp.

Referenced by updateStatus().

void ZMConsole::showEditFunctionPopup (  )  [private, slot]

Definition at line 264 of file zmconsole.cpp.

Referenced by keyPressEvent().

void ZMConsole::functionChanged ( bool  changed  )  [private, slot]

Definition at line 304 of file zmconsole.cpp.

Referenced by showEditFunctionPopup().

void ZMConsole::updateMonitorList (  )  [private]

Definition at line 284 of file zmconsole.cpp.

Referenced by getMonitorStatus().

void ZMConsole::setMonitorFunction ( const QString &  function,
int  enabled 
) [private]

Member Data Documentation

Definition at line 77 of file zmconsole.h.

Referenced by showEditFunctionPopup(), and ZMConsole().

Definition at line 78 of file zmconsole.h.

Referenced by ZMConsole().

std::vector<Monitor *>* ZMConsole::m_monitorList [private]

Definition at line 81 of file zmconsole.h.

Referenced by Create(), and updateMonitorList().

Definition at line 82 of file zmconsole.h.

Definition at line 83 of file zmconsole.h.

Referenced by Create(), and getDaemonStatus().

Definition at line 84 of file zmconsole.h.

Referenced by Create(), and updateTime().

Definition at line 85 of file zmconsole.h.

Referenced by Create(), and updateTime().

Definition at line 86 of file zmconsole.h.

Referenced by Create(), and getDaemonStatus().

Definition at line 87 of file zmconsole.h.

Referenced by Create(), and getDaemonStatus().

Definition at line 89 of file zmconsole.h.

Referenced by showEditFunctionPopup(), and ZMConsole().

Definition at line 90 of file zmconsole.h.

Referenced by showEditFunctionPopup(), and ZMConsole().

QTimer* ZMConsole::m_timeTimer [private]

Definition at line 92 of file zmconsole.h.

Referenced by Create(), ZMConsole(), and ~ZMConsole().

QString ZMConsole::m_timeFormat [private]

Definition at line 93 of file zmconsole.h.

Referenced by updateTime(), and ZMConsole().

QString ZMConsole::m_daemonStatus [private]

Definition at line 95 of file zmconsole.h.

Referenced by getDaemonStatus().

QString ZMConsole::m_cpuStat [private]

Definition at line 96 of file zmconsole.h.

Referenced by getDaemonStatus().

QString ZMConsole::m_diskStat [private]

Definition at line 97 of file zmconsole.h.

Referenced by getDaemonStatus().

QTimer* ZMConsole::m_updateTimer [private]

Definition at line 99 of file zmconsole.h.

Referenced by Create(), updateStatus(), and ZMConsole().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends
Generated on Mon May 28 06:42:34 2012 for MythTV by  doxygen 1.6.3