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 &="") |
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 () |
virtual std::shared_ptr< RWebWindow > | GetWindow () |
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 | |
RBrowser * | fBrowser {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>
|
inlineexplicit |
Definition at line 45 of file RBrowserWidget.hxx.
|
virtualdefault |
|
inlinevirtual |
Reimplemented in RBrowserRCanvasWidget, and RBrowserTCanvasWidget.
Definition at line 68 of file RBrowserWidget.hxx.
|
inlinevirtual |
Reimplemented in ROOT::RBrowserInfoWidget, ROOT::RBrowserEditorWidget, RBrowserGeomWidget, RBrowserTreeWidget, RBrowserTCanvasWidget, and RBrowserRCanvasWidget.
Definition at line 64 of file RBrowserWidget.hxx.
|
inline |
Definition at line 48 of file RBrowserWidget.hxx.
|
pure virtual |
|
inline |
Definition at line 59 of file RBrowserWidget.hxx.
|
inline |
Definition at line 57 of file RBrowserWidget.hxx.
|
inlinevirtual |
Reimplemented in ROOT::RBrowserEditorWidget, ROOT::RBrowserInfoWidget, ROOT::RBrowserCatchedWidget, RBrowserRCanvasWidget, RBrowserTCanvasWidget, and RBrowserTreeWidget.
Definition at line 62 of file RBrowserWidget.hxx.
|
inlinevirtual |
Reimplemented in ROOT::RBrowserCatchedWidget.
Definition at line 61 of file RBrowserWidget.hxx.
|
inlinevirtual |
Reimplemented in RBrowserGeomWidget, RBrowserRCanvasWidget, RBrowserTCanvasWidget, and RBrowserTreeWidget.
Definition at line 50 of file RBrowserWidget.hxx.
Reimplemented in ROOT::RBrowserCatchedWidget, and RBrowserTCanvasWidget.
Definition at line 70 of file RBrowserWidget.hxx.
|
inlinevirtual |
Reimplemented in ROOT::RBrowserEditorWidget, and ROOT::RBrowserInfoWidget.
Definition at line 52 of file RBrowserWidget.hxx.
|
inlinevirtual |
Reimplemented in ROOT::RBrowserEditorWidget, ROOT::RBrowserInfoWidget, and RBrowserTreeWidget.
Definition at line 65 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 54 of file RBrowserWidget.hxx.
|
inline |
Definition at line 56 of file RBrowserWidget.hxx.
Definition at line 35 of file RBrowserWidget.hxx.
|
private |
Definition at line 41 of file RBrowserWidget.hxx.
|
private |
! widget name
Definition at line 37 of file RBrowserWidget.hxx.
|
private |
! path of drawn element
Definition at line 39 of file RBrowserWidget.hxx.