#include <logviewer.h>
Public Member Functions | |
| LogViewer (MythScreenStack *parent) | |
| ~LogViewer (void) | |
| bool | Create (void) |
| bool | keyPressEvent (QKeyEvent *e) |
| Key event handler. | |
| void | setFilenames (const QString &progressLog, const QString &fullLog) |
Protected Slots | |
| void | cancelClicked (void) |
| void | updateClicked (void) |
| void | updateTimerTimeout (void) |
| void | toggleAutoUpdate (void) |
| bool | loadFile (QString filename, QStringList &list, int startline) |
| void | showProgressLog (void) |
| void | showFullLog (void) |
| void | showMenu (void) |
| void | updateLogItem (MythUIButtonListItem *item) |
Private Member Functions | |
| void | Init (void) |
| Used after calling Load() to assign data to widgets and other UI initilisation which is prohibited in Load(). | |
| QString | getSetting (const QString &key) |
Private Attributes | |
| bool | m_autoUpdate |
| int | m_updateTime |
| QTimer * | m_updateTimer |
| QString | m_currentLog |
| QString | m_progressLog |
| QString | m_fullLog |
| MythUIButtonList * | m_logList |
| MythUIText * | m_logText |
| MythUIButton * | m_exitButton |
| MythUIButton * | m_cancelButton |
| MythUIButton * | m_updateButton |
Definition at line 16 of file logviewer.h.
| LogViewer::LogViewer | ( | MythScreenStack * | parent | ) |
Definition at line 42 of file logviewer.cpp.
| LogViewer::~LogViewer | ( | void | ) |
Definition at line 61 of file logviewer.cpp.
| bool LogViewer::Create | ( | void | ) | [virtual] |
Reimplemented from MythScreenType.
Definition at line 70 of file logviewer.cpp.
Referenced by showLogViewer().
| bool LogViewer::keyPressEvent | ( | QKeyEvent * | ) | [virtual] |
Key event handler.
| event | Keypress event |
Reimplemented from MythScreenType.
Definition at line 118 of file logviewer.cpp.
| void LogViewer::setFilenames | ( | const QString & | progressLog, | |
| const QString & | fullLog | |||
| ) |
Definition at line 280 of file logviewer.cpp.
Referenced by showLogViewer().
| void LogViewer::cancelClicked | ( | void | ) | [protected, slot] |
Definition at line 165 of file logviewer.cpp.
Referenced by Create().
| void LogViewer::updateClicked | ( | void | ) | [protected, slot] |
Definition at line 181 of file logviewer.cpp.
Referenced by Create(), Init(), showFullLog(), showProgressLog(), and updateTimerTimeout().
| void LogViewer::updateTimerTimeout | ( | void | ) | [protected, slot] |
Definition at line 144 of file logviewer.cpp.
Referenced by Create().
| void LogViewer::toggleAutoUpdate | ( | void | ) | [protected, slot] |
Definition at line 149 of file logviewer.cpp.
Referenced by showMenu().
| bool LogViewer::loadFile | ( | QString | filename, | |
| QStringList & | list, | |||
| int | startline | |||
| ) | [protected, slot] |
Definition at line 245 of file logviewer.cpp.
Referenced by updateClicked().
| void LogViewer::showProgressLog | ( | void | ) | [protected, slot] |
Definition at line 287 of file logviewer.cpp.
Referenced by showMenu().
| void LogViewer::showFullLog | ( | void | ) | [protected, slot] |
Definition at line 294 of file logviewer.cpp.
Referenced by showMenu().
| void LogViewer::showMenu | ( | void | ) | [protected, slot] |
Definition at line 301 of file logviewer.cpp.
Referenced by keyPressEvent().
| void LogViewer::updateLogItem | ( | MythUIButtonListItem * | item | ) | [protected, slot] |
Definition at line 159 of file logviewer.cpp.
Referenced by Create().
| void LogViewer::Init | ( | void | ) | [private, 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 111 of file logviewer.cpp.
| QString LogViewer::getSetting | ( | const QString & | key | ) | [private] |
Definition at line 218 of file logviewer.cpp.
Referenced by updateClicked().
bool LogViewer::m_autoUpdate [private] |
Definition at line 45 of file logviewer.h.
Referenced by LogViewer(), showMenu(), toggleAutoUpdate(), updateClicked(), and ~LogViewer().
int LogViewer::m_updateTime [private] |
Definition at line 46 of file logviewer.h.
Referenced by LogViewer(), toggleAutoUpdate(), updateClicked(), and ~LogViewer().
QTimer* LogViewer::m_updateTimer [private] |
Definition at line 47 of file logviewer.h.
Referenced by Create(), toggleAutoUpdate(), updateClicked(), and ~LogViewer().
QString LogViewer::m_currentLog [private] |
Definition at line 49 of file logviewer.h.
Referenced by setFilenames(), showFullLog(), showProgressLog(), and updateClicked().
QString LogViewer::m_progressLog [private] |
Definition at line 50 of file logviewer.h.
Referenced by setFilenames(), and showProgressLog().
QString LogViewer::m_fullLog [private] |
Definition at line 51 of file logviewer.h.
Referenced by setFilenames(), and showFullLog().
MythUIButtonList* LogViewer::m_logList [private] |
Definition at line 53 of file logviewer.h.
Referenced by Create(), Init(), showFullLog(), showProgressLog(), and updateClicked().
MythUIText* LogViewer::m_logText [private] |
Definition at line 54 of file logviewer.h.
Referenced by Create(), and updateLogItem().
MythUIButton* LogViewer::m_exitButton [private] |
Definition at line 56 of file logviewer.h.
Referenced by Create().
MythUIButton* LogViewer::m_cancelButton [private] |
Definition at line 57 of file logviewer.h.
Referenced by Create(), and updateClicked().
MythUIButton* LogViewer::m_updateButton [private] |
Definition at line 58 of file logviewer.h.
Referenced by Create(), and updateClicked().
1.6.3