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 
14 class MythBrowser;
15 
16 class 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:
32  void loadProgress(int progress);
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(void);
43 
44  protected:
45 
46  private:
47  bool m_active {false};
48 
49  MythBrowser *m_parent {nullptr};
52 };
53 
54 #endif
mythuiprogressbar.h
WebPage::m_listItem
MythUIButtonListItem * m_listItem
Definition: webpage.h:51
progress
bool progress
Definition: mythcommflag.cpp:69
WebPage::m_active
bool m_active
Definition: webpage.h:47
mythdialogbox.h
WebPage::slotStatusBarMessage
void slotStatusBarMessage(const QString &text)
Definition: webpage.cpp:147
WebPage::loadProgress
void loadProgress(int progress)
mythuibuttonlist.h
WebPage::slotLoadStarted
void slotLoadStarted(void)
Definition: webpage.cpp:120
MythUIButtonListItem
Definition: mythuibuttonlist.h:41
WebPage::getListItem
MythUIButtonListItem * getListItem()
Definition: webpage.h:29
WebPage::slotLoadProgress
void slotLoadProgress(int progress)
Definition: webpage.cpp:141
WebPage::WebPage
WebPage(MythBrowser *parent, QRect area, const char *name)
Definition: webpage.cpp:16
MythBrowser
Definition: mythbrowser.h:18
WebPage::m_parent
MythBrowser * m_parent
Definition: webpage.h:49
WebPage::getBrowser
MythUIWebBrowser * getBrowser()
Definition: webpage.h:28
WebPage::SetActive
void SetActive(bool active)
Definition: webpage.cpp:75
WebPage::~WebPage
~WebPage() override
Definition: webpage.cpp:59
WebPage::slotTitleChanged
void slotTitleChanged(const QString &title)
Definition: webpage.cpp:153
OK
static constexpr int OK
Definition: dvbci.cpp:69
WebPage
Definition: webpage.h:16
MythUIWebBrowser
Web browsing widget.
Definition: mythuiwebbrowser.h:132
WebPage::statusBarMessage
void statusBarMessage(const QString &text)
mythuiwebbrowser.h
WebPage::slotIconChanged
void slotIconChanged(void)
Definition: webpage.cpp:91
WebPage::m_browser
MythUIWebBrowser * m_browser
Definition: webpage.h:50
mythscreentype.h
WebPage::loadFinished
void loadFinished(bool OK)
WebPage::slotLoadFinished
void slotLoadFinished(bool OK)
Definition: webpage.cpp:130