MythTV master
webpage.h
Go to the documentation of this file.
1#ifndef WEBPAGE_H
2#define WEBPAGE_H
3
4// qt
5#include <QUrl>
6
7// MythTV
13
14class MythBrowser;
15
16class WebPage : public QObject
17{
18 Q_OBJECT
19
20 public:
21 WebPage (MythBrowser *parent, QRect area, const char* name);
22 WebPage (MythBrowser *parent, MythUIWebBrowser *browser);
23
24 ~WebPage() override;
25
26 void SetActive(bool active);
27
30
31 signals:
33 void statusBarMessage(const QString &text);
34 void loadFinished(bool OK);
35
36 protected slots:
37 void slotLoadStarted(void);
38 void slotLoadFinished(bool OK);
39 void slotLoadProgress(int progress);
40 void slotTitleChanged(const QString &title);
41 void slotStatusBarMessage(const QString &text);
42 void slotIconChanged(const QIcon &icon);
43
44 protected:
45
46 private:
47 bool m_active {false};
48
52};
53
54#endif
Web browsing widget.
~WebPage() override
Definition: webpage.cpp:47
bool m_active
Definition: webpage.h:47
MythUIWebBrowser * m_browser
Definition: webpage.h:50
void SetActive(bool active)
Definition: webpage.cpp:63
MythUIButtonListItem * m_listItem
Definition: webpage.h:51
void slotLoadStarted(void)
Definition: webpage.cpp:106
void slotLoadFinished(bool OK)
Definition: webpage.cpp:116
WebPage(MythBrowser *parent, QRect area, const char *name)
Definition: webpage.cpp:15
void slotIconChanged(const QIcon &icon)
Definition: webpage.cpp:79
void loadProgress(int progress)
void slotStatusBarMessage(const QString &text)
Definition: webpage.cpp:131
void loadFinished(bool OK)
void slotLoadProgress(int progress)
Definition: webpage.cpp:125
MythBrowser * m_parent
Definition: webpage.h:49
void statusBarMessage(const QString &text)
void slotTitleChanged(const QString &title)
Definition: webpage.cpp:137
MythUIWebBrowser * getBrowser()
Definition: webpage.h:28
MythUIButtonListItem * getListItem()
Definition: webpage.h:29
static constexpr int OK
Definition: dvbci.cpp:69