MythTV
master
|
Subclass of QWebView. More...
#include <libmythui/mythuiwebbrowser.h>
Public Member Functions | |
MythWebView (QWidget *parent, MythUIWebBrowser *parentBrowser) | |
~MythWebView (void) override | |
void | keyPressEvent (QKeyEvent *event) override |
void | customEvent (QEvent *e) override |
Protected Slots | |
void | handleUnsupportedContent (QNetworkReply *reply) |
void | handleDownloadRequested (const QNetworkRequest &request) |
QWebView * | createWindow (QWebPage::WebWindowType type) override |
Private Member Functions | |
void | showDownloadMenu (void) |
void | doDownloadRequested (const QNetworkRequest &request) |
void | doDownload (const QString &saveFilename) |
void | openBusyPopup (const QString &message) |
void | closeBusyPopup (void) |
QString | getReplyMimetype (void) |
Static Private Member Functions | |
static bool | isMusicFile (const QString &extension, const QString &mimetype) |
static bool | isVideoFile (const QString &extension, const QString &mimetype) |
static QString | getExtensionForMimetype (const QString &mimetype) |
Private Attributes | |
MythWebPage * | m_webpage {nullptr} |
MythUIWebBrowser * | m_parentBrowser {nullptr} |
BrowserApi * | m_api {nullptr} |
QNetworkRequest | m_downloadRequest |
QNetworkReply * | m_downloadReply {nullptr} |
MythUIBusyDialog * | m_busyPopup {nullptr} |
bool | m_downloadAndPlay {false} |
Subclass of QWebView.
Definition at line 88 of file mythuiwebbrowser.h.
MythWebView::MythWebView | ( | QWidget * | parent, |
MythUIWebBrowser * | parentBrowser | ||
) |
Definition at line 356 of file mythuiwebbrowser.cpp.
|
override |
Definition at line 375 of file mythuiwebbrowser.cpp.
|
override |
Definition at line 394 of file mythuiwebbrowser.cpp.
Referenced by MythUIWebBrowser::keyPressEvent().
|
override |
Definition at line 603 of file mythuiwebbrowser.cpp.
|
protectedslot |
Definition at line 459 of file mythuiwebbrowser.cpp.
Referenced by MythWebView().
|
protectedslot |
Definition at line 483 of file mythuiwebbrowser.cpp.
Referenced by MythWebView().
|
overrideprotectedslot |
Definition at line 784 of file mythuiwebbrowser.cpp.
|
private |
Definition at line 695 of file mythuiwebbrowser.cpp.
Referenced by handleUnsupportedContent().
|
private |
Definition at line 489 of file mythuiwebbrowser.cpp.
Referenced by customEvent(), and handleDownloadRequested().
|
private |
Definition at line 565 of file mythuiwebbrowser.cpp.
Referenced by customEvent(), and doDownloadRequested().
|
private |
Definition at line 578 of file mythuiwebbrowser.cpp.
Referenced by doDownload().
|
private |
Definition at line 595 of file mythuiwebbrowser.cpp.
Referenced by customEvent().
|
staticprivate |
Definition at line 740 of file mythuiwebbrowser.cpp.
Referenced by customEvent(), and showDownloadMenu().
|
staticprivate |
Definition at line 755 of file mythuiwebbrowser.cpp.
Referenced by customEvent(), and showDownloadMenu().
|
private |
Definition at line 770 of file mythuiwebbrowser.cpp.
Referenced by customEvent(), doDownloadRequested(), and showDownloadMenu().
|
staticprivate |
Definition at line 727 of file mythuiwebbrowser.cpp.
Referenced by doDownloadRequested().
|
private |
Definition at line 117 of file mythuiwebbrowser.h.
Referenced by MythWebView(), and ~MythWebView().
|
private |
Definition at line 118 of file mythuiwebbrowser.h.
Referenced by doDownloadRequested(), and keyPressEvent().
|
private |
Definition at line 119 of file mythuiwebbrowser.h.
Referenced by MythWebView(), and ~MythWebView().
|
private |
Definition at line 120 of file mythuiwebbrowser.h.
Referenced by customEvent(), doDownload(), doDownloadRequested(), handleUnsupportedContent(), and showDownloadMenu().
|
private |
Definition at line 121 of file mythuiwebbrowser.h.
Referenced by getReplyMimetype(), handleDownloadRequested(), and handleUnsupportedContent().
|
private |
Definition at line 122 of file mythuiwebbrowser.h.
Referenced by closeBusyPopup(), and openBusyPopup().
Definition at line 123 of file mythuiwebbrowser.h.
Referenced by customEvent(), doDownloadRequested(), and handleUnsupportedContent().