Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
rootwebview.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_RootWebView
14#define ROOT_RootWebView
15
16#include <QWebEngineView>
17
19 Q_OBJECT
20protected:
21 unsigned fWidth{0}, fHeight{0};
22 int fX{0}, fY{0};
23
24 void closeEvent(QCloseEvent *) override;
25
26 void dropEvent(QDropEvent *) override;
27 void dragEnterEvent(QDragEnterEvent *) override;
28
29public slots:
30 void onLoadStarted();
31
33
34signals:
35
36 void drop(QDropEvent* event);
37
38public:
39 RootWebView(QWidget *parent = nullptr, unsigned width = 0, unsigned height = 0, int x = -1, int y = -1);
40 virtual ~RootWebView() = default;
41
42 QSize sizeHint() const override;
43};
44
45#endif
Option_t Option_t width
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t height
unsigned fWidth
Definition rootwebview.h:21
void onLoadStarted()
void onWindowCloseRequested()
void dragEnterEvent(QDragEnterEvent *) override
virtual ~RootWebView()=default
void drop(QDropEvent *event)
void dropEvent(QDropEvent *) override
unsigned fHeight
Definition rootwebview.h:21
QSize sizeHint() const override
void closeEvent(QCloseEvent *) override
Double_t y[n]
Definition legend1.C:17
Double_t x[n]
Definition legend1.C:17