233 if (opt ==
"|>")
id = 1;
234 if (opt ==
"<|")
id = 2;
235 if (opt ==
">")
id = 3;
236 if (opt ==
"<")
id = 4;
237 if (opt ==
"->-")
id = 5;
238 if (opt ==
"-<-")
id = 6;
239 if (opt ==
"-|>-")
id = 7;
240 if (opt ==
"-<|-")
id = 8;
241 if (opt ==
"<>")
id = 9;
242 if (opt ==
"<|>")
id = 10;
include TDocParser_001 C image html pict1_TDocParser_001 png width
virtual void ConnectSignals2Slots()
Connect signals to slots.
Int_t GetShapeEntry(Option_t *opt)
Return shape entry according to the arrow draw option.
virtual void DoOption(Int_t id)
Slot connected to the arrow shape setting.
TGNumberEntry * fSizeEntry
virtual ~TArrowEditor()
Destructor of arrow editor.
virtual void DoSize()
Slot connected to the arrow size.
TArrowEditor(const TGWindow *p=0, Int_t width=140, Int_t height=30, UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground())
Constructor of arrow GUI.
TGNumberEntry * fAngleEntry
TGComboBox * BuildOptionComboBox(TGFrame *parent, Int_t id)
Arrow shape combobox.
virtual void SetModel(TObject *obj)
Pick up the used arrow attributes.
TGComboBox * fOptionCombo
virtual void DoAngle()
Slot connected to the arrow opening angle setting.
Draw all kinds of Arrows.
virtual void SetArrowSize(Float_t arrowsize=0.05)
virtual void Paint(Option_t *option="")
Paint this arrow with its current attributes.
Float_t GetArrowSize() const
virtual void SetAngle(Float_t angle=60)
virtual Int_t GetSelected() const
virtual void AddEntry(TGString *s, Int_t id)
virtual TGListBox * GetListBox() const
virtual void Select(Int_t id, Bool_t emit=kTRUE)
Make the selected item visible in the combo box window and emit signals according to the second param...
virtual TList * GetList() const
TGCompositeFrame(const TGCompositeFrame &)
virtual void AddFrame(TGFrame *f, TGLayoutHints *l=0)
Add frame to the composite frame using the specified layout hints.
virtual void Cleanup()
Cleanup and delete all objects contained in this composite frame.
virtual void Resize(UInt_t w=0, UInt_t h=0)
Resize the frame.
virtual void SetNumber(Double_t val)
TGNumberEntryField * GetNumberEntry() const
virtual Double_t GetNumber() const
virtual void SetToolTipText(const char *text, Long_t delayms=500)
Set tool tip text associated with this text entry.
virtual void MakeTitle(const char *title)
Create attribute frame title.
virtual void Update()
Update the current pad when an attribute is changed via GUI.
Mother of all ROOT objects.
virtual const char * ClassName() const
Returns name of class to which the object belongs.
virtual Option_t * GetDrawOption() const
Get option used by the graphics system to draw this object.
virtual void SetDrawOption(Option_t *option="")
Set drawing option for object.
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.
void ToLower()
Change string to lower-case.
static constexpr double deg