Definition at line 68 of file rootqt6.cpp.
Classes | |
class | Qt6Creator |
Public Member Functions | |
RQt6WebDisplayHandle (const std::string &url) | |
~RQt6WebDisplayHandle () override | |
bool | Resize (int width, int height) override |
resize web window - if possible | |
![]() | |
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 bool | CanProduceImages (const std::string &browser="") |
Returns true if image production for specified browser kind is supported If browser not specified - use currently configured browser or try to test existing web browsers. | |
static std::unique_ptr< RWebDisplayHandle > | Display (const RWebDisplayArgs &args) |
Create web display. | |
static bool | DisplayUrl (const std::string &url) |
Display provided url in configured web browser. | |
static bool | NeedHttpServer (const RWebDisplayArgs &args) |
Check if http server required for display. | |
static bool | ProduceImage (const std::string &fname, const std::string &json, int width=800, int height=600, const char *batch_file=nullptr) |
Produce image file using JSON data as source Invokes JSROOT drawing functionality in headless browser - Google Chrome or Mozilla Firefox. | |
static bool | ProduceImages (const std::string &fname, const std::vector< std::string > &jsons, const std::vector< int > &widths, const std::vector< int > &heights, const char *batch_file=nullptr) |
Produce image file(s) using JSON data as source Invokes JSROOT drawing functionality in headless browser - Google Chrome or Mozilla Firefox. | |
Protected Attributes | |
RootWebView * | fView {nullptr} |
pointer on widget, need to release when handle is destroyed | |
Additional Inherited Members | |
![]() | |
static bool | CheckIfCanProduceImages (RWebDisplayArgs &args) |
Checks if configured browser can be used for image production. | |
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. | |
|
inline |
Definition at line 215 of file rootqt6.cpp.
|
inlineoverride |
Definition at line 217 of file rootqt6.cpp.
|
inlinestatic |
Definition at line 234 of file rootqt6.cpp.
resize web window - if possible
Reimplemented from ROOT::RWebDisplayHandle.
Definition at line 226 of file rootqt6.cpp.
|
protected |
pointer on widget, need to release when handle is destroyed
Definition at line 71 of file rootqt6.cpp.