Warning, file /include/root/TGeoMediumEditor.h was not indexed
or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012 #ifndef ROOT_TGeoMediumEditor
0013 #define ROOT_TGeoMediumEditor
0014
0015 #include "TGWidget.h"
0016 #include "TGeoGedFrame.h"
0017
0018 class TGeoMedium;
0019 class TGeoMaterial;
0020 class TGeoTabManager;
0021 class TGTextEntry;
0022 class TGNumberEntry;
0023 class TGTab;
0024 class TGComboBox;
0025 class TGTextButton;
0026 class TGPictureButton;
0027 class TGCheckButton;
0028 class TGLabel;
0029
0030 class TGeoMediumEditor : public TGeoGedFrame {
0031
0032 protected:
0033 TGeoMedium *fMedium;
0034
0035 Bool_t fIsEditable;
0036 Bool_t fIsModified;
0037 TGTextEntry *fMedName;
0038 TGNumberEntry *fMedId;
0039
0040 TGeoMaterial *fSelectedMaterial;
0041 TGLabel *fLSelMaterial;
0042 TGPictureButton *fBSelMaterial;
0043 TGTextButton *fEditMaterial;
0044 TGCheckButton *fMedSensitive;
0045 TGComboBox *fMagfldOption;
0046 TGNumberEntry *fMedFieldm;
0047 TGNumberEntry *fMedTmaxfd;
0048 TGNumberEntry *fMedStemax;
0049 TGNumberEntry *fMedDeemax;
0050 TGNumberEntry *fMedEpsil;
0051 TGNumberEntry *fMedStmin;
0052 TGTextButton *fApply;
0053 TGTextButton *fUndo;
0054
0055 virtual void ConnectSignals2Slots();
0056
0057 public:
0058 TGeoMediumEditor(const TGWindow *p = nullptr, Int_t width = 140, Int_t height = 30, UInt_t options = kChildFrame,
0059 Pixel_t back = GetDefaultFrameBackground());
0060 ~TGeoMediumEditor() override;
0061 void SetModel(TObject *obj) override;
0062
0063 void DoEditMaterial();
0064 void DoSelectMaterial();
0065 void DoMedName();
0066 void DoMedId();
0067 void DoToggleSensitive();
0068 void DoMagfldSelect(Int_t ientry);
0069 void DoFieldm();
0070 void DoTmaxfd();
0071 void DoStemax();
0072 void DoDeemax();
0073 void DoEpsil();
0074 void DoStmin();
0075 void DoApply();
0076 void DoUndo();
0077
0078 ClassDefOverride(TGeoMediumEditor, 0)
0079 };
0080
0081 #endif