13#ifndef ROOT7_RWebDisplayArgs 
   14#define ROOT7_RWebDisplayArgs 
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void data
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void on
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t height
 
A log configuration for a channel, e.g.
 
Holds different arguments for starting browser with RWebDisplayHandle::Display() method.
 
std::string GetBrowserName() const
Returns configured browser name.
 
virtual ~RWebDisplayArgs()
Destructor.
 
EBrowserKind GetBrowserKind() const
returns configured browser kind, see EBrowserKind for supported values
 
RWebDisplayArgs & SetUrlOpt(const std::string &opt)
set window url options
 
RWebDisplayArgs & SetBrowserKind(EBrowserKind kind)
set browser kind, see EBrowserKind for allowed values
 
RWebDisplayArgs & SetX(int x=-1)
set preferable web window x position, negative is default
 
const std::string & GetRedirectOutput() const
get file name to which web browser output should be redirected
 
bool IsSupportHeadless() const
returns true if browser supports headless mode
 
void SetStandalone(bool on=true)
Set standalone mode for running browser, default on When disabled, normal browser window (or just tab...
 
int fHeight
! custom window height, when not specified - used RWebWindow geometry
 
bool SetPosAsStr(const std::string &str)
Set position of web browser window as string like "100,100".
 
std::string fExec
! string to run browser, used with kCustom type
 
void SetBatchMode(bool on=true)
set batch mode
 
RWebDisplayArgs & SetWidgetKind(const std::string &kind)
set widget kind
 
THttpServer * GetHttpServer() const
returns http server instance, used for window display
 
void * fDriverData
! special data delivered to driver, can be used for QWebEngine
 
bool fBatchMode
! is browser runs in batch mode
 
const std::string & GetWidgetKind() const
returns widget kind
 
bool fStandalone
! indicates if browser should run isolated from other browser instances
 
RWebDisplayArgs & SetSize(int w, int h)
set preferable web window width and height
 
RWebDisplayArgs & SetUrl(const std::string &url)
set window url
 
int GetWidth() const
returns preferable web window width
 
RWebDisplayArgs & SetPageContent(const std::string &cont)
set window url
 
bool fHeadless
! is browser runs in headless mode
 
std::string fWidgetKind
! widget kind, used to identify that will be displayed in the web window
 
std::string fUrlOpt
! extra URL options, which are append to window URL
 
const std::string & GetUrl() const
returns window url
 
static std::string GetQtEmbedQualifier(const void *qparent, const std::string &urlopt="", unsigned qtversion=0x60000)
Returns string which can be used as argument in RWebWindow::Show() method to display web window in pr...
 
void SetCustomExec(const std::string &exec)
set custom executable to start web browser
 
int fWidth
! custom window width, when not specified - used RWebWindow geometry
 
std::string fUrl
! URL to display
 
void SetMasterWindow(std::shared_ptr< RWebWindow > master, unsigned connid=0, int channel=-1)
Assign window, connection and channel id where other window will be embed.
 
void AppendUrlOpt(const std::string &opt)
append extra url options, add "&" as separator if required
 
int GetY() const
set preferable web window y position
 
std::string GetFullUrl() const
returns window url with append options
 
bool IsStandalone() const
Return true if browser should runs in standalone mode.
 
int GetHeight() const
returns preferable web window height
 
RWebDisplayArgs & SetBrowserKind(const std::string &kind)
Set browser kind as string argument.
 
EBrowserKind fKind
! id of web browser used for display
 
std::string GetCustomExec() const
returns custom executable to start web browser
 
void SetExtraArgs(const std::string &args)
set extra command line arguments for starting web browser command
 
unsigned fMasterConnection
! used master connection
 
RWebDisplayArgs & SetPos(int x=-1, int y=-1)
set preferable web window x and y position, negative is default
 
bool IsBatchMode() const
returns batch mode
 
void SetHttpServer(THttpServer *serv)
set http server instance, used for window display
 
std::string fPageContent
! HTML page content
 
int fMasterChannel
! used master channel
 
RWebDisplayArgs & SetWidth(int w=0)
set preferable web window width
 
void SetDriverData(void *data)
[internal] set web-driver data, used to start window
 
bool IsInteractiveBrowser() const
returns true if interactive browser window supposed to be started
 
RWebDisplayArgs & SetY(int y=-1)
set preferable web window y position, negative is default
 
bool IsHeadless() const
returns headless mode
 
THttpServer * fServer
! http server which handle all requests
 
std::shared_ptr< RWebWindow > fMaster
! master window
 
std::string fRedirectOutput
! filename where browser output should be redirected
 
RWebDisplayArgs & SetHeight(int h=0)
set preferable web window height
 
const std::string & GetUrlOpt() const
returns window url options
 
static std::string GetQt5EmbedQualifier(const void *qparent, const std::string &urlopt="", unsigned qtversion=0x60000)
Returns string which can be used as argument in RWebWindow::Show() method to display web window in pr...
 
bool SetSizeAsStr(const std::string &str)
Set size of web browser window as string like "800x600".
 
@ kOn
web display enable, first try use embed displays like Qt or CEF, then native browsers and at the end ...
 
@ kDefault
default system web browser, can not be used in batch mode
 
@ kFirefox
Mozilla Firefox browser.
 
@ kNative
either Chrome or Firefox - both support major functionality
 
@ kLocal
either CEF or Qt5 - both runs on local display without real http server
 
@ kServer
indicates that ROOT runs as server and just printouts window URL, browser should be started by the us...
 
@ kOff
disable web display, do not start any browser
 
@ kEmbedded
window will be embedded into other, no extra browser need to be started
 
@ kCEF
Chromium Embedded Framework - local display with CEF libs.
 
@ kQt6
Qt6 QWebEngine libraries - Chromium code packed in qt6.
 
@ kCustom
custom web browser, execution string should be provided
 
@ kChrome
Google Chrome browser.
 
@ kEdge
Microsoft Edge browser (Windows only)
 
void * GetDriverData() const
[internal] returns web-driver data, used to start window
 
void SetRedirectOutput(const std::string &fname="")
specify file name to which web browser output should be redirected
 
void SetHeadless(bool on=true)
set headless mode
 
const std::string & GetExtraArgs() const
get extra command line arguments for starting web browser command
 
int GetX() const
set preferable web window x position
 
bool IsLocalDisplay() const
returns true if local display like CEF or Qt5 QWebEngine should be used
 
std::string fExtraArgs
! extra arguments which will be append to exec string
 
const std::string & GetPageContent() const
returns window url
 
int fY
! custom window y position, negative is default
 
int fX
! custom window x position, negative is default
 
RWebDisplayArgs()
Default constructor.
 
Represents web window, which can be shown in web browser or any other supported environment.
 
Online http server for arbitrary ROOT application.
 
ROOT::RLogChannel & WebGUILog()
Log channel for WebGUI diagnostics.