Logo ROOT  
Reference Guide
 
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
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 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 ()
 
virtual std::shared_ptr< RWebWindowGetWindow ()
 
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::string fName
 ! widget name
 
Browsable::RElementPath_t fPath
 ! path of drawn element
 

Friends

class RBrowser
 

#include </github/home/ROOT-CI/src/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 45 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 68 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 48 of file RBrowserWidget.hxx.

◆ GetKind()

◆ GetName()

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

Definition at line 59 of file RBrowserWidget.hxx.

◆ GetPath()

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

Definition at line 57 of file RBrowserWidget.hxx.

◆ GetTitle()

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

◆ GetUrl()

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

Reimplemented in ROOT::RBrowserCatchedWidget.

Definition at line 61 of file RBrowserWidget.hxx.

◆ GetWindow()

virtual std::shared_ptr< RWebWindow > ROOT::RBrowserWidget::GetWindow ( )
inlinevirtual

◆ IsValid()

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

Reimplemented in ROOT::RBrowserCatchedWidget, and RBrowserTCanvasWidget.

Definition at line 70 of file RBrowserWidget.hxx.

◆ ResetConn()

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

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

Definition at line 52 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 54 of file RBrowserWidget.hxx.

◆ SetPath()

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

Definition at line 56 of file RBrowserWidget.hxx.

Friends And Related Symbol Documentation

◆ RBrowser

friend class RBrowser
friend

Definition at line 35 of file RBrowserWidget.hxx.

Member Data Documentation

◆ fBrowser

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

Definition at line 41 of file RBrowserWidget.hxx.

◆ fName

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

! widget name

Definition at line 37 of file RBrowserWidget.hxx.

◆ fPath

Browsable::RElementPath_t ROOT::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