#include <progdetails.h>
Public Member Functions | |
| ProgDetails (MythScreenStack *parent, const ProgramInfo *progInfo) | |
| ~ProgDetails () | |
| bool | Create (void) |
| bool | keyPressEvent (QKeyEvent *event) |
| Key event handler. | |
| void | Init (void) |
| Used after calling Load() to assign data to widgets and other UI initilisation which is prohibited in Load(). | |
Private Member Functions | |
| QString | getRatings (bool recorded, uint chanid, QDateTime startts) |
| void | loadPage (void) |
| void | updatePage (void) |
| bool | loadHTML (void) |
| void | addItem (const QString &key, const QString &title, const QString &data) |
| void | removeItem (const QString &key) |
| void | showMenu (void) |
| void | customEvent (QEvent *event) |
Private Attributes | |
| ProgramInfo | m_progInfo |
| MythUIWebBrowser * | m_browser |
| int | m_currentPage |
| QString | m_page [2] |
| QStringList | m_html |
Definition at line 13 of file progdetails.h.
| ProgDetails::ProgDetails | ( | MythScreenStack * | parent, | |
| const ProgramInfo * | progInfo | |||
| ) |
Definition at line 21 of file progdetails.cpp.
| ProgDetails::~ProgDetails | ( | void | ) |
Definition at line 116 of file progdetails.cpp.
| bool ProgDetails::Create | ( | void | ) | [virtual] |
Reimplemented from MythScreenType.
Definition at line 28 of file progdetails.cpp.
Referenced by ScheduleCommon::ShowDetails().
| bool ProgDetails::keyPressEvent | ( | QKeyEvent * | ) | [virtual] |
Key event handler.
| event | Keypress event |
Reimplemented from MythScreenType.
Definition at line 122 of file progdetails.cpp.
| void ProgDetails::Init | ( | void | ) | [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 progdetails.cpp.
Definition at line 57 of file progdetails.cpp.
Referenced by loadPage().
| void ProgDetails::loadPage | ( | void | ) | [private] |
Definition at line 203 of file progdetails.cpp.
Referenced by updatePage().
| void ProgDetails::updatePage | ( | void | ) | [private] |
Definition at line 156 of file progdetails.cpp.
Referenced by customEvent(), Init(), and keyPressEvent().
| bool ProgDetails::loadHTML | ( | void | ) | [private] |
Definition at line 701 of file progdetails.cpp.
Referenced by loadPage().
| void ProgDetails::addItem | ( | const QString & | key, | |
| const QString & | title, | |||
| const QString & | data | |||
| ) | [private] |
Definition at line 164 of file progdetails.cpp.
Referenced by loadPage().
| void ProgDetails::removeItem | ( | const QString & | key | ) | [private] |
Definition at line 189 of file progdetails.cpp.
Referenced by addItem().
| void ProgDetails::showMenu | ( | void | ) | [private] |
Definition at line 730 of file progdetails.cpp.
Referenced by keyPressEvent().
| void ProgDetails::customEvent | ( | QEvent * | event | ) | [private, virtual] |
Reimplemented from MythUIType.
Definition at line 753 of file progdetails.cpp.
ProgramInfo ProgDetails::m_progInfo [private] |
Definition at line 34 of file progdetails.h.
Referenced by loadPage().
MythUIWebBrowser* ProgDetails::m_browser [private] |
Definition at line 35 of file progdetails.h.
Referenced by Create(), customEvent(), updatePage(), and ~ProgDetails().
int ProgDetails::m_currentPage [private] |
Definition at line 37 of file progdetails.h.
Referenced by customEvent(), keyPressEvent(), loadHTML(), loadPage(), and updatePage().
QString ProgDetails::m_page[2] [private] |
Definition at line 38 of file progdetails.h.
Referenced by loadPage(), and updatePage().
QStringList ProgDetails::m_html [private] |
Definition at line 40 of file progdetails.h.
Referenced by addItem(), loadHTML(), loadPage(), and removeItem().
1.6.3