]> git.uio.no Git - u/mrichter/AliRoot.git/blame - TGeant4/TG4VolumesFrames.h
Some function moved to AliZDC
[u/mrichter/AliRoot.git] / TGeant4 / TG4VolumesFrames.h
CommitLineData
4b1d6659 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
19class TGLabel;
f9ea40e1 20class TGTab;
4b1d6659 21class TGTextBuffer;
22class TGTextEntry;
23class TGComboBox;
24
25
26class TG4VolumesFrames : public TObject {
27
28public:
29
f9ea40e1 30 TG4VolumesFrames( TGTab* Tab, TGMainFrame* actionFrame);
4b1d6659 31 virtual ~TG4VolumesFrames();
32
33 void SetVolumesComboEntries();
34 void DisplayVolumeCharacteristics();
35
36protected:
37
38 TG4VolumesFrames(const TG4VolumesFrames& vf) ;
39 TG4VolumesFrames& operator=(const TG4VolumesFrames& vf) ;
40
41private:
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