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

/Go4GUI/TGo4DiskFileBrowserSlots.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 #ifndef TGO4DISKFILEBROWSERSLOTS_H
00017 #define TGO4DISKFILEBROWSERSLOTS_H
00018 
00019 #include "Go4GUIBase/TGo4SlotsBaseClass.h"
00020 #include "TString.h"
00021 
00022 class QListViewItem;
00023 class TGo4Status;
00024 class TGo4DiskFileBrowser;
00025 class TGo4DiskFileBrowserStatus;
00026 class TGo4DockBrowsers;
00027 class TGo4MainWindow;
00028 class QString;
00029 class TFile;
00030 class TGo4GUIRegistry;
00031 class TBranch;
00032 class TObjArray;
00033 class TArrayC;
00034 class TObject;
00035 class TNamed;
00036 class TGo4CompositeEvent;
00037 class TKey;
00038 class TTree;
00039 class TGo4QFileItem;
00040 class TGo4EventElement;
00045 class TGo4DiskFileBrowserSlots : public TGo4SlotsBaseClass {
00046 
00047 public:
00048    TGo4DiskFileBrowserSlots(const char * name, const char * title, TGo4DiskFileBrowser *p);
00049    virtual ~TGo4DiskFileBrowserSlots();
00050    TGo4Status * GetStatus();
00051    void SetGUI(TGo4DiskFileBrowser *GUI);
00052    TGo4DiskFileBrowser* GetGUI() { return fxTGo4DiskFileBrowser; }
00053    void PlotLocal();
00054    void SuperImposeLocal();
00055    void ShowSelectedProperties();
00056    void ShowProperties(QListViewItem *Item);
00057    void EditSelected();
00058    void FileItemDoubleClicked(QListViewItem *Item);
00059 
00065    const Text_t* SaveObject(TObject* ob, const char* newname=0);
00066 
00071    const Text_t* LoadObject(TObject** pob, const Text_t* name);
00072 
00073    void OpenSelectedMacro(const char* cName, const char* cPath);
00074 
00075     // new code S.L.  21-11-2003
00076     void OpenSelectedRootFile(const char* cName,const char* cPath);
00077 
00078 private:
00079 
00080     // new code S.L.  21-11-2003
00081 
00082    QListViewItem* MapEvent(QListViewItem* parent, TFile* file, TTree* tree,
00083                            TGo4EventElement* elem, TObjArray* ListOfBranches, TArrayC* UsageOfBarnches);
00084    QListViewItem* MapBranch(QListViewItem *parent, TFile* file, TTree* tree,
00085                             TBranch *branch, Bool_t createbr = kTRUE);
00086    QListViewItem* MapObject(QListViewItem *parent, TFile* file, TKey* key, TObject* obj = 0);
00087 
00088 
00090    TGo4GUIRegistry * fxTGo4GUIRegistry; 
00091    TGo4DiskFileBrowserStatus * fxTGo4DiskFileBrowserStatus; 
00092    TGo4DiskFileBrowser * fxTGo4DiskFileBrowser; 
00093    TGo4DockBrowsers *fxTGo4DockBrowsers;
00094    TGo4MainWindow *fxMainWin; 
00095    TString fxFilename; 
00096 };
00097 
00098 #endif //TGO4DISKFILEBROWSERSLOTS_H
00099 
00100 //----------------------------END OF GO4 SOURCE FILE ---------------------

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