]> git.uio.no Git - u/mrichter/AliRoot.git/blame - TGeant4/TG4MaterialsFrames.h
README updated (R.Barbera)
[u/mrichter/AliRoot.git] / TGeant4 / TG4MaterialsFrames.h
CommitLineData
4b1d6659 1// $Id$
2// Category: interfaces
3//
4// Author: D. Adamova
5//
6//======================================================
7//
8//------------TG4MaterialsFrames.h--------------------------------//
9//---------Frames for the the display of materials properties---//
10//
11//=======================================================
12
13#ifndef TG4_MATERIALSFRAMES_H
14#define TG4_MATERIALSFRAMES_H
15
16#include <TObject.h>
17#include <TGFrame.h>
18
19class TGLabel;
20class TGTextBuffer;
21class TGTextEntry;
22class TGComboBox;
23
24class TG4MaterialsFrames : public TObject {
25
26public:
27
28 TG4MaterialsFrames( TGCompositeFrame* Parent, TGMainFrame* ActionFrame);
29 virtual ~TG4MaterialsFrames();
30
31 void DisplayMaterialCharacteristics();
32 void SetMaterialsComboEntries() ;
33
34protected:
35
36 TG4MaterialsFrames(const TG4MaterialsFrames& mf) ;
37 TG4MaterialsFrames& operator=(const TG4MaterialsFrames& mf) ;
38
39
40private:
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
45
46
47
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
54
55
56 void AddMaterialName( const char* name, Int_t index) const;
57
58 ClassDef(TG4MaterialsFrames,0)
59 // class for the composition of the materials display frame
60 };
61
62#endif
63
64
65
66
67
68