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

Definition at line 30 of file RBrowserTCanvasWidget.cxx.

Public Member Functions

 RBrowserTCanvasWidget (const std::string &name)
 
 RBrowserTCanvasWidget (const std::string &name, std::unique_ptr< TCanvas > &canv)
 
virtual ~RBrowserTCanvasWidget ()
 
void CheckModified () override
 
bool DrawElement (std::shared_ptr< Browsable::RElement > &elem, const std::string &opt="") override
 
std::string GetKind () const override
 
std::string GetTitle () override
 
std::string GetUrl () override
 
void SetActive () override
 
void Show (const std::string &arg) override
 
- Public Member Functions inherited from ROOT::RBrowserWidget
 RBrowserWidget (const std::string &name)
 
virtual ~RBrowserWidget ()=default
 
RBrowserGetBrowser () const
 
const std::string & GetName () const
 
const Browsable::RElementPath_tGetPath () const
 
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.
 
void SetPath (const Browsable::RElementPath_t &path)
 

Private Member Functions

void SetPrivateCanvasFields (bool on_init)
 

Private Attributes

std::unique_ptr< TCanvasfCanvas
 ! drawn canvas
 
std::multimap< TVirtualPad *, std::unique_ptr< Browsable::RHolder > > fObjects
 ! objects holder, associated with pads
 
TWebCanvasfWebCanvas {nullptr}
 ! web implementation, owned by TCanvas
 
Inheritance diagram for RBrowserTCanvasWidget:
[legend]

Constructor & Destructor Documentation

◆ RBrowserTCanvasWidget() [1/2]

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

Definition at line 83 of file RBrowserTCanvasWidget.cxx.

◆ RBrowserTCanvasWidget() [2/2]

RBrowserTCanvasWidget::RBrowserTCanvasWidget ( const std::string &  name,
std::unique_ptr< TCanvas > &  canv 
)
inline

Definition at line 112 of file RBrowserTCanvasWidget.cxx.

◆ ~RBrowserTCanvasWidget()

virtual RBrowserTCanvasWidget::~RBrowserTCanvasWidget ( )
inlinevirtual

Definition at line 134 of file RBrowserTCanvasWidget.cxx.

Member Function Documentation

◆ CheckModified()

void RBrowserTCanvasWidget::CheckModified ( )
inlineoverridevirtual

Reimplemented from ROOT::RBrowserWidget.

Definition at line 228 of file RBrowserTCanvasWidget.cxx.

◆ DrawElement()

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

Reimplemented from ROOT::RBrowserWidget.

Definition at line 175 of file RBrowserTCanvasWidget.cxx.

◆ GetKind()

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

Implements ROOT::RBrowserWidget.

Definition at line 153 of file RBrowserTCanvasWidget.cxx.

◆ GetTitle()

std::string RBrowserTCanvasWidget::GetTitle ( )
inlineoverridevirtual

Reimplemented from ROOT::RBrowserWidget.

Definition at line 170 of file RBrowserTCanvasWidget.cxx.

◆ GetUrl()

std::string RBrowserTCanvasWidget::GetUrl ( )
inlineoverridevirtual

Implements ROOT::RBrowserWidget.

Definition at line 165 of file RBrowserTCanvasWidget.cxx.

◆ SetActive()

void RBrowserTCanvasWidget::SetActive ( )
inlineoverridevirtual

Reimplemented from ROOT::RBrowserWidget.

Definition at line 155 of file RBrowserTCanvasWidget.cxx.

◆ SetPrivateCanvasFields()

void RBrowserTCanvasWidget::SetPrivateCanvasFields ( bool  on_init)
inlineprivate

Definition at line 37 of file RBrowserTCanvasWidget.cxx.

◆ Show()

void RBrowserTCanvasWidget::Show ( const std::string &  arg)
inlineoverridevirtual

Implements ROOT::RBrowserWidget.

Definition at line 160 of file RBrowserTCanvasWidget.cxx.

Member Data Documentation

◆ fCanvas

std::unique_ptr<TCanvas> RBrowserTCanvasWidget::fCanvas
private

! drawn canvas

Definition at line 32 of file RBrowserTCanvasWidget.cxx.

◆ fObjects

std::multimap<TVirtualPad *, std::unique_ptr<Browsable::RHolder> > RBrowserTCanvasWidget::fObjects
private

! objects holder, associated with pads

Definition at line 35 of file RBrowserTCanvasWidget.cxx.

◆ fWebCanvas

TWebCanvas* RBrowserTCanvasWidget::fWebCanvas {nullptr}
private

! web implementation, owned by TCanvas

Definition at line 33 of file RBrowserTCanvasWidget.cxx.

  • gui/browserv7/src/RBrowserTCanvasWidget.cxx