]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TGeant4/TG4VolumesFrames.h
attribute fSDManager added
[u/mrichter/AliRoot.git] / TGeant4 / TG4VolumesFrames.h
1 // $Id$
2 // Category: interfaces
3 //
4 // Author: D. Adamova
5 //
6 //======================================================
7 //
8 //------------TG4VolumesFrames.h--------------------------------//
9 //---------Frames for the the display of volumes properties---//
10 //
11 //=======================================================
12
13 #ifndef TG4_VOLUMESFRAMES_H
14 #define TG4_VOLUMESFRAMES_H
15
16 #include <TObject.h>
17 #include <TGFrame.h>
18
19 class TGLabel;
20 class TGTab;
21 class TGTextBuffer;
22 class TGTextEntry;
23 class TGComboBox;
24
25
26 class TG4VolumesFrames : public TObject {
27
28 public:   
29
30     TG4VolumesFrames( TGTab* Tab, TGMainFrame* actionFrame);
31     virtual ~TG4VolumesFrames();
32     
33     void SetVolumesComboEntries();
34     void DisplayVolumeCharacteristics();
35
36 protected:
37
38     TG4VolumesFrames(const TG4VolumesFrames& vf) ;
39     TG4VolumesFrames& operator=(const TG4VolumesFrames& vf) ;
40
41 private:
42
43     TGCompositeFrame*   fCapFrame; // the top frame for volumes properties display
44     TGCompositeFrame*   fVolSubframe1; // frame for the combo box
45     TGCompositeFrame*   fVolSubframe2; //  frame for the text entries        
46     TGLayoutHints*      fVolFrameLayout; // layout hints for SubFrames
47     TGHorizontalFrame*  fHframe[3];     // horizontal frames for text entries
48     TGLabel*            fLabel[3];      // labels for text entries
49     TGTextBuffer*       fVolTextBuff[3]; //text buffs for vols propertie
50     TGTextEntry*        fVolTextEntry[3]; //text entries for vols properties
51     TGComboBox*         fVolumesCombo; // volumes  combo box
52     TGLabel*            fComboLabel;   // label for combo box
53
54
55     void AddLogicalVolumeName( const char* name, Int_t index) const;
56
57     ClassDef(TG4VolumesFrames,0)
58          // class for the composition of the volumes display frame    
59   };
60   
61 #endif
62     
63     
64      
65     
66     
67