ZMConsole Class Reference

#include <zmconsole.h>

Inheritance diagram for ZMConsole:

MythThemedDialog MythDialog

List of all members.


Detailed Description

Definition at line 26 of file zmconsole.h.


Public Member Functions

 ZMConsole (MythMainWindow *parent, const QString &window_name, const QString &theme_filename, const char *name=0)
 ~ZMConsole ()

Private Slots

void updateTime ()
void updateStatus ()
void getDaemonStatus ()
void getMonitorStatus (void)
void showEditFunctionPopup ()

Private Member Functions

void wireUpTheme (void)
UITextTypegetTextType (QString name)
void keyPressEvent (QKeyEvent *e)
void updateMonitorList ()
void monitorListDown (bool page)
void monitorListUp (bool page)
void setMonitorFunction (const QString &function, const int enabled)

Private Attributes

int m_currentMonitor
int m_monitorListSize
vector< Monitor * > * m_monitorList
UIListTypem_monitor_list
vector< QString > * m_functionList
UITextTypem_status_text
UITextTypem_time_text
UITextTypem_date_text
UITextTypem_load_text
UITextTypem_disk_text
fontPropm_runningFont
fontPropm_stoppedFont
QTimer * m_timeTimer
QString m_timeFormat
QString m_daemonStatus
QString m_cpuStat
QString m_diskStat
QTimer * m_updateTimer

Constructor & Destructor Documentation

ZMConsole::ZMConsole ( MythMainWindow parent,
const QString &  window_name,
const QString &  theme_filename,
const char *  name = 0 
)

Definition at line 38 of file zmconsole.cpp.

ZMConsole::~ZMConsole (  ) 

Definition at line 72 of file zmconsole.cpp.


Member Function Documentation

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

Definition at line 83 of file zmconsole.cpp.

Referenced by ZMConsole().

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

Definition at line 96 of file zmconsole.cpp.

Referenced by setMonitorFunction(), and ZMConsole().

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

Definition at line 104 of file zmconsole.cpp.

Referenced by updateStatus().

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

Definition at line 126 of file zmconsole.cpp.

Referenced by updateStatus().

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

Definition at line 203 of file zmconsole.cpp.

Referenced by keyPressEvent().

void ZMConsole::wireUpTheme ( void   )  [private]

Definition at line 291 of file zmconsole.cpp.

Referenced by ZMConsole().

UITextType * ZMConsole::getTextType ( QString  name  )  [private]

Definition at line 277 of file zmconsole.cpp.

Referenced by wireUpTheme().

void ZMConsole::keyPressEvent ( QKeyEvent *  e  )  [private]

Reimplemented from MythDialog.

Definition at line 138 of file zmconsole.cpp.

void ZMConsole::updateMonitorList (  )  [private]

Definition at line 314 of file zmconsole.cpp.

Referenced by getMonitorStatus(), monitorListDown(), and monitorListUp().

void ZMConsole::monitorListDown ( bool  page  )  [private]

Definition at line 356 of file zmconsole.cpp.

Referenced by keyPressEvent().

void ZMConsole::monitorListUp ( bool  page  )  [private]

Definition at line 368 of file zmconsole.cpp.

Referenced by keyPressEvent().

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

Definition at line 380 of file zmconsole.cpp.

Referenced by showEditFunctionPopup().


Member Data Documentation

Definition at line 55 of file zmconsole.h.

Referenced by monitorListDown(), monitorListUp(), updateMonitorList(), wireUpTheme(), and ZMConsole().

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

Definition at line 57 of file zmconsole.h.

Referenced by keyPressEvent(), updateMonitorList(), and wireUpTheme().

vector<QString>* ZMConsole::m_functionList [private]

Definition at line 59 of file zmconsole.h.

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

Definition at line 61 of file zmconsole.h.

Referenced by getDaemonStatus(), and wireUpTheme().

Definition at line 62 of file zmconsole.h.

Referenced by updateTime(), and wireUpTheme().

Definition at line 63 of file zmconsole.h.

Referenced by updateTime(), and wireUpTheme().

Definition at line 64 of file zmconsole.h.

Referenced by getDaemonStatus(), and wireUpTheme().

Definition at line 65 of file zmconsole.h.

Referenced by getDaemonStatus(), and wireUpTheme().

Definition at line 67 of file zmconsole.h.

Referenced by getDaemonStatus(), and wireUpTheme().

Definition at line 68 of file zmconsole.h.

Referenced by getDaemonStatus(), and wireUpTheme().

QTimer* ZMConsole::m_timeTimer [private]

Definition at line 70 of file zmconsole.h.

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

QString ZMConsole::m_timeFormat [private]

Definition at line 71 of file zmconsole.h.

Referenced by updateTime(), and ZMConsole().

QString ZMConsole::m_daemonStatus [private]

Definition at line 73 of file zmconsole.h.

Referenced by getDaemonStatus().

QString ZMConsole::m_cpuStat [private]

Definition at line 74 of file zmconsole.h.

Referenced by getDaemonStatus().

QString ZMConsole::m_diskStat [private]

Definition at line 75 of file zmconsole.h.

Referenced by getDaemonStatus().

QTimer* ZMConsole::m_updateTimer [private]

Definition at line 77 of file zmconsole.h.

Referenced by updateStatus(), and ZMConsole().


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

Generated on Sat Dec 18 05:16:14 2010 for MythTV by  doxygen 1.5.5