61 fBgroup->SetRadioButtonExclusive(
true);
63 fPolyLines->SetToolTipText(
"Set a polyline plot type");
65 fSegment->SetToolTipText(
"Set a segment plot type");
77 fSetNx->SetToolTipText(
"Set the X number of plots");
87 fSetNy->SetToolTipText(
"Set the Y number of plots");
140 fDisplayAverage->Connect(
"Toggled(bool)",
"TSpiderEditor",
this,
"DoDisplayAverage(bool)");
141 fSetNx->Connect(
"ReturnPressed()",
"TSpiderEditor",
this,
"DoSetNx()");
142 fSetNy->Connect(
"ReturnPressed()",
"TSpiderEditor",
this,
"DoSetNy()");
143 fBgroup->Connect(
"Clicked(Int_t)",
"TSpiderEditor",
this,
"DoSetPlotType()");
144 fGotoEntry->Connect(
"ReturnPressed()",
"TSpiderEditor",
this,
"DoGotoEntry()");
145 fGotoNext->Connect(
"Clicked()",
"TSpiderEditor",
this,
"DoGotoNext()");
146 fGotoPrevious->Connect(
"Clicked()",
"TSpiderEditor",
this,
"DoGotoPrevious()");
147 fGotoFollowing->Connect(
"Clicked()",
"TSpiderEditor",
this,
"DoGotoFollowing()");
148 fGotoPreceding->Connect(
"Clicked()",
"TSpiderEditor",
this,
"DoGotoPreceding()");
149 fAddVar->Connect(
"ReturnPressed()",
"TSpiderEditor",
this,
"DoAddVar()");
150 fDeleteVar->Connect(
"ReturnPressed()",
"TSpiderEditor",
this,
"DoDeleteVar()");
151 fAvLineStyleCombo->Connect(
"Selected(Int_t)",
"TSpiderEditor",
this,
"DoAvLineStyle(Int_t)");
152 fAvLineWidthCombo->Connect(
"Selected(Int_t)",
"TSpiderEditor",
this,
"DoAvLineWidth(Int_t)");
153 fAvLineColorSelect->Connect(
"ColorSelected(Pixel_t)",
"TSpiderEditor",
this,
"DoAvLineColor(Pixel_t)");
154 fAvFillColorSelect->Connect(
"ColorSelected(Pixel_t)",
"TSpiderEditor",
this,
"DoAvFillColor(Pixel_t)");
155 fAvFillPatternSelect->Connect(
"PatternSelected(Style_t)",
"TSpiderEditor",
this,
"DoAvFillPattern(Style_t)");
181 fGotoEntry->SetToolTipText(
"Jump to a specified entry");
206 fGotoNext->SetToolTipText(
"Jump to the next entries");
235 fAddVar->SetToolTipText(
"Add a variable");
240 fDeleteVar->SetToolTipText(
"Delete a variable");
258 bool av =
fSpider->GetDisplayAverage();
265 bool seg =
fSpider->GetSegmentDisplay();
297 const char * var =
fAddVar->GetText();
376 fSpider->SetDisplayAverage(av);
459 else fSpider->SetSegmentDisplay(
false);
ULong_t Pixel_t
Pixel value.
int Int_t
Signed integer 4 bytes (int).
unsigned int UInt_t
Unsigned integer 4 bytes (unsigned int).
short Color_t
Color number (short).
long long Long64_t
Portable signed long integer 8 bytes.
short Style_t
Style number (short).
static Int_t GetColor(const char *hexcolor)
static ULong_t Number2Pixel(Int_t ci)
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.
A horizontal 3D line is a line that typically separates a toolbar from the menubar.
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.
The TGLineStyleComboBox user callable and it creates a combobox for selecting the line style.
The TGLineWidthComboBox user callable and it creates a combobox for selecting the line width.
A text buffer is used in several widgets, like TGTextEntry, TGFileDialog, etc.
A TGTextEntry is a one line text input widget.
A composite frame that layout their children in vertical way.
ROOT GUI Window base class.
virtual TGVerticalFrame * CreateEditorTabSubFrame(const char *name)
Create a vertical frame to be used by 'owner' in extra tab 'name'.
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.
Int_t fPriority
location in GedEditor
Bool_t fAvoidSignal
flag for executing slots
is a button with pattern area with a little down arrow.
Mother of all ROOT objects.
virtual void DoSetNy()
Slot connected to the nx setting.
TGNumberEntryField * fGotoEntry
Jump to an entry field.
TSpiderEditor(const TGWindow *p=nullptr, Int_t width=140, Int_t height=30, UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground())
Normal constructor.
TGPictureButton * fGotoNext
Go to next entries button.
void MakeBrowse()
Make the Browse tab.
TGColorSelect * fAvFillColorSelect
fill color widget for the average.
void SetModel(TObject *obj) override
Pick up the used spider attributes.
virtual void DoAvLineStyle(Int_t)
Slot to set the average LineStyle.
virtual void DoGotoFollowing()
Slot to go to next entry.
TGLineWidthComboBox * fAvLineWidthCombo
line width combo box for the average.
TSpider * fSpider
Pointer to the TSpider.
virtual void DoAvFillPattern(Style_t)
Slot to set the average FillStyle.
const TGPicture * fPicNext
Go to next entries picture.
TGCheckButton * fDisplayAverage
Button for the display of the average.
const TGPicture * fPicPreceding
Go to last entry picture.
virtual void DoGotoEntry()
Slot to select an entry by number.
TGNumberEntryField * fSetNy
To set the ny number of subpads.
virtual void DoGotoPreceding()
Slot to go to last entry.
virtual void DoSetNx()
Slot connected to the nx setting.
TGRadioButton * fPolyLines
Polyline option.
virtual void DoAvLineWidth(Int_t)
Slot to set the average LineWidth.
TGCompositeFrame * fBrowse
Browse tab.
virtual void DoAvLineColor(Pixel_t)
Slot to set the average LineColor.
virtual void DoGotoNext()
Slot to Go to next entries.
virtual void DoGotoPrevious()
Slot to go to previous entries.
virtual void ConnectSignals2Slots()
Connect signals to slots.
TGButtonGroup * fBgroup
Group of the plot type selection.
TGRadioButton * fSegment
Segment option.
TGLineStyleComboBox * fAvLineStyleCombo
line style combo box for the average.
const TGPicture * fPicFollowing
Go to next entry picture.
virtual void DoDisplayAverage(bool av)
Slot Connected to the average display.
TGPictureButton * fGotoFollowing
Go to next entry button.
const TGPicture * fPicPrevious
Go to previous entries picture.
TGPictureButton * fGotoPreceding
Go to last entry button.
virtual void DoDeleteVar()
Slot to delete a variable.
TGedPatternSelect * fAvFillPatternSelect
fill pattern widget for the average.
TGColorSelect * fAvLineColorSelect
line color widget for the average.
virtual void DoAvFillColor(Pixel_t)
Slot to set the average Fill Color.
TGPictureButton * fGotoPrevious
Go to previous entries button.
TGTextEntry * fDeleteVar
Delete variable field.
virtual void DoSetPlotType()
Slot to set the plot type.
~TSpiderEditor() override
Destructor of the TSpiderEditor.
TGNumberEntryField * fSetNx
To set the nx number of subpads.
TGTextEntry * fAddVar
Add variable field.
virtual void DoAddVar()
Slot to add a variable.