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

Constructor Summary
TQCanvasImp(TCanvas * c)
          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 ~TQCanvasImp()
           

Method Summary
 virtual voidClose()
          Close the dialog box
 virtual voidForceUpdate()
          Force an update of the dialog box
 virtual voidGetWindowGeometry(Int_t & ax, Int_t & ay, UInt_t & w, UInt_t & h)
          Get a specification of the window geometry
 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 * text, Int_t partidx)
          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)
          Show the menu bar
 virtual voidShowStatusBar(Bool_t show)
          Show status bar

Methods inherited from class TCanvasImp
Canvas

Constructor Detail

TQCanvasImp

public TQCanvasImp(TCanvas * c)
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 ~TQCanvasImp()
Method Detail

Close

public virtual void Close()
Close the dialog box

ForceUpdate

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

GetWindowGeometry

public virtual void GetWindowGeometry(Int_t & ax, Int_t & ay, UInt_t & w, UInt_t & h)
Get a specification of the window geometry

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 * text, Int_t partidx)
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)
Show the menu bar

ShowStatusBar

public virtual void ShowStatusBar(Bool_t show)
Show status bar

Association Links

to Class TQRootCanvas

to Class QTFrame