Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
TQt6GuiFactory.h
Go to the documentation of this file.
1// Author: Sergey Linev 2/07/2026
2
3/*************************************************************************
4 * Copyright (C) 1995-2026, Rene Brun and Fons Rademakers. *
5 * All rights reserved. *
6 * *
7 * For the licensing terms see $ROOTSYS/LICENSE. *
8 * For the list of contributors see $ROOTSYS/README/CREDITS. *
9 *************************************************************************/
10
11
12#ifndef ROOT_TQt6GuiFactory
13#define ROOT_TQt6GuiFactory
14
15
16#include "TGuiFactory.h"
17
18namespace ROOT {
19namespace Experimental {
20
22
23public:
24 TQt6GuiFactory(const char *name = "RootQt6", const char *title = "ROOT Qt6 GUI Factory");
25 ~TQt6GuiFactory() override {}
26
27 Bool_t UseVirtualX() const override { return kFALSE; }
28
29 TApplicationImp *CreateApplicationImp(const char *classname, int *argc, char **argv) override;
30
31 TCanvasImp *CreateCanvasImp(TCanvas *c, const char *title, UInt_t width, UInt_t height) override;
32 TCanvasImp *CreateCanvasImp(TCanvas *c, const char *title, Int_t x, Int_t y, UInt_t width, UInt_t height) override;
33
34 TContextMenuImp *CreateContextMenuImp(TContextMenu *c, const char *name, const char *title) override;
35
36 ClassDefOverride(TQt6GuiFactory,0) //Factory for Qt6 GUI components
37};
38
39} // namespace Experimental
40} // namespace ROOT
41
42
43#endif
#define c(i)
Definition RSha256.hxx:101
constexpr Bool_t kFALSE
Definition RtypesCore.h:109
#define ClassDefOverride(name, id)
Definition Rtypes.h:347
Option_t Option_t width
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t height
char name[80]
Definition TGX11.cxx:142
TApplicationImp * CreateApplicationImp(const char *classname, int *argc, char **argv) override
Create a ROOT native GUI version of TApplicationImp.
TCanvasImp * CreateCanvasImp(TCanvas *c, const char *title, UInt_t width, UInt_t height) override
Create a ROOT native GUI version of TCanvasImp.
Bool_t UseVirtualX() const override
TQt6GuiFactory(const char *name="RootQt6", const char *title="ROOT Qt6 GUI Factory")
TQt6GuiFactory ctor.
TContextMenuImp * CreateContextMenuImp(TContextMenu *c, const char *name, const char *title) override
Create a ROOT native GUI version of TContextMenuImp.
ABC describing GUI independent application implementation protocol.
ABC describing GUI independent main window (with menubar, scrollbars and a drawing area).
Definition TCanvasImp.h:31
The Canvas class.
Definition TCanvas.h:23
This class provides an interface to GUI independent context sensitive popup menus.
This class provides an interface to context sensitive popup menus.
This ABC is a factory for GUI components.
Definition TGuiFactory.h:42
Double_t y[n]
Definition legend1.C:17
Double_t x[n]
Definition legend1.C:17