v2.10-0 (21000JUN2005)

qtroot.interface
Class TQCanvasImp


class TQCanvasImp
derived from TCanvasImp

TQCanvasImp
ABC describing Qt GUI independent main window (with menubar, scrollbars
and a drawing area).

Version: 2.0
See Also: TCanvasImp
short ABC describing Qt GUI independent main window (with menubar, scrollbars
and a drawing area).
authors Denis Bertini

Field Summary
 protected QTFrame*fdialbox
           
 protected TQRootCanvas*fQCanvas
           

Fields inherited from class TCanvasImp
fCanvas

Constructor Summary
TQCanvasImp(TCanvas* )
          QCanvasImp ctor
TQCanvasImp(TCanvas* c, const char * name, UInt_t width, UInt_t height)
          TQCanvasImp ctor
TQCanvasImp(TCanvas* c, const char * name, Int_t x, Int_t y, UInt_t width, UInt_t height)
          QCanvasImp ctor

Destructor Summary
 virtual synchronized ~TQCanvasImp()
           

Method Summary
 protected voidbuild(TCanvas* c, const char * name, Int_t x, Int_t y, UInt_t width, UInt_t height)
           
 virtual voidClose()
          Close the dialog box
 virtual voidForceUpdate()
          Force an update of the dialog box
 virtual voidIconify()
          Iconify (not implemented yet)
 virtual Int_tInitWindow()
          InitWindow here do nothing else but giving
the ROOT internal window Id
 virtual voidSetCanvasSize(UInt_t w, UInt_t h)
          Set the Canvas size
 virtual voidSetStatusText(const char * , Int_t )
          set a status text (not implemented yet)
 virtual voidSetWindowPosition(Int_t x, Int_t y)
          Move the dialog box window to a specified position in the local
coordinates
 virtual voidSetWindowSize(UInt_t w, UInt_t h)
          Set the Windows size to width=w heigth=h
 virtual voidSetWindowTitle(const char * newTitle)
          Set the window title
 virtual voidShow()
          Do a Show of the dialog box
 virtual voidShowMenuBar(Bool_t )
          Show the menu bar
 virtual voidShowStatusBar(Bool_t )
          Show status bar

Methods inherited from class TCanvasImp
Canvas, GetWindowGeometry, Class, Class_Name, Class_Version, Dictionary, IsA, ShowMembers, Streamer, StreamerNVirtual, DeclFileName, ImplFileLine, ImplFileName, DeclFileLine

Field Detail

fdialbox

protected QTFrame* fdialbox

fQCanvas

protected TQRootCanvas* fQCanvas
Constructor Detail

TQCanvasImp

public TQCanvasImp(TCanvas* )
QCanvasImp ctor
li creates a QMainWindow as a dialog box, puts inside a QRootCanvas as a central Widget

TQCanvasImp

public TQCanvasImp(TCanvas* c, const char * name, UInt_t width, UInt_t height)
TQCanvasImp ctor
Parameters:
c (ptr to ROOT TCanvas)
name (title for canvas)
width
height
li creates a QMainWindow as a dialog box, puts inside a QRootCanvas as a central Widget

TQCanvasImp

public TQCanvasImp(TCanvas* c, const char * name, Int_t x, Int_t y, UInt_t width, UInt_t height)
QCanvasImp ctor
Parameters:
c (ptr to ROOT TCanvas)
name (title for canvas)
x
y
width
height
li creates a QMainWindow as a dialog box, puts inside a QRootCanvas as a central Widget
Method Detail

~TQCanvasImp

public virtual synchronized ~TQCanvasImp()
Method Detail

build

protected void build(TCanvas* c, const char * name, Int_t x, Int_t y, UInt_t width, UInt_t height)

Close

public virtual void Close()
Close the dialog box

ForceUpdate

public virtual void ForceUpdate()
Force an update of the dialog box

Iconify

public virtual void Iconify()
Iconify (not implemented yet)

InitWindow

public virtual Int_t InitWindow()
InitWindow here do nothing else but giving
the ROOT internal window Id
Returns: int wid

SetCanvasSize

public virtual void SetCanvasSize(UInt_t w, UInt_t h)
Set the Canvas size

SetStatusText

public virtual void SetStatusText(const char * , Int_t )
set a status text (not implemented yet)

SetWindowPosition

public virtual void SetWindowPosition(Int_t x, Int_t y)
Move the dialog box window to a specified position in the local
coordinates

SetWindowSize

public virtual void SetWindowSize(UInt_t w, UInt_t h)
Set the Windows size to width=w heigth=h

SetWindowTitle

public virtual void SetWindowTitle(const char * newTitle)
Set the window title

Show

public virtual void Show()
Do a Show of the dialog box

ShowMenuBar

public virtual void ShowMenuBar(Bool_t )
Show the menu bar

ShowStatusBar

public virtual void ShowStatusBar(Bool_t )
Show status bar

Association Links

to Class TQRootCanvas

to Class QTFrame


J.Adamczewski, M.Al-Turany, D.Bertini, H.G.Essel, S.Linev

30-06-2005