Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
ROOT::Experimental::RQt5WebDisplayHandle Class Reference

Definition at line 68 of file rootqt5.cpp.

Classes

class  Qt5Creator
 

Public Member Functions

 RQt5WebDisplayHandle (const std::string &url)
 
virtual ~RQt5WebDisplayHandle ()
 
- Public Member Functions inherited from ROOT::Experimental::RWebDisplayHandle
 RWebDisplayHandle (const std::string &url)
 constructor
 
virtual ~RWebDisplayHandle ()=default
 required virtual destructor for correct cleanup at the end
 
const std::string & GetContent () const
 get content
 
const std::string & GetUrl () const
 returns url of start web display
 
void SetContent (const std::string &cont)
 set content
 

Static Public Member Functions

static void AddCreator ()
 
- Static Public Member Functions inherited from ROOT::Experimental::RWebDisplayHandle
static std::unique_ptr< RWebDisplayHandleDisplay (const RWebDisplayArgs &args)
 Create web display.
 
static bool DisplayUrl (const std::string &url)
 Display provided url in configured web browser.
 
static bool ProduceImage (const std::string &fname, const std::string &json, int width=800, int height=600)
 Produce image file using JSON data as source Invokes JSROOT drawing functionality in headless browser - Google Chrome or Mozilla Firefox.
 

Protected Attributes

RootWebViewfView {nullptr}
 pointer on widget, need to release when handle is destroyed
 

Additional Inherited Members

- Static Protected Member Functions inherited from ROOT::Experimental::RWebDisplayHandle
static std::unique_ptr< Creator > & FindCreator (const std::string &name, const std::string &libname="")
 Search for specific browser creator If not found, try to add one.
 
static std::map< std::string, std::unique_ptr< Creator > > & GetMap ()
 Static holder of registered creators of web displays.
 
Inheritance diagram for ROOT::Experimental::RQt5WebDisplayHandle:
[legend]

Constructor & Destructor Documentation

◆ RQt5WebDisplayHandle()

ROOT::Experimental::RQt5WebDisplayHandle::RQt5WebDisplayHandle ( const std::string &  url)
inline

Definition at line 228 of file rootqt5.cpp.

◆ ~RQt5WebDisplayHandle()

virtual ROOT::Experimental::RQt5WebDisplayHandle::~RQt5WebDisplayHandle ( )
inlinevirtual

Definition at line 230 of file rootqt5.cpp.

Member Function Documentation

◆ AddCreator()

static void ROOT::Experimental::RQt5WebDisplayHandle::AddCreator ( )
inlinestatic

Definition at line 239 of file rootqt5.cpp.

Member Data Documentation

◆ fView

RootWebView* ROOT::Experimental::RQt5WebDisplayHandle::fView {nullptr}
protected

pointer on widget, need to release when handle is destroyed

Definition at line 71 of file rootqt5.cpp.

  • gui/qt5webdisplay/rootqt5.cpp