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

/Go4GUI/TGo4BrowserSlots.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 TGO4BROWSERSLOTS_H
00017 #define TGO4BROWSERSLOTS_H
00018 
00019 #include "Go4GUIBase/TGo4SlotsBaseClass.h"
00020 #include "TString.h"
00021 
00022 class QListViewItem;
00023 class TGo4Status;
00024 class TGo4Browser;
00025 class TGo4BrowserStatus;
00026 class TGo4QRootCanvas;
00027 class TFolder;
00028 class TGo4GUIRegistry;
00029 class TRefArray;
00030 class TFolder;
00031 class QTabWidget;
00032 class TGo4MainWindow;
00033 class TGo4DockBrowsers;
00034 class TGraph;
00035 class TH1;
00036 
00041 class TGo4BrowserSlots : public TGo4SlotsBaseClass {
00042 
00043   public:
00044 
00045     TGo4BrowserSlots(const char * name, const char * title, TGo4Browser *p);
00046     virtual ~TGo4BrowserSlots();
00047     void AddLocalObject(TNamed * Obj);
00048     void AddObject(TNamed *);
00049 
00050     void AddObject(TNamed *, TQRootCanvas * , TPad *pad=0 );
00051 
00053     const Text_t* AddObjectToLocalList(TNamed *ob, Bool_t clone = kTRUE, Bool_t changetab=kTRUE);
00054     TGo4Browser *GetBrowserGUI(){return fxTGo4Browser;}
00055     TRefArray *GetIndexOfSelectedItems();
00056     TGo4Status * GetStatus();
00057     void LocalItemDoubleClicked(QListViewItem *Item);
00058     void LocalListDeleteSelection();
00059     void PlotLocal();
00063     void ExportSelectedItems(const Text_t* filename, const Text_t* filedir, const Text_t* format=0, const Text_t* description=0,Bool_t exportall=kFALSE);
00064     void SetGUI(TGo4Browser *GUI );
00065     void SetOverWriteMode(bool Mode ){OverWriteMode= Mode;}
00066     void SuperImposeLocal();
00067     void SynchronizeWithMemory();
00068     void UpdateLocalList();
00069     void ResetRemoteObj(const char* ObjName);
00070 
00074     const char* GetAddedItemName() const { return fxAddedItemName.Data(); }
00075 
00076   private:
00077 
00079     TGo4GUIRegistry * fxTGo4GUIRegistry; 
00080     TGo4Browser * fxTGo4Browser; 
00081     TGo4BrowserStatus * fxTGo4BrowserStatus; 
00082     TFolder *RootMem;
00083     bool OverWriteMode; 
00084     QTabWidget *TGo4DockBrowserTabs;
00085     TGo4DockBrowsers *fxTGo4DockBrowsers;
00086     TGo4MainWindow * fxMainWin; 
00087 
00089     TString fxAddedItemName;
00090 };
00091 
00092 #endif //TGO4BROWSERSLOTS_H
00093 
00094 //----------------------------END OF GO4 SOURCE FILE ---------------------

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