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

/qtroot/interface/qtframe.h

Go to the documentation of this file.
00001 //---------------------------------------------------------------
00002 //        Go4 Release Package v2.10-5 (build 21005) 
00003 //                      03-Nov-2005
00004 //---------------------------------------------------------------
00005 //       The GSI Online Offline Object Oriented (Go4) Project
00006 //       Experiment Data Processing at DVEE department, GSI
00007 //---------------------------------------------------------------
00008 //
00009 //Copyright (C) 2000- Gesellschaft f. Schwerionenforschung, GSI
00010 //                    Planckstr. 1, 64291 Darmstadt, Germany
00011 //Contact:            http://go4.gsi.de
00012 //----------------------------------------------------------------
00013 //This software can be used under the license agreements as stated
00014 //in Go4License.txt file which is part of the distribution.
00015 //----------------------------------------------------------------
00016 //Author : Denis Bertini 01.11.2000
00017 
00018 /**************************************************************************
00019 * Copyright (C) 2000- Gesellschaft f. Schwerionenforschung, GSI           *
00020 *                     Planckstr. 1, 64291 Darmstadt, Germany              *
00021 *                     All rights reserved.                                *
00022 * Contact:            http://go4.gsi.de                                   *
00023 *                                                                         *
00024 * This software can be used under the license agreements as stated in     *
00025 * Go4License.txt file which is part of the distribution.                  *
00026 ***************************************************************************/
00027 
00028 #ifndef QTFRAME_H
00029 #define QTFRAME_H
00030 
00031 using namespace std;
00032 #include "qmainwindow.h"
00033 #include "tqrootcanvas.h"
00034 
00061 class QTFrame: public QMainWindow
00062 {
00063     Q_OBJECT
00064 public:
00065     QTFrame(QWidget * parent=0, const char * name=0, WFlags f=WType_TopLevel);
00066     ~QTFrame();
00067     void setCanvas(TQRootCanvas* a){
00068       aCanvas = a;
00069       setCentralWidget( aCanvas );
00070     }
00071 protected:
00072      void closeEvent( QCloseEvent* ce);
00073 private:
00074 TQRootCanvas *aCanvas;
00075 };
00076 
00077 #endif
00078 
00079 //----------------------------END OF GO4 SOURCE FILE ---------------------

Generated on Tue Nov 8 10:56:09 2005 for Go4-v2.10-5 by doxygen1.2.15