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
25 class TG4MaterialsFrames : public TObject {
29 TG4MaterialsFrames( TGTab* tab, TGMainFrame* ActionFrame);
30 virtual ~TG4MaterialsFrames();
32 void DisplayMaterialCharacteristics();
33 void SetMaterialsComboEntries() ;
37 TG4MaterialsFrames(const TG4MaterialsFrames& mf) ;
38 TG4MaterialsFrames& operator=(const TG4MaterialsFrames& mf) ;
42 TGCompositeFrame* fCapFrame; // the top frame for materials display
43 TGCompositeFrame* fMatSubframe1; // frame for the combo box
44 TGCompositeFrame* fMatSubframe2; // frame for the text entries
45 TGLayoutHints* fMatFrameLayout; // layout hints for SubFrames
49 TGHorizontalFrame* fHframe[8]; // horizontal frames for text entries
50 TGLabel* fLabel[8]; // labels for text entries
51 TGTextBuffer* fMatTextBuff[8]; //text buffs for mat properties
52 TGTextEntry* fMatTextEntry[8]; //text entries for mat properties
53 TGComboBox* fMaterialsCombo; // materials combo box
54 TGLabel* fComboLabel; // label for the combo box
57 void AddMaterialName( const char* name, Int_t index) const;
59 ClassDef(TG4MaterialsFrames,0)
60 // class for the composition of the materials display frame