Logo ROOT  
Reference Guide
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-2019, 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
18namespace ROOT {
19namespace Experimental {
20class RLogChannel;
21}
22}
23
25
27 Q_OBJECT
28protected:
29 int fConsole{0};
30 virtual void javaScriptConsoleMessage(QWebEnginePage::JavaScriptConsoleMessageLevel level, const QString &message,
31 int lineNumber, const QString &sourceID);
32
33public:
34 RootWebPage(QObject *parent = nullptr);
35 virtual ~RootWebPage() = default;
36};
37
38#endif
A log configuration for a channel, e.g.
Definition: RLogger.hxx:101
RootWebPage(QObject *parent=nullptr)
Definition: rootwebpage.cpp:31
virtual ~RootWebPage()=default
virtual void javaScriptConsoleMessage(QWebEnginePage::JavaScriptConsoleMessageLevel level, const QString &message, int lineNumber, const QString &sourceID)
Definition: rootwebpage.cpp:36
This file contains a specialised ROOT message handler to test for diagnostic in unit tests.
ROOT::Experimental::RLogChannel & QtWebDisplayLog()
Definition: rootwebpage.cpp:20