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

TQCanvasImp Class Reference

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

#include <tqcanvasimp.h>

List of all members.

Public Methods

 TQCanvasImp (TCanvas *=0)
 QCanvasImp ctor
  • creates a QMainWindow as a dialog box
  • puts inside a QRootCanvas as a central Widget.
More...


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


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


virtual ~TQCanvasImp ()
virtual Int_t InitWindow ()
 InitWindow here do nothing else but giving the ROOT internal window Id. More...

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

virtual void Iconify ()
 Iconify (not implemented yet). More...

virtual void SetStatusText (const char *=0, Int_t=0)
 set a status text (not implemented yet). More...

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

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

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

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

virtual void ShowMenuBar (Bool_t=kTRUE)
 Show the menu bar. More...

virtual void ShowStatusBar (Bool_t=kTRUE)
 Show status bar. More...

virtual void Show ()
 Do a Show of the dialog box. More...

virtual void Close ()
 Close the dialog box. More...


Protected Methods

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

TQCanvasImp ABC describing Qt GUI independent main window (with menubar, scrollbars and a drawing area). 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 TQRootCanvas::getRootWid().

virtual void TQCanvasImp::ForceUpdate   [inline, virtual]
 

Force an update of the dialog box.

Definition at line 113 of file tqcanvasimp.h.

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.

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.

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.

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.

virtual void TQCanvasImp::Close   [inline, virtual]
 

Close the dialog box.

Definition at line 172 of file tqcanvasimp.h.


Member Data Documentation

TQRootCanvas* TQCanvasImp::fQCanvas [protected]
 

Definition at line 61 of file tqcanvasimp.h.

Referenced by build().

QTFrame* TQCanvasImp::fdialbox [protected]
 

Definition at line 62 of file tqcanvasimp.h.

Referenced by build().


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