49 fLineColor->Connect(
"ColorSelected(Pixel_t)",
"TEveShapeEditor",
this,
"DoLineColor(Pixel_t)");
55 fLineWidth->GetNumberEntry()->SetToolTipText(
"Line width of outline.");
56 fLineWidth->Connect(
"ValueSet(Long_t)",
"TEveShapeEditor",
this,
"DoLineWidth()");
66 fDrawFrame->Connect(
"Toggled(Bool_t)",
"TEveShapeEditor",
this,
"DoDrawFrame()");
70 fHighlightFrame->Connect(
"Toggled(Bool_t)",
"TEveShapeEditor",
this,
"DoHighlightFrame()");
ULong_t Pixel_t
Pixel value.
int Int_t
Signed integer 4 bytes (int).
unsigned int UInt_t
Unsigned integer 4 bytes (unsigned int).
static Int_t GetColor(const char *hexcolor)
static ULong_t Number2Pixel(Int_t ci)
void DoHighlightFrame()
Slot for HighlightFrame.
TGCheckButton * fDrawFrame
TGNumberEntry * fLineWidth
TEveShapeEditor(const TEveShapeEditor &)
TGColorSelect * fLineColor
void DoLineColor(Pixel_t color)
Slot for setting line color of polygon outline.
void SetModel(TObject *obj) override
Set model object.
void DoLineWidth()
Slot for setting line with of polygon outline.
TGCheckButton * fHighlightFrame
void DoDrawFrame()
Slot for DrawFrame.
Abstract base-class for 2D/3D shapes.
Like a checkbutton but instead of the check mark there is color area with a little down arrow.
virtual void AddFrame(TGFrame *f, TGLayoutHints *l=nullptr)
Add frame to the composite frame using the specified layout hints.
TGCompositeFrame(const TGCompositeFrame &)=delete
A composite frame that layout their children in horizontal way.
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.
ROOT GUI Window base class.
TGedFrame(const TGedFrame &)=delete
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.