File indexing completed on 2025-01-18 10:12:25
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012 #ifndef ROOT_TSpiderEditor
0013 #define ROOT_TSpiderEditor
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023 #include "TGedFrame.h"
0024
0025 class TSpider;
0026 class TGCheckButton;
0027 class TGNumberEntryField;
0028 class TGNumberEntry;
0029 class TGButtonGroup;
0030 class TGRadioButton;
0031 class TGPicture;
0032 class TGPictureButton;
0033 class TGTextEntry;
0034 class TGLineStyleComboBox;
0035 class TGLineWidthComboBox;
0036 class TGColorSelect;
0037 class TGedPatternSelect;
0038
0039 class TSpiderEditor : public TGedFrame {
0040 protected:
0041 TSpider *fSpider;
0042 TGCheckButton *fDisplayAverage;
0043 TGLineStyleComboBox *fAvLineStyleCombo;
0044 TGLineWidthComboBox *fAvLineWidthCombo;
0045 TGColorSelect *fAvLineColorSelect;
0046 TGColorSelect *fAvFillColorSelect;
0047 TGedPatternSelect *fAvFillPatternSelect;
0048 TGNumberEntryField *fSetNx;
0049 TGNumberEntryField *fSetNy;
0050 TGButtonGroup *fBgroup;
0051 TGRadioButton *fPolyLines;
0052 TGRadioButton *fSegment;
0053 TGCompositeFrame *fBrowse;
0054 TGNumberEntryField *fGotoEntry;
0055 TGPictureButton *fGotoNext;
0056 const TGPicture *fPicNext;
0057 TGPictureButton *fGotoPrevious;
0058 const TGPicture *fPicPrevious;
0059 TGPictureButton *fGotoFollowing;
0060 const TGPicture *fPicFollowing;
0061 TGPictureButton *fGotoPreceding;
0062 const TGPicture *fPicPreceding;
0063 TGTextEntry *fAddVar;
0064 TGTextEntry *fDeleteVar;
0065
0066 virtual void ConnectSignals2Slots();
0067 void MakeBrowse();
0068
0069 public:
0070 TSpiderEditor(const TGWindow *p = nullptr,
0071 Int_t width = 140, Int_t height = 30,
0072 UInt_t options = kChildFrame,
0073 Pixel_t back = GetDefaultFrameBackground());
0074 ~TSpiderEditor() override;
0075
0076 virtual void DoAddVar();
0077 virtual void DoDeleteVar();
0078 virtual void DoDisplayAverage(bool av);
0079 virtual void DoGotoEntry();
0080 virtual void DoGotoNext();
0081 virtual void DoGotoPrevious();
0082 virtual void DoGotoFollowing();
0083 virtual void DoGotoPreceding();
0084 virtual void DoSetNx();
0085 virtual void DoSetNy();
0086 virtual void DoSetPlotType();
0087 void SetModel(TObject* obj) override;
0088 virtual void DoAvLineStyle(Int_t);
0089 virtual void DoAvLineWidth(Int_t);
0090 virtual void DoAvLineColor(Pixel_t);
0091 virtual void DoAvFillColor(Pixel_t);
0092 virtual void DoAvFillPattern(Style_t);
0093
0094 ClassDefOverride(TSpiderEditor,0)
0095 };
0096
0097 #endif