Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

TQRootGuiFactory Class Reference

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. Qt Factory GUI components. More...

#include <tqrootguifactory.h>

List of all members.

Public Methods

 TQRootGuiFactory (const char *name="QRoot", const char *title="Qt/ROOT GUI Factory")
 TQRootGuiFactory ctor. More...

 ~TQRootGuiFactory ()
TCanvasImp * CreateCanvasImp (TCanvas *c, const char *title, UInt_t width, UInt_t height)
 create a Qt native Gui of TCanvasImp. More...

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. More...

void setCustomFlag (bool custom)

Private Attributes

bool fCustom


Detailed Description

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. Qt Factory GUI components.

Basically it will overrides the member function

Services:

See also:
TGuiFactory(ROOT), TQCanvasImp, TCanvas
Authors:
Denis Bertini <d.bertini@gsi.de>
Version:
2.0

Definition at line 67 of file tqrootguifactory.h.


Constructor & Destructor Documentation

TQRootGuiFactory::TQRootGuiFactory const char *    name = "QRoot",
const char *    title = "Qt/ROOT GUI Factory"
 

TQRootGuiFactory ctor.

Definition at line 47 of file tqrootguifactory.cpp.

References fCustom.

TQRootGuiFactory::~TQRootGuiFactory   [inline]
 

Definition at line 77 of file tqrootguifactory.h.


Member Function Documentation

TCanvasImp * TQRootGuiFactory::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*

Definition at line 60 of file tqrootguifactory.cpp.

TCanvasImp * TQRootGuiFactory::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*

Definition at line 80 of file tqrootguifactory.cpp.

void TQRootGuiFactory::setCustomFlag bool    custom [inline]
 

Definition at line 104 of file tqrootguifactory.h.

References fCustom.


Member Data Documentation

bool TQRootGuiFactory::fCustom [private]
 

Definition at line 70 of file tqrootguifactory.h.

Referenced by setCustomFlag(), and TQRootGuiFactory().


The documentation for this class was generated from the following files:
Generated on Tue Nov 8 10:56:59 2005 for Go4-v2.10-5 by doxygen1.2.15