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

/qtroot/interface/tqrootdialog.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 TQROOTDIALOG_H
00029 #define TQROOTDIALOG_H
00030 
00031 using namespace std;
00032 #include "qvbox.h"
00033 #include "qlineedit.h"
00034 #include "qptrlist.h"
00035 
00036 #include "TObject.h"
00037 #include "TMethod.h"
00038 #include "TCanvas.h"
00039 
00056 class TQRootDialog: public QVBox
00057 {
00058  Q_OBJECT
00059 
00060 public:
00061     TQRootDialog(QWidget *parent, const char *name, WFlags f=0,
00062                 TObject *obj=0,TMethod *meth=0);
00063 
00064    ~TQRootDialog(){
00065 
00066          if(fArgBox) delete fArgBox;
00067          if(fLineEdit) delete fLineEdit;
00068          aList.remove();
00069      //printf("~TQRootDialog \n");
00070     }
00071 
00072    void add(const char* argname, const char* value, const char* type);
00073    void popup();
00074    void setTCanvas(TCanvas* aCanvas){fCurCanvas=aCanvas;}
00075 
00076 public slots:
00077    void   receive(){executeMethod();} // to be replaced
00078    void executeMethod();
00079    void executeMethod1();
00080 
00081 protected:
00082     void closeEvent( QCloseEvent* ce);
00083 
00084 protected:
00085    QVBox *fArgBox;
00086    QLineEdit *fLineEdit;
00087    QPtrList<QLineEdit> aList;
00088    TObject *fCurObj,*fPrevObj;
00089    TMethod *fCurMethod,*fPrevMethod;
00090    TCanvas* fCurCanvas;
00091    QWidget* fParent;
00092 };
00093 
00094 
00095 #endif
00096 
00097 //----------------------------END OF GO4 SOURCE FILE ---------------------

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