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
26 class TG4VolumesFrames : public TObject {
30 TG4VolumesFrames( TGTab* Tab, TGMainFrame* actionFrame);
31 virtual ~TG4VolumesFrames();
33 void SetVolumesComboEntries();
34 void DisplayVolumeCharacteristics();
38 TG4VolumesFrames(const TG4VolumesFrames& vf) ;
39 TG4VolumesFrames& operator=(const TG4VolumesFrames& vf) ;
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
55 void AddLogicalVolumeName( const char* name, Int_t index) const;
57 ClassDef(TG4VolumesFrames,0)
58 // class for the composition of the volumes display frame