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;
TGNumberEntry * fAngleEntry
virtual void Paint(Option_t *option="")
Paint this arrow with its current attributes.
virtual void Resize(UInt_t w=0, UInt_t h=0)
Resize the frame.
Int_t GetShapeEntry(Option_t *opt)
Return shape entry according to the arrow draw option.
Float_t GetArrowSize() const
TGComboBox * fOptionCombo
image html pict1_TGaxis_012 png width
Define new text attributes for the label number "labNum".
virtual void DoOption(Int_t id)
Slot connected to the arrow shape setting.
virtual void SetToolTipText(const char *text, Long_t delayms=500)
Set tool tip text associated with this text entry.
virtual void SetModel(TObject *obj)
Pick up the used arrow attributes.
virtual void SetNumber(Double_t val)
void ToLower()
Change string to lower-case.
virtual const char * ClassName() const
Returns name of class to which the object belongs.
virtual ~TArrowEditor()
Destructor of arrow editor.
virtual void Update()
Update the current pad when an attribute is changed via GUI.
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...
TGCompositeFrame(const TGCompositeFrame &)
virtual void SetArrowSize(Float_t arrowsize=0.05)
virtual TList * GetList() const
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.
TGComboBox * BuildOptionComboBox(TGFrame *parent, Int_t id)
Arrow shape combobox.
virtual Option_t * GetDrawOption() const
Get option used by the graphics system to draw this object.
virtual TGListBox * GetListBox() const
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 DoAngle()
Slot connected to the arrow opening angle setting.
static constexpr double deg
virtual void ConnectSignals2Slots()
Connect signals to slots.
virtual void AddEntry(TGString *s, Int_t id)
virtual Double_t GetNumber() const
virtual void AddFrame(TGFrame *f, TGLayoutHints *l=0)
Add frame to the composite frame using the specified layout hints.
Mother of all ROOT objects.
virtual void DoSize()
Slot connected to the arrow size.
virtual Int_t GetSelected() const
TGNumberEntryField * GetNumberEntry() const
Draw all kinds of Arrows.
virtual void SetDrawOption(Option_t *option="")
Set drawing option for object.
virtual void Cleanup()
Cleanup and delete all objects contained in this composite frame.
virtual void MakeTitle(const char *title)
Create attribute frame title.
TGNumberEntry * fSizeEntry
virtual void SetAngle(Float_t angle=60)