ROOT
v6-30
Reference Guide
Loading...
Searching...
No Matches
rootwebpage.h
Go to the documentation of this file.
1
// Author: Sergey Linev <S.Linev@gsi.de>
2
// Date: 2017-06-29
3
// Warning: This is part of the ROOT 7 prototype! It will change without notice. It might trigger earthquakes. Feedback is welcome!
4
5
/*************************************************************************
6
* Copyright (C) 1995-2023, Rene Brun and Fons Rademakers. *
7
* All rights reserved. *
8
* *
9
* For the licensing terms see $ROOTSYS/LICENSE. *
10
* For the list of contributors see $ROOTSYS/README/CREDITS. *
11
*************************************************************************/
12
13
#ifndef ROOT_RootWebPage
14
#define ROOT_RootWebPage
15
16
#include <QWebEnginePage>
17
18
namespace
ROOT
{
19
namespace
Experimental {
20
class
RLogChannel;
21
}
22
}
23
24
ROOT::Experimental::RLogChannel
&
QtWebDisplayLog
();
25
26
class
RootWebPage
:
public
QWebEnginePage
{
27
Q_OBJECT
28
protected
:
29
int
fConsole
{0};
30
void
javaScriptConsoleMessage
(QWebEnginePage::JavaScriptConsoleMessageLevel level,
const
QString &message,
31
int
lineNumber,
const
QString &sourceID)
override
;
32
33
public
:
34
RootWebPage
(
QObject
*parent =
nullptr
);
35
virtual
~RootWebPage
() =
default
;
36
};
37
38
#endif
QObject
QWebEnginePage
ROOT::Experimental::RLogChannel
A log configuration for a channel, e.g.
Definition
RLogger.hxx:101
RootWebPage
Definition
rootwebpage.h:26
RootWebPage::javaScriptConsoleMessage
void javaScriptConsoleMessage(QWebEnginePage::JavaScriptConsoleMessageLevel level, const QString &message, int lineNumber, const QString &sourceID) override
Definition
rootwebpage.cpp:36
RootWebPage::fConsole
int fConsole
Definition
rootwebpage.h:29
RootWebPage::~RootWebPage
virtual ~RootWebPage()=default
ROOT
This file contains a specialised ROOT message handler to test for diagnostic in unit tests.
Definition
EExecutionPolicy.hxx:4
QtWebDisplayLog
ROOT::Experimental::RLogChannel & QtWebDisplayLog()
Definition
rootwebpage.cpp:20
gui
qt5webdisplay
rootwebpage.h
ROOT v6-30 - Reference Guide Generated on Sun Dec 1 2024 05:17:42 (GVA Time) using Doxygen 1.9.8