Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
ROOT::Experimental::RBrowserWidget Class Referenceabstract

Abstract Web-based widget, which can be used in the RBrowser Used to embed canvas, geometry viewer and potentially any other widgets.

Definition at line 33 of file RBrowserWidget.hxx.

Public Member Functions

 RBrowserWidget (const std::string &name)
 
virtual ~RBrowserWidget ()=default
 
virtual void CheckModified ()
 
virtual bool DrawElement (std::shared_ptr< Browsable::RElement > &, const std::string &="")
 
RBrowserGetBrowser () const
 
virtual std::string GetKind () const =0
 
const std::string & GetName () const
 
const Browsable::RElementPath_tGetPath () const
 
virtual std::string GetTitle ()
 
virtual std::string GetUrl ()=0
 
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)
 
virtual void Show (const std::string &)=0
 

Private Attributes

RBrowserfBrowser {nullptr}
 
std::string fName
 ! widget name
 
Browsable::RElementPath_t fPath
 ! path of drawn element
 

Friends

class RBrowser
 

#include </home/sftnight/build/workspace/root-makedoc-v628/rootspi/rdoc/src/v6-28-00-patches/gui/browserv7/src/RBrowserWidget.hxx>

Inheritance diagram for ROOT::Experimental::RBrowserWidget:
[legend]

Constructor & Destructor Documentation

◆ RBrowserWidget()

ROOT::Experimental::RBrowserWidget::RBrowserWidget ( const std::string &  name)
inlineexplicit

Definition at line 45 of file RBrowserWidget.hxx.

◆ ~RBrowserWidget()

virtual ROOT::Experimental::RBrowserWidget::~RBrowserWidget ( )
virtualdefault

Member Function Documentation

◆ CheckModified()

virtual void ROOT::Experimental::RBrowserWidget::CheckModified ( )
inlinevirtual

Reimplemented in RBrowserRCanvasWidget, and RBrowserTCanvasWidget.

Definition at line 68 of file RBrowserWidget.hxx.

◆ DrawElement()

virtual bool ROOT::Experimental::RBrowserWidget::DrawElement ( std::shared_ptr< Browsable::RElement > &  ,
const std::string &  = "" 
)
inlinevirtual

◆ GetBrowser()

RBrowser * ROOT::Experimental::RBrowserWidget::GetBrowser ( ) const
inline

Definition at line 48 of file RBrowserWidget.hxx.

◆ GetKind()

virtual std::string ROOT::Experimental::RBrowserWidget::GetKind ( ) const
pure virtual

◆ GetName()

const std::string & ROOT::Experimental::RBrowserWidget::GetName ( ) const
inline

Definition at line 59 of file RBrowserWidget.hxx.

◆ GetPath()

const Browsable::RElementPath_t & ROOT::Experimental::RBrowserWidget::GetPath ( ) const
inline

Definition at line 57 of file RBrowserWidget.hxx.

◆ GetTitle()

virtual std::string ROOT::Experimental::RBrowserWidget::GetTitle ( )
inlinevirtual

◆ GetUrl()

virtual std::string ROOT::Experimental::RBrowserWidget::GetUrl ( )
pure virtual

◆ ResetConn()

virtual void ROOT::Experimental::RBrowserWidget::ResetConn ( )
inlinevirtual

Reimplemented in RBrowserEditorWidget, and RBrowserInfoWidget.

Definition at line 52 of file RBrowserWidget.hxx.

◆ SendWidgetContent()

virtual std::string ROOT::Experimental::RBrowserWidget::SendWidgetContent ( )
inlinevirtual

Reimplemented in RBrowserEditorWidget, RBrowserInfoWidget, and RBrowserTreeWidget.

Definition at line 65 of file RBrowserWidget.hxx.

◆ SendWidgetTitle()

std::string RBrowserWidget::SendWidgetTitle ( )

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

Definition at line 29 of file RBrowserWidget.cxx.

◆ SetActive()

virtual void ROOT::Experimental::RBrowserWidget::SetActive ( )
inlinevirtual

Reimplemented in RBrowserTCanvasWidget.

Definition at line 54 of file RBrowserWidget.hxx.

◆ SetPath()

void ROOT::Experimental::RBrowserWidget::SetPath ( const Browsable::RElementPath_t path)
inline

Definition at line 56 of file RBrowserWidget.hxx.

◆ Show()

virtual void ROOT::Experimental::RBrowserWidget::Show ( const std::string &  )
pure virtual

Friends And Related Symbol Documentation

◆ RBrowser

friend class RBrowser
friend

Definition at line 35 of file RBrowserWidget.hxx.

Member Data Documentation

◆ fBrowser

RBrowser* ROOT::Experimental::RBrowserWidget::fBrowser {nullptr}
private

Definition at line 41 of file RBrowserWidget.hxx.

◆ fName

std::string ROOT::Experimental::RBrowserWidget::fName
private

! widget name

Definition at line 37 of file RBrowserWidget.hxx.

◆ fPath

Browsable::RElementPath_t ROOT::Experimental::RBrowserWidget::fPath
private

! path of drawn element

Definition at line 39 of file RBrowserWidget.hxx.

  • gui/browserv7/src/RBrowserWidget.hxx
  • gui/browserv7/src/RBrowserWidget.cxx