Logo ROOT  
Reference Guide
 
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Loading...
Searching...
No Matches
RCanvasWidget Class Reference

Definition at line 25 of file RCanvasWidget.h.

Public Member Functions

 RCanvasWidget (QWidget *parent=nullptr)
 
 ~RCanvasWidget () override
 
auto getCanvas ()
 returns canvas shown in the widget
 

Protected Member Functions

void resizeEvent (QResizeEvent *event) override
 

Protected Attributes

std::shared_ptr< ROOT::Experimental::RCanvasfCanvas
 
QWebEngineViewfView {nullptr}
 qt webwidget to show
 

#include </github/home/ROOT-CI/src/tutorials/webgui/qtweb/RCanvasWidget.h>

Inheritance diagram for RCanvasWidget:
[legend]

Constructor & Destructor Documentation

◆ RCanvasWidget()

RCanvasWidget::RCanvasWidget ( QWidget * parent = nullptr)

Definition at line 16 of file RCanvasWidget.cpp.

◆ ~RCanvasWidget()

RCanvasWidget::~RCanvasWidget ( )
override

Definition at line 47 of file RCanvasWidget.cpp.

Member Function Documentation

◆ getCanvas()

auto RCanvasWidget::getCanvas ( )
inline

returns canvas shown in the widget

Definition at line 42 of file RCanvasWidget.h.

◆ resizeEvent()

void RCanvasWidget::resizeEvent ( QResizeEvent * event)
overrideprotected

Definition at line 53 of file RCanvasWidget.cpp.

Member Data Documentation

◆ fCanvas

std::shared_ptr<ROOT::Experimental::RCanvas> RCanvasWidget::fCanvas
protected

Definition at line 35 of file RCanvasWidget.h.

◆ fView

QWebEngineView* RCanvasWidget::fView {nullptr}
protected

qt webwidget to show

Definition at line 33 of file RCanvasWidget.h.

  • tutorials/webgui/qtweb/RCanvasWidget.h
  • tutorials/webgui/qtweb/RCanvasWidget.cpp