Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
RCanvasWidget Class Reference

Definition at line 25 of file RCanvasWidget.h.

Public Member Functions

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

Protected Member Functions

void resizeEvent (QResizeEvent *event) override
 

Protected Attributes

std::shared_ptr< ROOT::Experimental::RCanvasfCanvas
 
QWebEngineView * fView {nullptr}
 qt webwidget to show
 

#include </home/sftnight/build/workspace/root-makedoc-v624/rootspi/rdoc/src/v6-24-00-patches/tutorials/webgui/qt5web/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 ( )
virtual

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/qt5web/RCanvasWidget.h
  • tutorials/webgui/qt5web/RCanvasWidget.cpp