150 if ((cw > 0) && (ch > 0)) {
260 widget->setWindowTitle(QString(
c->GetTitle()));
261 if ((
x < 0) && (
y < 0))
270 imp->fPaintWidget =
widget->GetPaintWidget();
272 if (
imp->fPaintWidget)
273 imp->fPaintWidget->SetCanvas(
c);
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 wid
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t height
static void CreateQApplication(int argc=0, char **argv=nullptr)
Create QApplication and timer to handle Qt events.
void Close() override
Close qt6 canvas - not implemented.
TQt6Canvas(TCanvas *c, const char *name, Int_t x, Int_t y, UInt_t width, UInt_t height)
Constructor.
void SetWindowSize(UInt_t w, UInt_t h) override
Set window size of web canvas.
void SetCanvasSize(UInt_t w, UInt_t h) override
Set canvas size.
void ForceUpdate() override
Increment canvas version and force sending data to client - do not wait for reply.
Int_t InitWindow() override
Initialize window for the qt6 canvas.
UInt_t fClientBits
! latest status bits from client like editor visible or not
QPaintWidget * fPaintWidget
void Iconify() override
Iconify browser window.
void Show() override
Show qt6 canvas.
~TQt6Canvas() override
Destructor.
void AssignStatusBits(UInt_t bits)
Assign clients bits.
Bool_t HasMenuBar() const override
Returns kTRUE if web canvas has menu bar.
UInt_t GetWindowGeometry(Int_t &x, Int_t &y, UInt_t &w, UInt_t &h) override
Returns window geometry including borders and menus.
static TCanvasImp * NewCanvas(TCanvas *c, const char *name, Int_t x, Int_t y, UInt_t width, UInt_t height)
Static method to create TQt6Canvas instance Used by plugin manager to directly create TQt6Canvas with...
Bool_t HasEditor() const override
Returns kTRUE if web canvas has graphical editor.
void SetWindowTitle(const char *newTitle) override
Set window title of web canvas.
Bool_t PerformUpdate(Bool_t async) override
if canvas or any subpad was modified, invoke Qt update() which will redraw area
void GetCanvasGeometry(Int_t wid, UInt_t &w, UInt_t &h) override
Returns canvas geometry.
Bool_t HasToolTips() const override
Returns kTRUE if tooltips are activated in web canvas.
Bool_t HasStatusBar() const override
Returns kTRUE if web canvas has status bar.
TVirtualPadPainter * CreatePadPainter() override
Creates pad painter.
void SetWindowPosition(Int_t x, Int_t y) override
Set window position of web canvas.
void RaiseWindow() override
Raise browser window.
QCanvasWidget * fCanvasWidget
Bool_t fFixedSize
! true when fixed-size canvas is configured
ABC describing GUI independent main window (with menubar, scrollbars and a drawing area).
void SetBit(UInt_t f, Bool_t set)
Set or unset the user status bits as specified in f.
To make it possible to use GL for 2D graphic in a TPad/TCanvas.
Namespace for ROOT features in testing.