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-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_RootWebView
14#define ROOT_RootWebView
15
16#include <QWebEngineView>
17
19 Q_OBJECT
20protected:
21 unsigned fWidth, fHeight;
22 int fX, fY;
23
24 virtual void closeEvent(QCloseEvent *);
25
26 virtual void dropEvent(QDropEvent* event);
27 virtual void dragEnterEvent( QDragEnterEvent *e );
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 virtual QSize sizeHint() const;
43};
44
45#endif
#define e(i)
Definition RSha256.hxx:103
include TDocParser_001 C image html pict1_TDocParser_001 png width
virtual QSize sizeHint() const
virtual void dropEvent(QDropEvent *event)
unsigned fWidth
Definition rootwebview.h:21
void onLoadStarted()
void onWindowCloseRequested()
virtual ~RootWebView()=default
void drop(QDropEvent *event)
virtual void dragEnterEvent(QDragEnterEvent *e)
unsigned fHeight
Definition rootwebview.h:21
virtual void closeEvent(QCloseEvent *)
Double_t y[n]
Definition legend1.C:17
Double_t x[n]
Definition legend1.C:17