Logo ROOT  
Reference Guide
Loading...
Searching...
No Matches
ROOT::RBrowserEditorWidget Class Reference

Definition at line 62 of file RBrowser.cxx.

Public Member Functions

 RBrowserEditorWidget (const std::string &name, bool is_editor=true)
 ~RBrowserEditorWidget () override=default
virtual void CheckModified ()
bool DrawElement (std::shared_ptr< Browsable::RElement > &elem, const std::string &="") override
RBrowserGetBrowser () const
std::string GetKind () const override
const std::string & GetName () const
const Browsable::RElementPath_tGetPath () const
std::string GetTitle () override
virtual std::string GetUrl ()
virtual std::shared_ptr< RWebWindowGetWindow ()
virtual bool IsValid ()
void ResetConn () override
std::string SendWidgetContent () override
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)

Public Attributes

std::string fContent
std::string fFileName
bool fFirstSend {false}
 ! if editor content was send at least once
bool fIsEditor {true}
 ! either editor or image viewer
std::string fItemPath
 ! item path in the browser
std::string fTitle

Private Attributes

RBrowserfBrowser {nullptr}
std::string fName
 ! widget name
Browsable::RElementPath_t fPath
 ! path of drawn element
Inheritance diagram for ROOT::RBrowserEditorWidget:
ROOT::RBrowserWidget

Constructor & Destructor Documentation

◆ RBrowserEditorWidget()

ROOT::RBrowserEditorWidget::RBrowserEditorWidget ( const std::string & name,
bool is_editor = true )
inline

Definition at line 72 of file RBrowser.cxx.

◆ ~RBrowserEditorWidget()

ROOT::RBrowserEditorWidget::~RBrowserEditorWidget ( )
overridedefault

Member Function Documentation

◆ CheckModified()

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

Reimplemented in RBrowserRCanvasWidget, and RBrowserTCanvasWidget.

Definition at line 68 of file RBrowserWidget.hxx.

◆ DrawElement()

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

Reimplemented from ROOT::RBrowserWidget.

Definition at line 80 of file RBrowser.cxx.

◆ GetBrowser()

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

Definition at line 48 of file RBrowserWidget.hxx.

◆ GetKind()

std::string ROOT::RBrowserEditorWidget::GetKind ( ) const
inlineoverridevirtual

Implements ROOT::RBrowserWidget.

Definition at line 77 of file RBrowser.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 ROOT::RBrowserEditorWidget::GetTitle ( )
inlineoverridevirtual

Reimplemented from ROOT::RBrowserWidget.

Definition at line 78 of file RBrowser.cxx.

◆ GetUrl()

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

Reimplemented in ROOT::RBrowserCatchedWidget.

Definition at line 61 of file RBrowserWidget.hxx.

◆ GetWindow()

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

◆ IsValid()

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

Reimplemented in RBrowserTCanvasWidget, and ROOT::RBrowserCatchedWidget.

Definition at line 70 of file RBrowserWidget.hxx.

◆ ResetConn()

void ROOT::RBrowserEditorWidget::ResetConn ( )
inlineoverridevirtual

Reimplemented from ROOT::RBrowserWidget.

Definition at line 75 of file RBrowser.cxx.

◆ SendWidgetContent()

std::string ROOT::RBrowserEditorWidget::SendWidgetContent ( )
inlineoverridevirtual

Reimplemented from ROOT::RBrowserWidget.

Definition at line 120 of file RBrowser.cxx.

◆ 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.

◆ fContent

std::string ROOT::RBrowserEditorWidget::fContent

Definition at line 68 of file RBrowser.cxx.

◆ fFileName

std::string ROOT::RBrowserEditorWidget::fFileName

Definition at line 67 of file RBrowser.cxx.

◆ fFirstSend

bool ROOT::RBrowserEditorWidget::fFirstSend {false}

! if editor content was send at least once

Definition at line 69 of file RBrowser.cxx.

◆ fIsEditor

bool ROOT::RBrowserEditorWidget::fIsEditor {true}

! either editor or image viewer

Definition at line 65 of file RBrowser.cxx.

◆ fItemPath

std::string ROOT::RBrowserEditorWidget::fItemPath

! item path in the browser

Definition at line 70 of file RBrowser.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.

◆ fTitle

std::string ROOT::RBrowserEditorWidget::fTitle

Definition at line 66 of file RBrowser.cxx.


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