12#ifndef ROOT_TStructNodeEditor 
   13#define ROOT_TStructNodeEditor 
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 on
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t height
 
Like a checkbutton but instead of the check mark there is color area with a little down arrow.
 
static Pixel_t GetDefaultFrameBackground()
Get default frame background.
 
This class handles GUI labels.
 
TGNumberEntry is a number entry input widget with up/down buttons.
 
Yield an action as soon as it is clicked.
 
A TGTextEntry is a one line text input widget.
 
ROOT GUI Window base class.
 
Base frame for implementing GUI - a service class.
 
Mother of all ROOT objects.
 
TGColorSelect * fColorSelect
 
void MaxLevelsValueSetSlot(Long_t)
Emmited when user changes maximum number of levels.
 
TStructNodeProperty * GetDefaultProperty()
Returns property with default color.
 
void MaxObjectsValueSetSlot(Long_t)
Emmited when user changes maximum number of objects.
 
void DefaultButtonSlot()
Slot for Defaulf button. Sets color of class to default.
 
~TStructNodeEditor() override
Destructor of node editor.
 
TGNumberEntry * fMaxLevelsNumberEntry
 
void AutoRefreshButtonSlot(Bool_t on)
Activated when user chage condition.
 
void ColorSelectedSlot(Pixel_t color)
Slot connected to the fill area color.
 
void SetModel(TObject *obj) override
Pick up the used node attributes.
 
TGNumberEntry * fMaxObjectsNumberEntry
 
TStructNodeProperty * fSelectedPropert
 
TGCheckButton * fAutoRefesh
 
TStructNodeEditor(TList *colors, const TGWindow *p=nullptr, Int_t width=140, Int_t height=30, UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground())
Constructor of node attributes GUI.
 
TGTextButton * fApplyButton
 
TGTextButton * fDefaultButton
 
ClassDefOverride(TStructNodeEditor, 0)
 
void Update() override
Signal emmited when color or other property like number of level is changed without camera reset.
 
TStructNodeProperty * FindNodeProperty(TStructNode *node)
Retruns property associated to the class of given node "node".
 
void Init()
Enables button and fields.
 
void ApplyButtonSlot()
ApplyButton Slot. Activated when user press Apply button. Sets properties of a node.