88 fIsWavy->
SetToolTipText(
"Toggle between wavy line (Gluon) if selected; curly line (Gamma) otherwise.");
166 fIsWavy->
Connect(
"Clicked()",
"TCurlyLineEditor",
this,
"DoWavy()");
virtual void HideFrame(TGFrame *f)
Hide sub frame.
TCurlyLineEditor(const TGWindow *p=0, Int_t width=140, Int_t height=30, UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground())
Constructor of CurlyLine GUI.
virtual Option_t * GetDrawOption() const
Get draw options of the selected object.
virtual void SetToolTipText(const char *text, Long_t delayms=500)
Set tool tip text associated with this text entry.
virtual ~TCurlyLineEditor()
Destructor of CurlyLine editor.
virtual void SetNumber(Double_t val)
TGCompositeFrame * fStartXFrame
void ExcludeClassEditor(TClass *cl, Bool_t recurse=kFALSE)
Exclude editor for class cl from current construction.
virtual void DoWavy()
Slot connected to the wavy / curly setting.
virtual void SetWaveLength(Double_t WaveLength)
Set wave length.
virtual void SetStartPoint(Double_t x1, Double_t y1)
Set start point.
TGNumberEntry * fStartYEntry
Implements curly or wavy polylines used to draw Feynman diagrams.
virtual void Update()
Update the current pad when an attribute is changed via GUI.
TGCompositeFrame(const TGCompositeFrame &)
virtual void SetCurly()
Set curly.
virtual Option_t * GetDrawOption() const
Get option used by the graphics system to draw this object.
virtual void DoWaveLength()
Slot connected to the wavelength setting.
virtual void SetEndPoint(Double_t x2, Double_t y2)
Set end point.
Bool_t Connect(const char *signal, const char *receiver_class, void *receiver, const char *slot)
Non-static method is used to connect from the signal of this object to the receiver slot...
virtual void Associate(const TGWindow *w)
Make w the window that will receive the generated messages.
TGNumberEntry * fEndYEntry
virtual void DoStartXY()
Slot connected to the CurlyLine StartPoint.
virtual void SetModel(TObject *obj)
Pick up the used curly line attributes.
virtual Bool_t InheritsFrom(const char *classname) const
Returns kTRUE if object inherits from class "classname".
Double_t GetStartX() const
The ROOT global object gROOT contains a list of all defined classes.
virtual void ConnectSignals2Slots()
Connect signals to slots.
virtual void DoAmplitude()
Slot connected to the amplitude setting.
Double_t GetWaveLength() const
Double_t GetStartY() const
virtual void SetWavy()
Set wavy.
virtual Double_t GetNumber() const
TGNumberEntry * fStartXEntry
Bool_t Disconnect(const char *signal=0, void *receiver=0, const char *slot=0)
Disconnects signal of this object from slot of receiver.
virtual void AddFrame(TGFrame *f, TGLayoutHints *l=0)
Add frame to the composite frame using the specified layout hints.
Double_t GetAmplitude() const
Mother of all ROOT objects.
TGNumberEntry * fWaveLengthEntry
TGNumberEntry * fEndXEntry
TGNumberEntryField * GetNumberEntry() const
virtual void ActivateBaseClassEditors(TClass *cl)
Exclude TAttFillEditor.
virtual void Paint(Option_t *option="")
Paint this polyline with its current attributes.
virtual void MakeTitle(const char *title)
Create attribute frame title.
virtual void DoEndXY()
Slot connected to the CurlyLine End.
virtual void SetAmplitude(Double_t x)
Set amplitude.
TGNumberEntry * fAmplitudeEntry
virtual void ActivateBaseClassEditors(TClass *cl)
Provide list of editors for base-classes.