2 // Category: interfaces
6 //======================================================
8 //------------TG4VolumesFrames.h--------------------------------//
9 //---------Frames for the the display of volumes properties---//
11 //=======================================================
13 #ifndef TG4_VOLUMESFRAMES_H
14 #define TG4_VOLUMESFRAMES_H
25 class TG4VolumesFrames : public TObject {
29 TG4VolumesFrames( TGCompositeFrame* parent, TGMainFrame* actionFrame);
30 virtual ~TG4VolumesFrames();
32 void SetVolumesComboEntries();
33 void DisplayVolumeCharacteristics();
37 TG4VolumesFrames(const TG4VolumesFrames& vf) ;
38 TG4VolumesFrames& operator=(const TG4VolumesFrames& vf) ;
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
54 void AddLogicalVolumeName( const char* name, Int_t index) const;
56 ClassDef(TG4VolumesFrames,0)
57 // class for the composition of the volumes display frame