23 #include "TQtRConfig.h"
26 #include "TQtApplication.h"
30 # if ROOT_VERSION_CODE < ROOT_VERSION(5,13,0)
31 # include "TWin32Application.h"
35 # include "TQtRootApplication.h"
47 TGClient *TQtRootGuiFactory::gfQtClient = 0;
54 :
TGuiFactory("QtRootProxy","Qt-based ROOT GUI Factory"),fGuiProxy(0)
56 if (TGQt::GetVirtualX())
gVirtualX = TGQt::GetVirtualX();
68 if (TGQt::GetVirtualX())
gVirtualX = TGQt::GetVirtualX();
76 TGQt::CreateQtApplicationImp();
79 # if ROOT_VERSION_CODE < ROOT_VERSION(5,13,0)
80 app =
new TWin32Application(classname, argc, argv);
83 app =
new TQtRootApplication (classname, argc, argv);
125 #if ROOT_VERSION_CODE < ROOT_VERSION(5,17,5)
138 #if ROOT_VERSION_CODE < ROOT_VERSION(5,17,5)
virtual TContextMenuImp * CreateContextMenuImp(TContextMenu *c, const char *name, const char *title)
Create a batch version of TContextMenuImp.
virtual TBrowserImp * CreateBrowserImp(TBrowser *b, const char *title, UInt_t width, UInt_t height, Option_t *opt="")
Create a batch version of TBrowserImp.
A Control Bar is a fully user configurable tool which provides fast access to frequently used operati...
ClassImp(TQtRootGuiFactory) TQtRootGuiFactory
TQtRootGuiFactory ctor.
ABC describing GUI independent main window (with menubar, scrollbars and a drawing area)...
virtual TCanvasImp * CreateCanvasImp(TCanvas *c, const char *title, UInt_t width, UInt_t height)
Create a batch version of TCanvasImp.
ABC describing GUI independent control bar.
virtual TContextMenuImp * CreateContextMenuImp(TContextMenu *c, const char *name, const char *title)
Create a batch version of TContextMenuImp.
virtual TControlBarImp * CreateControlBarImp(TControlBar *c, const char *title)
Create a batch version of TControlBarImp.
ABC describing GUI independent application implementation protocol.
Using a TBrowser one can browse all ROOT objects.
static TGClient * gfQtClient
TPaveLabel title(3, 27.1, 15, 28.7,"ROOT Environment and Tools")
virtual TInspectorImp * CreateInspectorImp(const TObject *obj, UInt_t width, UInt_t height)
Create a batch version of TInspectorImp.
virtual TCanvasImp * CreateCanvasImp(TCanvas *c, const char *title, UInt_t width, UInt_t height)
Create a batch version of TCanvasImp.
Mother of all ROOT objects.
This ABC is a factory for GUI components.
virtual TInspectorImp * CreateInspectorImp(const TObject *obj, UInt_t width, UInt_t height)
Create a batch version of TInspectorImp.
virtual TBrowserImp * CreateBrowserImp(TBrowser *b, const char *title, UInt_t width, UInt_t height)
static void CreateQClient()
virtual TApplicationImp * CreateApplicationImp(const char *classname, int *argc, char **argv)
Create a batch version of TApplicationImp.
ABC describing GUI independent object inspector (abstraction mainly needed for Win32.
virtual TControlBarImp * CreateControlBarImp(TControlBar *c, const char *title)
Create a batch version of TControlBarImp.
ABC describing GUI independent browser implementation protocol.