22 setObjectName(
"TCanvasWidget");
24 setSizeIncrement( QSize( 100, 100 ) );
26 setUpdatesEnabled(
true );
27 setMouseTracking(
true);
29 setFocusPolicy( Qt::TabFocus );
30 setCursor( Qt::CrossCursor );
34 static int wincnt = 1;
67 fView = findChild<QWebEngineView*>(
"RootWebView");
69 printf(
"FAIL TO FIND QWebEngineView - ROOT Qt5Web plugin does not work properly !!!!!\n");
97 printf(
"ERROR: Cannot modify fCanvasID data member\n");
105 printf(
"ERROR: Cannot set fMother data member in canvas\n");
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h offset
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t height
char * Form(const char *fmt,...)
Formats a string in a circular formatting buffer.
static std::string GetQt5EmbedQualifier(const void *qparent, const std::string &urlopt="", unsigned qtversion=0x50000)
Returns string which can be used as argument in RWebWindow::Show() method to display web window in pr...
ABC describing GUI independent main window (with menubar, scrollbars and a drawing area).
virtual void ShowEditor(Bool_t show=kTRUE)
virtual void ShowStatusBar(Bool_t show=kTRUE)
TCanvasImp * GetCanvasImp() const override
void Close(Option_t *option="") override
Close canvas.
void SetCanvasImp(TCanvasImp *i)
void SetCanvasSize(UInt_t ww, UInt_t wh) override
Set Width and Height of canvas to ww and wh respectively.
void SetTitle(const char *title="") override
Set canvas title.
Int_t GetCanvasID() const override
void SetName(const char *name="") override
Set canvas name.
void SetBatch(Bool_t batch=kTRUE) override
Toggle batch mode.
Longptr_t GetDataMemberOffset(const char *membername) const
return offset for member name.
virtual Int_t GetValue(const char *name, Int_t dflt) const
Returns the integer value for a resource.
Mother of all ROOT objects.
The most important graphics class in the ROOT system.
TVirtualPad * GetMother() const override
void SetCanvas(TCanvas *c) override
Basic TCanvasImp ABI implementation for Web-based Graphics Provides painting of main ROOT classes in ...
void SetActivePadChangedHandler(PadSignal_t func)
void ShowWebWindow(const ROOT::RWebDisplayArgs &user_args="")
Show canvas in specified place.
void SetPadDblClickedHandler(PadClickedSignal_t func)
void ActivateInEditor(TPad *pad, TObject *obj)
Activate object in editor in web browser.
void SetPadClickedHandler(PadClickedSignal_t func)
void SetUpdatedHandler(UpdatedSignal_t func)
void ShowEditor(Bool_t show=kTRUE) override
void SetCanCreateObjects(Bool_t on=kTRUE)