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

/Go4GUI/TGo4PreviewPanelStatus.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 TGO4PREVIEWPANELSTATUS_H
00017 #define TGO4PREVIEWPANELSTATUS_H
00018 
00019 #include "Go4StatusBase/TGo4Status.h"
00020 
00021 class TPad;
00022 class TCanvas;
00023 class TIterator;
00024 class TRefArray;
00025 class TList;
00026 class TGo4PadOptions;
00027 class TGo4PreviewPanelSlots;
00028 
00033 class TGo4PreviewPanelStatus : public TGo4Status {
00034   public:
00035 
00036     TGo4PreviewPanelStatus(const char* name, const char* title);
00037     virtual ~TGo4PreviewPanelStatus();
00038 
00039     const char * GetPadStringDrawOption(TPad * SelectedPad);
00040     TGo4PadOptions * GetPadOptions(TPad * Pad);
00041 
00042     void ResetPadOptionsList();
00044     void RemoveSubPads(TPad* pad);
00046     void RemovePad(TPad* pad);
00049     void UpdateSubPads(TPad* pad);
00050     
00051     Bool_t GetPadDragOption(TPad *SelectedPad);
00052     void SetPadDrawOption(TPad * SelectedPad, Int_t Xmin, Int_t Xmax, Int_t Ymin, Int_t Ymax);
00053     void SetPadDrawOption(TPad * SelectedPad, const char *Option, bool DragAddOption); 
00054     void SetPadDrawOption(TPad * SelectedPad, const char *Option);
00055     void SetPadHistogramStats(TPad * SelectedPad, Bool_t showstatistics);
00056     Bool_t GetPadHistogramStats(TPad * SelectedPad);
00057     void SetPadHistogramTitle(TPad * SelectedPad, Bool_t showtitle);
00058     Bool_t GetPadHistogramTitle(TPad * SelectedPad);
00059     void SetPadCrosshair(TPad * SelectedPad, Bool_t showcross);
00060     Bool_t GetPadCrosshair(TPad * SelectedPad);
00061     void SetPadLegend(TPad * SelectedPad, Bool_t drawlegend);
00062     Bool_t GetPadLegend(TPad * SelectedPad);
00063     
00064     void SetNoOfPads(Int_t ){;}//dummy now
00065     Int_t GetNoOfPads();
00066 //    TList *GetListOfPads();
00067     TRefArray* GetListOfPads();
00068     void SetSlots(TGo4PreviewPanelSlots* s){fxSlots=s;}
00069 
00073     void CleanupPadLists(TCanvas* can);
00074 
00077     Bool_t CheckSubPads(TPad* container, TPad* test);
00078 
00080     void RefreshListOfPads();
00081 
00082 
00087     void AssignUID(TObject* ob);
00088 
00089 private:
00090     TList* PadOptionList; 
00091     //TList* ListOfPads; //!
00092     TRefArray *ListOfPads; 
00093 
00095     TGo4PadOptions *fxTGo4PadOptions; 
00096     TIterator* listiter; 
00097 
00100     TGo4PreviewPanelSlots* fxSlots; 
00101 };
00102 #endif //TGO4PREVIEWPANELSTATUS_H
00103 
00104 
00105 
00106 //----------------------------END OF GO4 SOURCE FILE ---------------------

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