13#ifndef ROOT_TGNumberEntry 
   14#define ROOT_TGNumberEntry 
Handle_t GContext_t
Graphics context handle.
 
ULong_t Pixel_t
Pixel value.
 
Handle_t FontStruct_t
Pointer to font structure.
 
#define ClassDef(name, id)
 
#define ClassDefOverride(name, id)
 
winID h TVirtualViewer3D TVirtualGLPainter p
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void on
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t attr
 
Option_t Option_t TPoint TPoint const char text
 
The base class for composite widgets (menu bars, list boxes, etc.).
 
static Pixel_t GetWhitePixel()
Get white pixel value.
 
virtual UInt_t GetDefaultHeight() const
 
virtual void SetHexNumber(ULong_t val, Bool_t emit=kTRUE)
Set the numeric value (hex format).
 
ELimit fNumLimits
Limit attributes.
 
virtual void InvalidInput(const char *instr)
 
virtual Double_t GetNumMin() const
Get the lower limit.
 
Bool_t fNeedsVerification
Needs verification of input.
 
virtual void SetFormat(EStyle style, EAttribute attr=kNEAAnyNumber)
Set the numerical format.
 
virtual void SetDate(Int_t year, Int_t month, Int_t day, Bool_t emit=kTRUE)
Set the numeric value (date format).
 
virtual Long_t GetIntNumber() const
Get the numeric value (integer representation).
 
virtual void SetNumber(Double_t val, Bool_t emit=kTRUE)
Set the numeric value (floating point representation).
 
virtual Double_t GetNumber() const
Get the numeric value (floating point representation).
 
EStyle fNumStyle
Number style.
 
virtual Bool_t IsLogStep() const
Is log step enabled?
 
Bool_t HandleFocusChange(Event_t *event) override
Handle focus change.
 
void SetState(Bool_t state) override
Set the active state.
 
virtual EStyle GetNumStyle() const
Get the numerical style.
 
Bool_t IsEditable() const override
 
void ReturnPressed() override
Return was pressed.
 
virtual Double_t GetNumMax() const
Get the upper limit.
 
virtual void GetDate(Int_t &year, Int_t &month, Int_t &day) const
Get the numeric value (date format).
 
void TextChanged(const char *text=nullptr) override
Text has changed message.
 
void SavePrimitive(std::ostream &out, Option_t *="") override
Save a number entry widget as a C++ statement(s) on output stream out.
 
virtual void IncreaseNumber(EStepSize step=kNSSSmall, Int_t sign=1, Bool_t logstep=kFALSE)
Increase the number value.
 
virtual ULong_t GetHexNumber() const
Get the numeric value (hex format).
 
virtual void SetIntNumber(Long_t val, Bool_t emit=kTRUE)
Set the numeric value (integer representation).
 
Bool_t HandleKey(Event_t *event) override
Handle keys.
 
virtual void SetLimits(ELimit limits=kNELNoLimits, Double_t min=0, Double_t max=1)
Set the numerical limits.
 
virtual void GetTime(Int_t &hour, Int_t &min, Int_t &sec) const
Get the numeric value (time format).
 
virtual void SetLogStep(Bool_t on=kTRUE)
Set logarithmic steps.
 
virtual EAttribute GetNumAttr() const
Get the numerical attribute.
 
void SetText(const char *text, Bool_t emit=kTRUE) override
Set the value (text format).
 
EAttribute fNumAttr
Number attribute.
 
Double_t fNumMin
Lower limit.
 
virtual Int_t GetCharWidth(const char *text="0") const
Get the text width in pixels.
 
virtual void SetTime(Int_t hour, Int_t min, Int_t sec, Bool_t emit=kTRUE)
Set the numeric value (time format).
 
Bool_t fStepLog
Logarithmic steps for increase?
 
Double_t fNumMax
Upper limit.
 
void Layout() override
Layout.
 
virtual ELimit GetNumLimits() const
Get the numerical limit attribute.
 
TGNumberEntryLayout(TGNumberEntry *box)
 
TGDimension GetDefaultSize() const override
Return the default size of the numeric control box.
 
TGNumberEntryLayout(const TGNumberEntryLayout &)=delete
 
TGNumberEntryLayout & operator=(const TGNumberEntryLayout &)=delete
 
