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
19 #include "TG4MainFrame.h"
28 class TG4VolumesFrames : public TObject {
32 TG4VolumesFrames( TGTab* Tab, TGMainFrame* actionFrame);
33 virtual ~TG4VolumesFrames();
35 void SetVolumesComboEntries();
36 void DisplayVolumeCharacteristics();
37 void DisplayUserLimits();
38 void SetPanel(TGMainFrame* ActionFrame);
42 TG4VolumesFrames(const TG4VolumesFrames& vf) ;
43 TG4VolumesFrames& operator=(const TG4VolumesFrames& vf) ;
46 TString GetDisplay(G4UserLimits* limits) const;
48 TGCompositeFrame* fCapFrame; // the top frame for volumes properties display
49 TGCompositeFrame* fVolSubframe1; // frame for the combo box
50 TGCompositeFrame* fVolSubframe2; // frame for the text entries
51 TGGroupFrame* fGrFrame; // frame for user's limits
52 TGHorizontalFrame* fGrHFrame; // frame to hold text buttons
53 TGTextButton* fbtsumm; // button to invoke user's limits display
54 TGTextButton* fbtcuts; // button to invoke cuts display
55 TGTextButton* fbtcontrols; // button to invoke controls display
56 TGLayoutHints* fVolFrameLayout; // layout hints for SubFrames
57 TGHorizontalFrame* fHframe[3]; // horizontal frames for text entries
58 TGLabel* fLabel[3]; // labels for text entries
59 TGTextBuffer* fVolTextBuff[3]; // text buffs for vols propertie
60 TGTextEntry* fVolTextEntry[3]; // text entries for vols properties
61 TGComboBox* fVolumesCombo; // volumes combo box
62 TGLabel* fComboLabel; // label for combo box
64 TGTextBuffer* fDisplBuff; //buffer containing text for user limits display
65 TG4MainFrame* fPanel; //main frame
70 void AddLogicalVolumeName( const char* name, Int_t index) const;
72 ClassDef(TG4VolumesFrames,0)
73 // class for the composition of the volumes display frame