Reports on various status items. More...
#include <statusbox.h>
Signals | |
| void | updateLog () |
Public Member Functions | |
| StatusBox (MythScreenStack *parent) | |
| ~StatusBox (void) | |
| bool | Create (void) |
| bool | keyPressEvent (QKeyEvent *) |
| Key event handler. | |
| void | customEvent (QEvent *) |
Protected Member Functions | |
| virtual void | Init (void) |
| Used after calling Load() to assign data to widgets and other UI initilisation which is prohibited in Load(). | |
Private Slots | |
| void | setHelpText (MythUIButtonListItem *item) |
| void | updateLogList (MythUIButtonListItem *item) |
| void | clicked (MythUIButtonListItem *item) |
| void | doListingsStatus () |
| void | doScheduleStatus () |
| void | doTunerStatus () |
| void | doLogEntries () |
| void | doJobQueueStatus () |
| void | doMachineStatus () |
| Show machine status. | |
| void | doAutoExpireList (bool updateExpList=true) |
Private Member Functions | |
| MythUIButtonListItem * | AddLogLine (const QString &line, const QString &help="", const QString &detail="", const QString &helpdetail="", const QString &state="", const QString &data="") |
| void | getActualRecordedBPS (QString hostnames) |
| Fills in recordingProfilesBPS w/ average bitrate from recorded table. | |
Private Attributes | |
| MythUIText * | m_helpText |
| MythUIText * | m_justHelpText |
| MythUIButtonList * | m_categoryList |
| MythUIButtonList * | m_logList |
| MythUIStateType * | m_iconState |
| QMap< int, QString > | contentData |
| recprof2bps_t | recordingProfilesBPS |
| vector< ProgramInfo * > | m_expList |
| MythScreenStack * | m_popupStack |
| int | m_minLevel |
| bool | m_isBackendActive |
Reports on various status items.
StatusBox reports on the listing status, that is how far into the future program listings exists. It also reports on the status of each tuner, the log entries, the status of the job queue, and the machine status.
Definition at line 18 of file statusbox.h.
| StatusBox::StatusBox | ( | MythScreenStack * | parent | ) |
Definition at line 48 of file statusbox.cpp.
| StatusBox::~StatusBox | ( | void | ) |
Definition at line 72 of file statusbox.cpp.
| bool StatusBox::Create | ( | void | ) | [virtual] |
Reimplemented from MythScreenType.
Definition at line 79 of file statusbox.cpp.
Referenced by showStatus().
| bool StatusBox::keyPressEvent | ( | QKeyEvent * | ) | [virtual] |
Key event handler.
| event | Keypress event |
Reimplemented from MythScreenType.
Definition at line 181 of file statusbox.cpp.
| void StatusBox::customEvent | ( | QEvent * | event | ) | [virtual] |
Reimplemented from MythUIType.
Definition at line 385 of file statusbox.cpp.
| void StatusBox::updateLog | ( | ) | [signal] |
Referenced by updateLogList().
| void StatusBox::Init | ( | void | ) | [protected, virtual] |
Used after calling Load() to assign data to widgets and other UI initilisation which is prohibited in Load().
Reimplemented from MythScreenType.
Definition at line 109 of file statusbox.cpp.
| void StatusBox::setHelpText | ( | MythUIButtonListItem * | item | ) | [private, slot] |
Definition at line 242 of file statusbox.cpp.
Referenced by Create().
| void StatusBox::updateLogList | ( | MythUIButtonListItem * | item | ) | [private, slot] |
Definition at line 254 of file statusbox.cpp.
Referenced by Create().
| void StatusBox::clicked | ( | MythUIButtonListItem * | item | ) | [private, slot] |
Definition at line 267 of file statusbox.cpp.
Referenced by Create().
| void StatusBox::doListingsStatus | ( | ) | [private, slot] |
Definition at line 511 of file statusbox.cpp.
Referenced by Init().
| void StatusBox::doScheduleStatus | ( | ) | [private, slot] |
Definition at line 606 of file statusbox.cpp.
Referenced by Init().
| void StatusBox::doTunerStatus | ( | ) | [private, slot] |
Definition at line 780 of file statusbox.cpp.
Referenced by Init().
| void StatusBox::doLogEntries | ( | void | ) | [private, slot] |
Definition at line 870 of file statusbox.cpp.
Referenced by customEvent(), and keyPressEvent().
| void StatusBox::doJobQueueStatus | ( | ) | [private, slot] |
Definition at line 924 of file statusbox.cpp.
Referenced by customEvent(), and Init().
| void StatusBox::doMachineStatus | ( | ) | [private, slot] |
Show machine status.
This returns statisics for master backend when using a frontend only machine. And returns info on the current system if frontend is running on a backend machine.
Definition at line 1177 of file statusbox.cpp.
Referenced by Init().
| void StatusBox::doAutoExpireList | ( | bool | updateExpList = true |
) | [private, slot] |
Definition at line 1357 of file statusbox.cpp.
Referenced by customEvent(), and Init().
| MythUIButtonListItem * StatusBox::AddLogLine | ( | const QString & | line, | |
| const QString & | help = "", |
|||
| const QString & | detail = "", |
|||
| const QString & | helpdetail = "", |
|||
| const QString & | state = "", |
|||
| const QString & | data = "" | |||
| ) | [private] |
Definition at line 141 of file statusbox.cpp.
Referenced by doAutoExpireList(), doJobQueueStatus(), doListingsStatus(), doLogEntries(), doMachineStatus(), doScheduleStatus(), and doTunerStatus().
| void StatusBox::getActualRecordedBPS | ( | QString | hostnames | ) | [private] |
Fills in recordingProfilesBPS w/ average bitrate from recorded table.
Definition at line 1121 of file statusbox.cpp.
Referenced by doMachineStatus().
MythUIText* StatusBox::m_helpText [private] |
Definition at line 58 of file statusbox.h.
Referenced by Create(), doAutoExpireList(), doJobQueueStatus(), doListingsStatus(), doLogEntries(), doMachineStatus(), doScheduleStatus(), doTunerStatus(), keyPressEvent(), setHelpText(), and StatusBox().
MythUIText* StatusBox::m_justHelpText [private] |
Definition at line 59 of file statusbox.h.
Referenced by Create(), doAutoExpireList(), doJobQueueStatus(), doListingsStatus(), doLogEntries(), doMachineStatus(), doScheduleStatus(), doTunerStatus(), keyPressEvent(), setHelpText(), and StatusBox().
MythUIButtonList* StatusBox::m_categoryList [private] |
Definition at line 60 of file statusbox.h.
Referenced by clicked(), Create(), Init(), keyPressEvent(), and StatusBox().
MythUIButtonList* StatusBox::m_logList [private] |
Definition at line 61 of file statusbox.h.
Referenced by AddLogLine(), clicked(), Create(), customEvent(), doAutoExpireList(), doJobQueueStatus(), doListingsStatus(), doLogEntries(), doMachineStatus(), doScheduleStatus(), doTunerStatus(), setHelpText(), StatusBox(), and ~StatusBox().
MythUIStateType* StatusBox::m_iconState [private] |
Definition at line 62 of file statusbox.h.
Referenced by Create(), doAutoExpireList(), doJobQueueStatus(), doListingsStatus(), doLogEntries(), doMachineStatus(), doScheduleStatus(), doTunerStatus(), and StatusBox().
QMap<int, QString> StatusBox::contentData [private] |
Definition at line 64 of file statusbox.h.
recprof2bps_t StatusBox::recordingProfilesBPS [private] |
Definition at line 65 of file statusbox.h.
Referenced by doMachineStatus(), and getActualRecordedBPS().
vector<ProgramInfo *> StatusBox::m_expList [private] |
Definition at line 67 of file statusbox.h.
Referenced by clicked(), customEvent(), and doAutoExpireList().
MythScreenStack* StatusBox::m_popupStack [private] |
Definition at line 69 of file statusbox.h.
Referenced by clicked(), keyPressEvent(), and StatusBox().
int StatusBox::m_minLevel [private] |
Definition at line 71 of file statusbox.h.
Referenced by customEvent(), doLogEntries(), keyPressEvent(), and StatusBox().
bool StatusBox::m_isBackendActive [private] |
Definition at line 73 of file statusbox.h.
Referenced by doMachineStatus(), and StatusBox().
1.6.3