2 // Category: interfaces
6 //======================================================
8 //------------TG4MaterialsFrames.h--------------------------------//
9 //---------Frames for the the display of materials properties---//
11 //=======================================================
13 #ifndef TG4_MATERIALSFRAMES_H
14 #define TG4_MATERIALSFRAMES_H
24 class TG4MaterialsFrames : public TObject {
28 TG4MaterialsFrames( TGCompositeFrame* Parent, TGMainFrame* ActionFrame);
29 virtual ~TG4MaterialsFrames();
31 void DisplayMaterialCharacteristics();
32 void SetMaterialsComboEntries() ;
36 TG4MaterialsFrames(const TG4MaterialsFrames& mf) ;
37 TG4MaterialsFrames& operator=(const TG4MaterialsFrames& mf) ;
41 TGCompositeFrame* fCapFrame; // the top frame for materials display
42 TGCompositeFrame* fMatSubframe1; // frame for the combo box
43 TGCompositeFrame* fMatSubframe2; // frame for the text entries
44 TGLayoutHints* fMatFrameLayout; // layout hints for SubFrames
48 TGHorizontalFrame* fHframe[8]; // horizontal frames for text entries
49 TGLabel* fLabel[8]; // labels for text entries
50 TGTextBuffer* fMatTextBuff[8]; //text buffs for mat properties
51 TGTextEntry* fMatTextEntry[8]; //text entries for mat properties
52 TGComboBox* fMaterialsCombo; // materials combo box
53 TGLabel* fComboLabel; // label for the combo box
56 void AddMaterialName( const char* name, Int_t index) const;
58 ClassDef(TG4MaterialsFrames,0)
59 // class for the composition of the materials display frame