119 fText->
Connect(
"TextChanged(const char *)",
"TTextEditor",
this,
"DoText(const char *)");
120 fXpos->
Connect(
"ValueSet(Long_t)",
"TTextEditor",
this,
"DoXpos()");
121 fYpos->
Connect(
"ValueSet(Long_t)",
"TTextEditor",
this,
"DoYpos()");
122 fAngle->
Connect(
"ValueSet(Long_t)",
"TTextEditor",
this,
"DoAngle()");
123 fSize->
Connect(
"ValueSet(Long_t)",
"TTextEditor",
this,
"DoSize()");
ULong_t Pixel_t
Pixel value.
winID h TVirtualViewer3D TVirtualGLPainter p
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t height
Option_t Option_t TPoint TPoint const char text
virtual Float_t GetTextSize() const
Return the text size.
virtual void SetTextAngle(Float_t tangle=0)
Set the text angle.
virtual Float_t GetTextAngle() const
Return the text angle.
virtual void SetTextSize(Float_t tsize=1)
Set the text size.
The base class for composite widgets (menu bars, list boxes, etc.).
virtual void AddFrame(TGFrame *f, TGLayoutHints *l=nullptr)
Add frame to the composite frame using the specified layout hints.
void Resize(UInt_t w=0, UInt_t h=0) override
Resize the frame.
virtual UInt_t GetDefaultHeight() const
This class handles GUI labels.
This class describes layout hints used by the layout classes.
TGNumberEntry is a number entry input widget with up/down buttons.
virtual Double_t GetNumber() const
virtual void SetNumber(Double_t val, Bool_t emit=kTRUE)
A text buffer is used in several widgets, like TGTextEntry, TGFileDialog, etc.
A TGTextEntry is a one line text input widget.
virtual void SetToolTipText(const char *text, Long_t delayms=500)
Set tool tip text associated with this text entry.
virtual void SetText(const char *text, Bool_t emit=kTRUE)
Sets text entry to text, clears the selection and moves the cursor to the end of the line.
ROOT GUI Window base class.
Base frame for implementing GUI - a service class.
Bool_t fInit
init flag for setting signals/slots
virtual void MakeTitle(const char *title)
Create attribute frame title.
virtual void Update()
Update the current pad when an attribute is changed via GUI.
Bool_t fAvoidSignal
flag for executing slots
virtual void SetTitle(const char *title="")
Set the title of the TNamed.
const char * GetTitle() const override
Returns title of object.
Mother of all ROOT objects.
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.
Editor for changing TText's and TLatex's attributes.
void DoSize()
Slot for setting the text Size.
void DoText(const char *)
Slot for setting the text string.
TGNumberEntry * fYpos
Text's Y position.
TGNumberEntry * fXpos
Text's X position.
TGNumberEntry * fAngle
Text's angle.
void SetModel(TObject *)
Set model.
void DoAngle()
Slot for setting the text Angle.
void ConnectSignals2Slots()
Connect signals to slots.
void DoYpos()
Slot for setting the text Y position.
TTextEditor(const TGWindow *p=nullptr, Int_t width=140, Int_t height=30, UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground())
TTextEditor constructor.
~TTextEditor()
TTextEditor destructor.
TGNumberEntry * fSize
Text's angle.
void DoXpos()
Slot for setting the text X position.
Base class for several text objects.
virtual void SetY(Double_t y)
virtual void SetX(Double_t x)