void Layout() override
Layout the internal GUI elements in use.
 
TGNumberEntry is a number entry input widget with up/down buttons.
 
virtual void IncreaseNumber(EStepSize step=kNSSSmall, Int_t sign=1, Bool_t logstep=kFALSE)
 
TGButton * fButtonDown
Button for decreasing value.
 
virtual Double_t GetNumMax() const
 
virtual Bool_t IsLogStep() const
 
virtual EStyle GetNumStyle() const
 
Bool_t fButtonToNum
Send button messages to parent rather than number entry field.
 
virtual ULong_t GetHexNumber() const
 
virtual ~TGNumberEntry()
Destructs a numeric entry widget.
 
virtual void SetButtonToNum(Bool_t state)
Send button messages to the number field (true) or parent widget (false).
 
virtual void ValueSet(Long_t val)
Emit ValueSet(Long_t) signal.
 
TGNumberEntryField * GetNumberEntry() const
Get the number entry field.
 
virtual void SetLimits(ELimit limits=TGNumberFormat::kNELNoLimits, Double_t min=0, Double_t max=1)
 
const TGPicture * fPicUp
Up arrow.
 
virtual void SetTime(Int_t hour, Int_t min, Int_t sec, Bool_t emit=kTRUE)
 
virtual void SetState(Bool_t enable=kTRUE)
Set the active state.
 
TGNumberEntry(const TGNumberEntry &)=delete
 
virtual ELimit GetNumLimits() const
 
virtual void SetText(const char *text, Bool_t emit=kTRUE)
 
virtual void SetIntNumber(Long_t val, Bool_t emit=kTRUE)
 
Bool_t ProcessMessage(Longptr_t msg, Longptr_t parm1, Longptr_t parm2) override
Process the up/down button messages.
 
virtual void SetDate(Int_t year, Int_t month, Int_t day, Bool_t emit=kTRUE)
 
virtual void SetLogStep(Bool_t on=kTRUE)
Set log steps.
 
const TGPicture * fPicDown
Down arrow.
 
void SavePrimitive(std::ostream &out, Option_t *="") override
Save a number entry widget as a C++ statement(s) on output stream out.
 
void SetNumLimits(ELimit limits=kNELNoLimits)
 
virtual void ValueChanged(Long_t val)
Emit ValueChanged(Long_t) signal.
 
TGLayoutManager * GetLayoutManager() const override
Return layout manager.
 
virtual void GetDate(Int_t &year, Int_t &month, Int_t &day) const
 
void Associate(const TGWindow *w) override
Make w the window that will receive the generated messages.
 
TGButton * GetButtonDown() const
Get the down button.
 
virtual Long_t GetIntNumber() const
 
virtual EAttribute GetNumAttr() const
 
virtual void Modified()
Emit Modified() signal.
 
TGNumberEntry & operator=(const TGNumberEntry &)=delete
 
void SetLimitValues(Double_t min=0, Double_t max=1)
 
void SetNumAttr(EAttribute attr=kNEAAnyNumber)
 
virtual void SetFormat(EStyle style, EAttribute attr=TGNumberFormat::kNEAAnyNumber)
 
virtual Double_t GetNumMin() const
 
TGNumberEntryField * fNumericEntry
Number text entry field.
 
virtual void SetHexNumber(ULong_t val, Bool_t emit=kTRUE)
 
Bool_t IsEditable() const override
Return kTRUE if frame is being edited.
 
virtual Double_t GetNumber() const
 
virtual void SetNumber(Double_t val, Bool_t emit=kTRUE)
 
TGButton * fButtonUp
Button for increasing value.
 
TGButton * GetButtonUp() const
Get the up button.
 
UInt_t GetDefaultHeight() const override
 
virtual void GetTime(Int_t &hour, Int_t &min, Int_t &sec) const
 
void SetNumStyle(EStyle style)
 
The TGPicture class implements pictures and icons used in the different GUI elements and widgets.
 
A TGTextEntry is a one line text input widget.
 
static FontStruct_t GetDefaultFontStruct()
Return default font structure in use.
 
ROOT GUI Window base class.
 
void Emit(const char *signal, const T &arg)
Activate signal with single parameter.
 
void box(Int_t pat, Double_t x1, Double_t y1, Double_t x2, Double_t y2)