]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TGeant4/TG4VolumesFrames.h
Initial version
[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 TGTextBuffer;
21 class TGTextEntry;
22 class TGComboBox;
23
24
25 class TG4VolumesFrames : public TObject {
26
27 public:   
28
29     TG4VolumesFrames( TGCompositeFrame* parent, TGMainFrame* actionFrame);
30     virtual ~TG4VolumesFrames();
31     
32     void SetVolumesComboEntries();
33     void DisplayVolumeCharacteristics();
34
35 protected:
36
37     TG4VolumesFrames(const TG4VolumesFrames& vf) ;
38     TG4VolumesFrames& operator=(const TG4VolumesFrames& vf) ;
39
40 private:
41
42     TGCompositeFrame*   fCapFrame; // the top frame for volumes properties display
43     TGCompositeFrame*   fVolSubframe1; // frame for the combo box
44     TGCompositeFrame*   fVolSubframe2; //  frame for the text entries        
45     TGLayoutHints*      fVolFrameLayout; // layout hints for SubFrames
46     TGHorizontalFrame*  fHframe[3];     // horizontal frames for text entries
47     TGLabel*            fLabel[3];      // labels for text entries
48     TGTextBuffer*       fVolTextBuff[3]; //text buffs for vols propertie
49     TGTextEntry*        fVolTextEntry[3]; //text entries for vols properties
50     TGComboBox*         fVolumesCombo; // volumes  combo box
51     TGLabel*            fComboLabel;   // label for combo box
52
53
54     void AddLogicalVolumeName( const char* name, Int_t index) const;
55
56     ClassDef(TG4VolumesFrames,0)
57          // class for the composition of the volumes display frame    
58   };
59   
60 #endif
61     
62     
63      
64     
65     
66