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 &="") |
RBrowser * | GetBrowser () const |
virtual std::string | GetKind () const =0 |
const std::string & | GetName () const |
const Browsable::RElementPath_t & | GetPath () 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 | |
RBrowser * | fBrowser {nullptr} |
std::string | fName |
! widget name | |
Browsable::RElementPath_t | fPath |
! path of drawn element | |
Friends | |
class | RBrowser |
|
inlineexplicit |
Definition at line 44 of file RBrowserWidget.hxx.
|
virtualdefault |
|
inlinevirtual |
Reimplemented in RBrowserRCanvasWidget, and RBrowserTCanvasWidget.
Definition at line 67 of file RBrowserWidget.hxx.
|
inlinevirtual |
Reimplemented in ROOT::RBrowserInfoWidget, ROOT::RBrowserEditorWidget, RBrowserGeomWidget, RBrowserTreeWidget, RBrowserTCanvasWidget, and RBrowserRCanvasWidget.
Definition at line 63 of file RBrowserWidget.hxx.
|
inline |
Definition at line 47 of file RBrowserWidget.hxx.
|
pure virtual |
|
inline |
Definition at line 58 of file RBrowserWidget.hxx.
|
inline |
Definition at line 56 of file RBrowserWidget.hxx.
|
inlinevirtual |
Reimplemented in ROOT::RBrowserEditorWidget, ROOT::RBrowserInfoWidget, ROOT::RBrowserCatchedWidget, RBrowserRCanvasWidget, RBrowserTCanvasWidget, and RBrowserTreeWidget.
Definition at line 61 of file RBrowserWidget.hxx.
|
pure virtual |
|
inlinevirtual |
Reimplemented in ROOT::RBrowserCatchedWidget, and RBrowserTCanvasWidget.
Definition at line 69 of file RBrowserWidget.hxx.
|
inlinevirtual |
Reimplemented in ROOT::RBrowserEditorWidget, and ROOT::RBrowserInfoWidget.
Definition at line 51 of file RBrowserWidget.hxx.
|
inlinevirtual |
Reimplemented in ROOT::RBrowserEditorWidget, ROOT::RBrowserInfoWidget, and RBrowserTreeWidget.
Definition at line 64 of file RBrowserWidget.hxx.
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.
|
inlinevirtual |
Reimplemented in RBrowserTCanvasWidget.
Definition at line 53 of file RBrowserWidget.hxx.
|
inline |
Definition at line 55 of file RBrowserWidget.hxx.
|
pure virtual |
|
friend |
Definition at line 34 of file RBrowserWidget.hxx.
|
private |
Definition at line 40 of file RBrowserWidget.hxx.
|
private |
! widget name
Definition at line 36 of file RBrowserWidget.hxx.
|
private |
! path of drawn element
Definition at line 38 of file RBrowserWidget.hxx.