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

QTFrame Class Reference

Simple example using QMainWindow together with an TQRootCanvas. More...

#include <qtframe.h>

List of all members.

Public Member Functions

 QTFrame (QWidget *parent=0, const char *name=0, WFlags f=WType_TopLevel)
virtual ~QTFrame ()
void setCanvas (TQRootCanvas *a)

Protected Member Functions

virtual void closeEvent (QCloseEvent *ce)

Private Attributes

TQRootCanvasaCanvas


Detailed Description

Simple example using QMainWindow together with an TQRootCanvas.

Main Qt&Root Application Frame Window:

Can be used internaly by ROOT itself if the user wants a customize Qt-based Canvas implementation as defaults Services: Simple example

See also:
QRootCanvas, QMainWindow, QPopupMenu, QAction, QString
Authors:
Denis Bertini <d.bertini@gsi.de>
Version:
2.0

Definition at line 62 of file qtframe.h.


Constructor & Destructor Documentation

QTFrame::QTFrame QWidget *  parent = 0,
const char *  name = 0,
WFlags  f = WType_TopLevel
 

Definition at line 35 of file qtframe.cpp.

References aCanvas.

QTFrame::~QTFrame  )  [virtual]
 

Definition at line 43 of file qtframe.cpp.


Member Function Documentation

void QTFrame::setCanvas TQRootCanvas a  ) 
 

Definition at line 47 of file qtframe.cpp.

References aCanvas.

Referenced by TQCanvasImp::build().

void QTFrame::closeEvent QCloseEvent *  ce  )  [protected, virtual]
 

Definition at line 53 of file qtframe.cpp.


Member Data Documentation

TQRootCanvas* QTFrame::aCanvas [private]
 

Definition at line 74 of file qtframe.h.

Referenced by QTFrame(), and setCanvas().


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