Class TQRootGuiFactory


class TQRootGuiFactory
derived from TRootGuiFactory

TQRootGuiFactory As TRootGuiFactory from the ROOT library, this class uses the services of the general ABC TGuiFactory in order to get Qt Native GUI components instead of the ROOT ones. Basically it will overrides the member function

Version: 2.0
See Also: TGuiFactory(ROOT)
li TGuiFactory::CreateCanvasImp(TCanvas *c, const char *title, UInt_t width, UInt_t height);, TGuiFactory::CreateCanvasImp(TCanvas *c, const char *title, Int_t x, Int_t y, UInt_t width, UInt_t height), Creates a specific Canvas Implementation QCanvasImp
short Qt Factory GUI components Services:
authors Denis Bertini

Constructor Summary
TQRootGuiFactory(const char * name, const char * title)
          TQRootGuiFactory ctor

Destructor Summary
~TQRootGuiFactory()
           

Method Summary
 TCanvasImp *CreateCanvasImp(TCanvas * c, const char * title, UInt_t width, UInt_t height)
          create a Qt native Gui of TCanvasImp
 TCanvasImp *CreateCanvasImp(TCanvas * c, const char * title, Int_t x, Int_t y, UInt_t width, UInt_t height)
          create a Qt native Gui of TCanvasImp
 voidsetCustomFlag(bool custom)
           

Methods inherited from class TRootGuiFactory
CreateApplicationImp, CreateBrowserImp, CreateBrowserImp, CreateContextMenuImp, CreateControlBarImp, CreateControlBarImp

Methods inherited from class TGuiFactory
CreateInspectorImp

Methods inherited from class TNamed
operator=, Clone, Compare, Copy, FillBuffer, GetName, GetTitle, Hash, IsSortable, SetName, SetNameTitle, SetTitle, ls, Print, Sizeof

Methods inherited from class TObject
operator=, AppendPad, Browse, ClassName, Clear, Delete, DistancetoPrimitive, Draw, DrawClass, DrawClone, Dump, Execute, Execute, ExecuteEvent, FindObject, FindObject, GetDrawOption, GetUniqueID, GetIconName, GetOption, GetObjectInfo, HandleTimer, InheritsFrom, InheritsFrom, Inspect, IsFolder, IsEqual, IsOnHeap, IsZombie, Notify, Paint, Pop, Read, RecursiveRemove, SavePrimitive, SetDrawOption, SetUniqueID, UseCurrentStyle, Write, operatornew, operatornew, operatordelete, operatordelete, SetBit, SetBit, ResetBit, TestBit, InvertBit, Warning, Error, SysError, Fatal, AbstractMethod, MayNotUse, GetDtorOnly, SetDtorOnly, GetObjectStat, SetObjectStat

Constructor Detail

TQRootGuiFactory

public TQRootGuiFactory(const char * name, const char * title)
TQRootGuiFactory ctor
Method Detail

~TQRootGuiFactory

public ~TQRootGuiFactory()
Method Detail

CreateCanvasImp

public TCanvasImp * CreateCanvasImp(TCanvas * c, const char * title, UInt_t width, UInt_t height)
create a Qt native Gui of TCanvasImp
Parameters:
TCanvas - *c (ptr to ROOT TCanvas)
char* - title (title for canvas)
width
height
Returns: QCanvasImp*

CreateCanvasImp

public TCanvasImp * CreateCanvasImp(TCanvas * c, const char * title, Int_t x, Int_t y, UInt_t width, UInt_t height)
create a Qt native Gui of TCanvasImp
Parameters:
TCanvas - *c (ptr to ROOT TCanvas)
char* - title (title for canvas)
x
y
width
height
Returns: TQCanvasImp*

setCustomFlag

public void setCustomFlag(bool custom)