MythTV master
Classes | Variables
mythuiwebbrowser.cpp File Reference

Provide a web browser widget. More...

#include "mythuiwebbrowser.h"
#include <algorithm>
#include <chrono>
#include <thread>
#include <QApplication>
#include <QWebEngineHistory>
#include <QWebEngineSettings>
#include <QWebEngineScript>
#include <QWebEngineScriptCollection>
#include <QPainter>
#include <QDir>
#include <QStyle>
#include <QKeyEvent>
#include <QDomDocument>
#include <QDebug>
#include "libmythbase/mythcorecontext.h"
#include "libmythbase/mythdb.h"
#include "libmythbase/mythdirs.h"
#include "libmythbase/mythdownloadmanager.h"
#include "libmythbase/mythlogging.h"
#include "mythpainter.h"
#include "mythimage.h"
#include "mythmainwindow.h"
#include "mythfontproperties.h"
#include "mythuihelper.h"
#include "mythdialogbox.h"
#include "mythprogressdialog.h"
#include "mythuiscrollbar.h"
#include <qlogging.h>
Include dependency graph for mythuiwebbrowser.cpp:

Go to the source code of this file.

Classes

struct  MimeType
 

Variables

static const std::vector< MimeTypeSupportedMimeTypes
 

Detailed Description

Provide a web browser widget.

Author
Paul Harrison pharr.nosp@m.ison.nosp@m.@myth.nosp@m.tv.o.nosp@m.rg

Definition in file mythuiwebbrowser.cpp.

Variable Documentation

◆ SupportedMimeTypes

const std::vector<MimeType> SupportedMimeTypes
static
Initial value:
{
{ "audio/mpeg3", "mp3", false },
{ "audio/x-mpeg-3", "mp3", false },
{ "audio/mpeg", "mp2", false },
{ "audio/x-mpeg", "mp2", false },
{ "audio/ogg", "ogg", false },
{ "audio/ogg", "oga", false },
{ "audio/flac", "flac", false },
{ "audio/x-ms-wma", "wma", false },
{ "audio/wav", "wav", false },
{ "audio/x-wav", "wav", false },
{ "audio/ac3", "ac3", false },
{ "audio/x-ac3", "ac3", false },
{ "audio/x-oma", "oma", false },
{ "audio/x-realaudio", "ra", false },
{ "audio/dts", "dts", false },
{ "audio/x-dts", "dts", false },
{ "audio/aac", "aac", false },
{ "audio/x-aac", "aac", false },
{ "audio/m4a", "m4a", false },
{ "audio/x-m4a", "m4a", false },
{ "video/mpeg", "mpg", true },
{ "video/mpeg", "mpeg", true },
{ "video/x-ms-wmv", "wmv", true },
{ "video/x-ms-wmv", "avi", true },
{ "application/x-troff-msvideo", "avi", true },
{ "video/avi", "avi", true },
{ "video/msvideo", "avi", true },
{ "video/x-msvideo", "avi", true }
}

Definition at line 52 of file mythuiwebbrowser.cpp.

Referenced by MythWebEngineView::getExtensionForMimetype(), MythWebEngineView::isMusicFile(), and MythWebEngineView::isVideoFile().