Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

TQCanvasImp Class Reference

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

#include <tqcanvasimp.h>

List of all members.

Public Member Functions

 TQCanvasImp (TCanvas *=0)
 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.
virtual ~TQCanvasImp ()
virtual Int_t InitWindow ()
 InitWindow here do nothing else but giving the ROOT internal window Id.
virtual void ForceUpdate ()
 Force an update of the dialog box.
virtual void Iconify ()
 Iconify (not implemented yet).
virtual void SetStatusText (const char *=0, Int_t=0)
 set a status text (not implemented yet)
virtual void SetWindowPosition (Int_t x, Int_t y)
 Move the dialog box window to a specified position in the local coordinates.
virtual void SetWindowSize (UInt_t w, UInt_t h)
 Set the Windows size to width=w heigth=h.
virtual void SetWindowTitle (const char *newTitle)
 Set the window title.
virtual void SetCanvasSize (UInt_t w, UInt_t h)
 Set the Canvas size.
virtual void ShowMenuBar (Bool_t=kTRUE)
 Show the menu bar.
virtual void ShowStatusBar (Bool_t=kTRUE)
 Show status bar.
virtual void Show ()
 Do a Show of the dialog box.
virtual void Close ()
 Close the dialog box.

Protected Member Functions

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

Protected Attributes

TQRootCanvasfQCanvas
QTFramefdialbox


Detailed Description

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

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

See also:
TCanvasImp
Authors:
Denis Bertini <d.bertini@gsi.de>
Version:
2.0

Definition at line 59 of file tqcanvasimp.h.


Constructor & Destructor Documentation

TQCanvasImp::TQCanvasImp TCanvas *  = 0  )  [inline]
 

QCanvasImp ctor.

  • creates a QMainWindow as a dialog box
  • puts inside a QRootCanvas as a central Widget

Definition at line 73 of file tqcanvasimp.h.

TQCanvasImp::TQCanvasImp TCanvas *  c,
const char *  name,
UInt_t  width,
UInt_t  height
 

TQCanvasImp ctor.

  • creates a QMainWindow as a dialog box
  • puts inside a QRootCanvas as a central Widget
Parameters:
c (ptr to ROOT TCanvas)
name (title for canvas)
width 
height 

Definition at line 42 of file tqcanvasimp.cpp.

References build().

TQCanvasImp::TQCanvasImp TCanvas *  c,
const char *  name,
Int_t  x,
Int_t  y,
UInt_t  width,
UInt_t  height
 

QCanvasImp ctor.

  • creates a QMainWindow as a dialog box
  • puts inside a QRootCanvas as a central Widget
Parameters:
c (ptr to ROOT TCanvas)
name (title for canvas)
x 
y 
width 
height 

Definition at line 48 of file tqcanvasimp.cpp.

References build().

virtual TQCanvasImp::~TQCanvasImp  )  [inline, virtual]
 

Definition at line 99 of file tqcanvasimp.h.


Member Function Documentation

void TQCanvasImp::build TCanvas *  c,
const char *  name,
Int_t  x,
Int_t  y,
UInt_t  width,
UInt_t  height
[protected]
 

Definition at line 54 of file tqcanvasimp.cpp.

References fdialbox, fQCanvas, TQRootCanvas::getCanvas(), and QTFrame::setCanvas().

Referenced by TQCanvasImp().

virtual Int_t TQCanvasImp::InitWindow  )  [inline, virtual]
 

InitWindow here do nothing else but giving the ROOT internal window Id.

Returns:
int wid

Definition at line 108 of file tqcanvasimp.h.

References fQCanvas, and TQRootCanvas::getRootWid().

virtual void TQCanvasImp::ForceUpdate  )  [inline, virtual]
 

Force an update of the dialog box.

Definition at line 113 of file tqcanvasimp.h.

References fdialbox.

virtual void TQCanvasImp::Iconify  )  [inline, virtual]
 

Iconify (not implemented yet).

Definition at line 127 of file tqcanvasimp.h.

virtual void TQCanvasImp::SetStatusText const char *  = 0,
Int_t  = 0
[inline, virtual]
 

set a status text (not implemented yet)

Definition at line 131 of file tqcanvasimp.h.

virtual void TQCanvasImp::SetWindowPosition Int_t  x,
Int_t  y
[inline, virtual]
 

Move the dialog box window to a specified position in the local coordinates.

Definition at line 138 of file tqcanvasimp.h.

References fdialbox.

virtual void TQCanvasImp::SetWindowSize UInt_t  w,
UInt_t  h
[inline, virtual]
 

Set the Windows size to width=w heigth=h.

Definition at line 142 of file tqcanvasimp.h.

References fdialbox.

virtual void TQCanvasImp::SetWindowTitle const char *  newTitle  )  [inline, virtual]
 

Set the window title.

Definition at line 146 of file tqcanvasimp.h.

virtual void TQCanvasImp::SetCanvasSize UInt_t  w,
UInt_t  h
[inline, virtual]
 

Set the Canvas size.

Definition at line 152 of file tqcanvasimp.h.

References fdialbox.

virtual void TQCanvasImp::ShowMenuBar Bool_t  = kTRUE  )  [inline, virtual]
 

Show the menu bar.

Definition at line 156 of file tqcanvasimp.h.

virtual void TQCanvasImp::ShowStatusBar Bool_t  = kTRUE  )  [inline, virtual]
 

Show status bar.

Definition at line 162 of file tqcanvasimp.h.

virtual void TQCanvasImp::Show  )  [inline, virtual]
 

Do a Show of the dialog box.

Definition at line 168 of file tqcanvasimp.h.

References fdialbox.

virtual void TQCanvasImp::Close  )  [inline, virtual]
 

Close the dialog box.

Definition at line 172 of file tqcanvasimp.h.

References fdialbox, and fQCanvas.


Member Data Documentation

TQRootCanvas* TQCanvasImp::fQCanvas [protected]
 

Definition at line 61 of file tqcanvasimp.h.

Referenced by build(), Close(), and InitWindow().

QTFrame* TQCanvasImp::fdialbox [protected]
 

Definition at line 62 of file tqcanvasimp.h.

Referenced by build(), Close(), ForceUpdate(), SetCanvasSize(), SetWindowPosition(), SetWindowSize(), and Show().


The documentation for this class was generated from the following files:
Generated on Fri Nov 28 13:01:25 2008 for Go4-v3.04-1 by  doxygen 1.4.2