ROOT
v6-34
Reference Guide
Loading...
Searching...
No Matches
RGeomViewerWidget.h
Go to the documentation of this file.
1
// Author: Sergey Linev, GSI 14/01/2021
2
3
/*************************************************************************
4
* Copyright (C) 1995-2021, Rene Brun and Fons Rademakers. *
5
* All rights reserved. *
6
* *
7
* For the licensing terms see $ROOTSYS/LICENSE. *
8
* For the list of contributors see $ROOTSYS/README/CREDITS. *
9
*************************************************************************/
10
11
#ifndef RGeomViewerWidget_H
12
#define RGeomViewerWidget_H
13
14
#include <QWidget>
15
#include <QWebEngineView>
16
17
#include <memory>
18
19
namespace
ROOT
{
20
class
RGeomViewer;
21
}
22
23
class
RGeomViewerWidget
:
public
QWidget
{
24
25
Q_OBJECT
26
27
protected
:
28
29
void
resizeEvent
(QResizeEvent *event)
override
;
30
31
QWebEngineView
*
fView
{
nullptr
};
///< qt webwidget to show
32
33
std::shared_ptr<ROOT::RGeomViewer>
fGeomViewer
;
34
35
public
:
36
RGeomViewerWidget
(
QWidget
*parent =
nullptr
);
37
virtual
~RGeomViewerWidget
();
38
39
/// returns geometry viewer
40
auto
getGeomViewer
() {
return
fGeomViewer
; }
41
};
42
43
#endif
QWebEngineView
QWidget
RGeomViewerWidget
Definition
RGeomViewerWidget.h:23
RGeomViewerWidget::resizeEvent
void resizeEvent(QResizeEvent *event) override
Definition
RGeomViewerWidget.cpp:50
RGeomViewerWidget::fView
QWebEngineView * fView
qt webwidget to show
Definition
RGeomViewerWidget.h:31
RGeomViewerWidget::getGeomViewer
auto getGeomViewer()
returns geometry viewer
Definition
RGeomViewerWidget.h:40
RGeomViewerWidget::~RGeomViewerWidget
virtual ~RGeomViewerWidget()
Definition
RGeomViewerWidget.cpp:46
RGeomViewerWidget::fGeomViewer
std::shared_ptr< ROOT::RGeomViewer > fGeomViewer
Definition
RGeomViewerWidget.h:33
ROOT
tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tb...
Definition
EExecutionPolicy.hxx:4
tutorials
webgui
qtweb
RGeomViewerWidget.h
ROOT v6-34 - Reference Guide Generated on Thu Jan 9 2025 03:35:51 (GVA Time) using Doxygen 1.9.8