Definition at line 24 of file TQt6Canvas.h.
Public Member Functions | |
| TQt6Canvas (TCanvas *c, const char *name, Int_t x, Int_t y, UInt_t width, UInt_t height) | |
| Constructor. | |
| ~TQt6Canvas () override | |
| Destructor. | |
| TCanvas * | Canvas () const |
| void | Close () override |
| Close qt6 canvas - not implemented. | |
| void | ForceUpdate () override |
| Increment canvas version and force sending data to client - do not wait for reply. | |
| void | GetCanvasGeometry (Int_t wid, UInt_t &w, UInt_t &h) override |
| Returns canvas geometry. | |
| QPaintWidget * | GetPaintWidget () const |
| UInt_t | GetWindowGeometry (Int_t &x, Int_t &y, UInt_t &w, UInt_t &h) override |
| Returns window geometry including borders and menus. | |
| Bool_t | HasEditor () const override |
| Returns kTRUE if web canvas has graphical editor. | |
| Bool_t | HasMenuBar () const override |
| Returns kTRUE if web canvas has menu bar. | |
| Bool_t | HasStatusBar () const override |
| Returns kTRUE if web canvas has status bar. | |
| Bool_t | HasToolBar () const override |
| Bool_t | HasToolTips () const override |
| Returns kTRUE if tooltips are activated in web canvas. | |
| void | Iconify () override |
| Iconify browser window. | |
| Int_t | InitWindow () override |
| Initialize window for the qt6 canvas. | |
| virtual TClass * | IsA () const |
| void | RaiseWindow () override |
| Raise browser window. | |
| virtual void | ReallyDelete () |
| virtual Int_t | RequestLocator (Int_t &x, Int_t &y) |
| Request current mouse pointer, redirect to gVirtualX. | |
| void | ResizeCanvasWindow (Int_t) override |
| Resize canvas window, redirect to gVirtualX. | |
| void | SetCanvasSize (UInt_t w, UInt_t h) override |
| Set canvas size. | |
| virtual void | SetCursor (ECursor cursor) |
| virtual void | SetStatusText (const char *text=nullptr, Int_t partidx=0) |
| void | SetWindowPosition (Int_t x, Int_t y) override |
| Set window position of web canvas. | |
| void | SetWindowSize (UInt_t w, UInt_t h) override |
| Set window size of web canvas. | |
| void | SetWindowTitle (const char *newTitle) override |
| Set window title of web canvas. | |
| void | Show () override |
| Show qt6 canvas. | |
| void | ShowEditor (Bool_t=kTRUE) override |
| void | ShowMenuBar (Bool_t=kTRUE) override |
| void | ShowStatusBar (Bool_t=kTRUE) override |
| void | ShowToolBar (Bool_t=kTRUE) override |
| void | ShowToolTips (Bool_t=kTRUE) override |
| virtual void | Streamer (TBuffer &) |
| void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
| void | UpdateDisplay (Int_t=0, Bool_t=kFALSE) override |
| Update gVirtualX display, also optionally sleep to wait until operation finished. | |
| virtual void | Warp (Int_t ix, Int_t iy) |
| Change mouse pointer, redirect to gVirtualX. | |
Static Public Member Functions | |
| static TClass * | Class () |
| static const char * | Class_Name () |
| static constexpr Version_t | Class_Version () |
| static const char * | DeclFileName () |
| 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 without gui factory. | |
Protected Member Functions | |
| void | AssignStatusBits (UInt_t bits) |
| Assign clients bits. | |
| TVirtualPadPainter * | CreatePadPainter () override |
| Creates pad painter. | |
| virtual Bool_t | IsLocked () |
| virtual Bool_t | IsWeb () const |
| virtual void | Lock () |
| Bool_t | PerformUpdate (Bool_t async) override |
| if canvas or any subpad was modified, invoke Qt update() which will redraw area | |
| virtual void | Unlock () |
Protected Attributes | |
| TCanvas * | fCanvas {nullptr} |
| QCanvasWidget * | fCanvasWidget = nullptr |
| UInt_t | fClientBits = 0 |
| ! latest status bits from client like editor visible or not | |
| Bool_t | fFixedSize = kFALSE |
| ! true when fixed-size canvas is configured | |
| QPaintWidget * | fPaintWidget = nullptr |
#include <TQt6Canvas.h>
| TQt6Canvas::TQt6Canvas | ( | TCanvas * | c, |
| const char * | name, | ||
| Int_t | x, | ||
| Int_t | y, | ||
| UInt_t | width, | ||
| UInt_t | height ) |
Constructor.
Definition at line 39 of file TQt6Canvas.cxx.
|
override |
Destructor.
Definition at line 48 of file TQt6Canvas.cxx.
|
protected |
Assign clients bits.
Definition at line 184 of file TQt6Canvas.cxx.
|
inlineinherited |
Definition at line 59 of file TCanvasImp.h.
Definition at line 99 of file TCanvasImp.h.
|
overridevirtual |
Close qt6 canvas - not implemented.
Reimplemented from TCanvasImp.
Definition at line 74 of file TQt6Canvas.cxx.
|
overrideprotectedvirtual |
Definition at line 99 of file TCanvasImp.h.
|
overridevirtual |
Increment canvas version and force sending data to client - do not wait for reply.
Reimplemented from TCanvasImp.
Definition at line 246 of file TQt6Canvas.cxx.
Returns canvas geometry.
Reimplemented from TCanvasImp.
Definition at line 199 of file TQt6Canvas.cxx.
|
inline |
Definition at line 44 of file TQt6Canvas.h.
|
overridevirtual |
Returns window geometry including borders and menus.
Reimplemented from TCanvasImp.
Definition at line 215 of file TQt6Canvas.cxx.
|
overridevirtual |
Returns kTRUE if web canvas has graphical editor.
Reimplemented from TCanvasImp.
Definition at line 88 of file TQt6Canvas.cxx.
|
overridevirtual |
Returns kTRUE if web canvas has menu bar.
Reimplemented from TCanvasImp.
Definition at line 96 of file TQt6Canvas.cxx.
|
overridevirtual |
Returns kTRUE if web canvas has status bar.
Reimplemented from TCanvasImp.
Definition at line 104 of file TQt6Canvas.cxx.
|
inlineoverridevirtual |
Reimplemented from TCanvasImp.
Definition at line 73 of file TQt6Canvas.h.
|
overridevirtual |
Returns kTRUE if tooltips are activated in web canvas.
Reimplemented from TCanvasImp.
Definition at line 112 of file TQt6Canvas.cxx.
|
overridevirtual |
Iconify browser window.
Reimplemented from TCanvasImp.
Definition at line 163 of file TQt6Canvas.cxx.
|
overridevirtual |
Initialize window for the qt6 canvas.
Reimplemented from TCanvasImp.
Definition at line 57 of file TQt6Canvas.cxx.
Reimplemented in TRootCanvas, and TWebCanvas.
Definition at line 99 of file TCanvasImp.h.
Reimplemented in TWebCanvas.
Definition at line 47 of file TCanvasImp.h.
Reimplemented in TWebCanvas.
Definition at line 49 of file TCanvasImp.h.
|
inlineprotectedvirtualinherited |
Reimplemented in TWebCanvas.
Definition at line 45 of file TCanvasImp.h.
|
static |
Static method to create TQt6Canvas instance Used by plugin manager to directly create TQt6Canvas without gui factory.
Definition at line 254 of file TQt6Canvas.cxx.
if canvas or any subpad was modified, invoke Qt update() which will redraw area
Reimplemented from TCanvasImp.
Definition at line 236 of file TQt6Canvas.cxx.
|
overridevirtual |
|
inlinevirtualinherited |
Reimplemented in TRootCanvas.
Definition at line 81 of file TCanvasImp.h.
Request current mouse pointer, redirect to gVirtualX.
Definition at line 36 of file TCanvasImp.cxx.
|
inlineoverridevirtual |
Resize canvas window, redirect to gVirtualX.
Reimplemented from TCanvasImp.
Definition at line 52 of file TQt6Canvas.h.
Reimplemented in TRootCanvas.
Definition at line 76 of file TCanvasImp.h.
|
inlinevirtualinherited |
Reimplemented in TRootCanvas.
Definition at line 71 of file TCanvasImp.h.
Set window position of web canvas.
Reimplemented from TCanvasImp.
Definition at line 120 of file TQt6Canvas.cxx.
Set window size of web canvas.
Reimplemented from TCanvasImp.
Definition at line 129 of file TQt6Canvas.cxx.
|
overridevirtual |
Set window title of web canvas.
Reimplemented from TCanvasImp.
Definition at line 138 of file TQt6Canvas.cxx.
|
overridevirtual |
Reimplemented from TCanvasImp.
Definition at line 57 of file TQt6Canvas.h.
Reimplemented from TCanvasImp.
Definition at line 55 of file TQt6Canvas.h.
Reimplemented from TCanvasImp.
Definition at line 56 of file TQt6Canvas.h.
Reimplemented from TCanvasImp.
Definition at line 58 of file TQt6Canvas.h.
Reimplemented from TCanvasImp.
Definition at line 59 of file TQt6Canvas.h.
Reimplemented in TRootCanvas, and TWebCanvas.
|
inlineinherited |
Definition at line 99 of file TCanvasImp.h.
|
inlineprotectedvirtualinherited |
Reimplemented in TWebCanvas.
Definition at line 46 of file TCanvasImp.h.
|
inlineoverridevirtual |
Update gVirtualX display, also optionally sleep to wait until operation finished.
Reimplemented from TCanvasImp.
Definition at line 53 of file TQt6Canvas.h.
Change mouse pointer, redirect to gVirtualX.
Definition at line 27 of file TCanvasImp.cxx.
|
protectedinherited |
Definition at line 35 of file TCanvasImp.h.
|
protected |
Definition at line 28 of file TQt6Canvas.h.
|
protected |
! latest status bits from client like editor visible or not
Definition at line 32 of file TQt6Canvas.h.
! true when fixed-size canvas is configured
Definition at line 31 of file TQt6Canvas.h.
|
protected |
Definition at line 29 of file TQt6Canvas.h.