File indexing completed on 2025-01-18 10:11:37
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012 #ifndef ROOT_TCurlyLineEditor
0013 #define ROOT_TCurlyLineEditor
0014
0015
0016 #include "TGedFrame.h"
0017
0018 class TGNumberEntry;
0019 class TGCheckButton;
0020 class TCurlyLine;
0021
0022 class TCurlyLineEditor : public TGedFrame {
0023
0024 protected:
0025 TCurlyLine *fCurlyLine;
0026 TGNumberEntry *fStartXEntry;
0027 TGNumberEntry *fEndXEntry;
0028 TGNumberEntry *fStartYEntry;
0029 TGNumberEntry *fEndYEntry;
0030 TGNumberEntry *fAmplitudeEntry;
0031 TGNumberEntry *fWaveLengthEntry;
0032 TGCheckButton *fIsWavy;
0033 TGCompositeFrame *fStartXFrame;
0034
0035 virtual void ConnectSignals2Slots();
0036
0037 public:
0038 TCurlyLineEditor(const TGWindow *p = nullptr,
0039 Int_t width = 140, Int_t height = 30,
0040 UInt_t options = kChildFrame,
0041 Pixel_t back = GetDefaultFrameBackground());
0042 ~TCurlyLineEditor() override;
0043
0044 void SetModel(TObject* obj) override;
0045 void ActivateBaseClassEditors(TClass* cl) override;
0046 virtual void DoStartXY();
0047 virtual void DoEndXY();
0048 virtual void DoAmplitude();
0049 virtual void DoWaveLength();
0050 virtual void DoWavy();
0051
0052 ClassDefOverride(TCurlyLineEditor,0)
0053 };
0054
0055 #endif