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

QTFrame Class Reference

Main Qt&Root Application Frame Window: Simple example using QMainWindow together with an TQRootCanvas. More...

#include <qtframe.h>

List of all members.

Public Methods

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

Protected Methods

void closeEvent (QCloseEvent *ce)

Private Attributes

TQRootCanvasaCanvas


Detailed Description

Main Qt&Root Application Frame Window: Simple example using QMainWindow together with an TQRootCanvas.

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 61 of file qtframe.h.


Constructor & Destructor Documentation

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

Definition at line 31 of file qtframe.cpp.

References aCanvas.

QTFrame::~QTFrame  
 

Definition at line 39 of file qtframe.cpp.


Member Function Documentation

void QTFrame::setCanvas TQRootCanvas   a [inline]
 

Definition at line 67 of file qtframe.h.

References aCanvas.

Referenced by TQCanvasImp::build().

void QTFrame::closeEvent QCloseEvent *    ce [protected]
 

Definition at line 44 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 Tue Nov 8 10:56:51 2005 for Go4-v2.10-5 by doxygen1.2.15