Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
ROOT::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 32 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 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)
 
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-v634/rootspi/rdoc/src/v6-34-00-patches/gui/browserv7/src/RBrowserWidget.hxx>

Inheritance diagram for ROOT::RBrowserWidget:
[legend]

Constructor & Destructor Documentation

◆ RBrowserWidget()

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

Definition at line 44 of file RBrowserWidget.hxx.

◆ ~RBrowserWidget()

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

Member Function Documentation

◆ CheckModified()

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

Reimplemented in RBrowserRCanvasWidget, and RBrowserTCanvasWidget.

Definition at line 67 of file RBrowserWidget.hxx.

◆ DrawElement()

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

◆ GetBrowser()

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

Definition at line 47 of file RBrowserWidget.hxx.

◆ GetKind()

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

◆ GetName()

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

Definition at line 58 of file RBrowserWidget.hxx.

◆ GetPath()

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

Definition at line 56 of file RBrowserWidget.hxx.

◆ GetTitle()

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

◆ GetUrl()

◆ IsValid()

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

Reimplemented in ROOT::RBrowserCatchedWidget, and RBrowserTCanvasWidget.

Definition at line 69 of file RBrowserWidget.hxx.

◆ ResetConn()

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

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

Definition at line 51 of file RBrowserWidget.hxx.

◆ SendWidgetContent()

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

◆ 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 27 of file RBrowserWidget.cxx.

◆ SetActive()

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

Reimplemented in RBrowserTCanvasWidget.

Definition at line 53 of file RBrowserWidget.hxx.

◆ SetPath()

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

Definition at line 55 of file RBrowserWidget.hxx.

◆ Show()

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

Friends And Related Symbol Documentation

◆ RBrowser

friend class RBrowser
friend

Definition at line 34 of file RBrowserWidget.hxx.

Member Data Documentation

◆ fBrowser

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

Definition at line 40 of file RBrowserWidget.hxx.

◆ fName

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

! widget name

Definition at line 36 of file RBrowserWidget.hxx.

◆ fPath

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

! path of drawn element

Definition at line 38 of file RBrowserWidget.hxx.

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