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

Definition at line 23 of file RBrowserRCanvasWidget.cxx.

Public Member Functions

 RBrowserRCanvasWidget (const std::string &name)
 RBrowserRCanvasWidget (const std::string &name, std::shared_ptr< ROOT::Experimental::RCanvas > &canv, bool catched_canvas=false)
 ~RBrowserRCanvasWidget () override=default
void CheckModified () override
bool DrawElement (std::shared_ptr< RElement > &elem, const std::string &opt="") override
RBrowserGetBrowser () const
std::string GetKind () const override
const std::string & GetName () const
const Browsable::RElementPath_t & GetPath () const
std::string GetTitle () override
virtual std::string GetUrl ()
std::shared_ptr< ROOT::RWebWindowGetWindow () override
virtual bool IsValid ()
virtual void ResetConn ()
virtual std::string SendWidgetContent ()
std::string SendWidgetTitle ()
 Returns string which can be send to browser client to set/change title of the widget tab.
virtual void SetActive ()
void SetPath (const Browsable::RElementPath_t &path)

Private Attributes

RBrowserfBrowser {nullptr}
std::shared_ptr< ROOT::Experimental::RCanvasfCanvas
 ! drawn canvas
std::string fName
 ! widget name
Browsable::RElementPath_t fPath
 ! path of drawn element
Inheritance diagram for RBrowserRCanvasWidget:
ROOT::RBrowserWidget

Constructor & Destructor Documentation

◆ RBrowserRCanvasWidget() [1/2]

RBrowserRCanvasWidget::RBrowserRCanvasWidget ( const std::string & name)
inline

Definition at line 29 of file RBrowserRCanvasWidget.cxx.

◆ RBrowserRCanvasWidget() [2/2]

RBrowserRCanvasWidget::RBrowserRCanvasWidget ( const std::string & name,
std::shared_ptr< ROOT::Experimental::RCanvas > & canv,
bool catched_canvas = false )
inline

Definition at line 37 of file RBrowserRCanvasWidget.cxx.

◆ ~RBrowserRCanvasWidget()

RBrowserRCanvasWidget::~RBrowserRCanvasWidget ( )
overridedefault

Member Function Documentation

◆ CheckModified()

void RBrowserRCanvasWidget::CheckModified ( )
inlineoverridevirtual

Reimplemented from ROOT::RBrowserWidget.

Definition at line 91 of file RBrowserRCanvasWidget.cxx.

◆ DrawElement()

bool RBrowserRCanvasWidget::DrawElement ( std::shared_ptr< RElement > & elem,
const std::string & opt = "" )
inlineoverridevirtual

Reimplemented from ROOT::RBrowserWidget.

Definition at line 56 of file RBrowserRCanvasWidget.cxx.

◆ GetBrowser()

RBrowser * ROOT::RBrowserWidget::GetBrowser ( ) const
inlineinherited

Definition at line 48 of file RBrowserWidget.hxx.

◆ GetKind()

std::string RBrowserRCanvasWidget::GetKind ( ) const
inlineoverridevirtual

Implements ROOT::RBrowserWidget.

Definition at line 50 of file RBrowserRCanvasWidget.cxx.

◆ GetName()

const std::string & ROOT::RBrowserWidget::GetName ( ) const
inlineinherited

Definition at line 59 of file RBrowserWidget.hxx.

◆ GetPath()

const Browsable::RElementPath_t & ROOT::RBrowserWidget::GetPath ( ) const
inlineinherited

Definition at line 57 of file RBrowserWidget.hxx.

◆ GetTitle()

std::string RBrowserRCanvasWidget::GetTitle ( )
inlineoverridevirtual

Reimplemented from ROOT::RBrowserWidget.

Definition at line 54 of file RBrowserRCanvasWidget.cxx.

◆ GetUrl()

virtual std::string ROOT::RBrowserWidget::GetUrl ( )
inlinevirtualinherited

Reimplemented in ROOT::RBrowserCatchedWidget.

Definition at line 61 of file RBrowserWidget.hxx.

◆ GetWindow()

std::shared_ptr< ROOT::RWebWindow > RBrowserRCanvasWidget::GetWindow ( )
inlineoverridevirtual

Reimplemented from ROOT::RBrowserWidget.

Definition at line 52 of file RBrowserRCanvasWidget.cxx.

◆ IsValid()

virtual bool ROOT::RBrowserWidget::IsValid ( )
inlinevirtualinherited

Reimplemented in RBrowserTCanvasWidget, and ROOT::RBrowserCatchedWidget.

Definition at line 70 of file RBrowserWidget.hxx.

◆ ResetConn()

virtual void ROOT::RBrowserWidget::ResetConn ( )
inlinevirtualinherited

Reimplemented in ROOT::RBrowserEditorWidget, and ROOT::RBrowserInfoWidget.

Definition at line 52 of file RBrowserWidget.hxx.

◆ SendWidgetContent()

virtual std::string ROOT::RBrowserWidget::SendWidgetContent ( )
inlinevirtualinherited

◆ SendWidgetTitle()

std::string RBrowserWidget::SendWidgetTitle ( )
inherited

Returns string which can be send to browser client to set/change title of the widget tab.

Definition at line 27 of file RBrowserWidget.cxx.

◆ SetActive()

virtual void ROOT::RBrowserWidget::SetActive ( )
inlinevirtualinherited

Reimplemented in RBrowserTCanvasWidget.

Definition at line 54 of file RBrowserWidget.hxx.

◆ SetPath()

void ROOT::RBrowserWidget::SetPath ( const Browsable::RElementPath_t & path)
inlineinherited

Definition at line 56 of file RBrowserWidget.hxx.

Member Data Documentation

◆ fBrowser

RBrowser* ROOT::RBrowserWidget::fBrowser {nullptr}
privateinherited

Definition at line 41 of file RBrowserWidget.hxx.

◆ fCanvas

std::shared_ptr<ROOT::Experimental::RCanvas> RBrowserRCanvasWidget::fCanvas
private

! drawn canvas

Definition at line 25 of file RBrowserRCanvasWidget.cxx.

◆ fName

std::string ROOT::RBrowserWidget::fName
privateinherited

! widget name

Definition at line 37 of file RBrowserWidget.hxx.

◆ fPath

Browsable::RElementPath_t ROOT::RBrowserWidget::fPath
privateinherited

! path of drawn element

Definition at line 39 of file RBrowserWidget.hxx.


The documentation for this class was generated from the following file: