]> git.uio.no Git - u/mrichter/AliRoot.git/blame - TGeant4/TG4MaterialsFrames.h
attribute fSDConstruction and its getter added
[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;
f9ea40e1 20class TGTab;
4b1d6659 21class TGTextBuffer;
22class TGTextEntry;
23class TGComboBox;
24
25class TG4MaterialsFrames : public TObject {
26
27public:
28
f9ea40e1 29 TG4MaterialsFrames( TGTab* tab, TGMainFrame* ActionFrame);
4b1d6659 30 virtual ~TG4MaterialsFrames();
31
32 void DisplayMaterialCharacteristics();
33 void SetMaterialsComboEntries() ;
34
35protected:
36
37 TG4MaterialsFrames(const TG4MaterialsFrames& mf) ;
38 TG4MaterialsFrames& operator=(const TG4MaterialsFrames& mf) ;
39
40
41private:
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
46
47
48
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
55
56
57 void AddMaterialName( const char* name, Int_t index) const;
58
59 ClassDef(TG4MaterialsFrames,0)
60 // class for the composition of the materials display frame
61 };
62
63#endif
64
65
66
67
68
69