142 fSetNx->
Connect(
"ReturnPressed()",
"TSpiderEditor",
this,
"DoSetNx()");
143 fSetNy->
Connect(
"ReturnPressed()",
"TSpiderEditor",
this,
"DoSetNy()");
144 fBgroup->
Connect(
"Clicked(Int_t)",
"TSpiderEditor",
this,
"DoSetPlotType()");
150 fAddVar->
Connect(
"ReturnPressed()",
"TSpiderEditor",
this,
"DoAddVar()");
ULong_t Pixel_t
Pixel value.
static ULong_t Number2Pixel(Int_t ci)
Static method that given a color index number, returns the corresponding pixel value.
static Int_t GetColor(const char *hexcolor)
Static method returning color number for color specified by hex color string of form: "#rrggbb",...
Like a checkbutton but instead of the check mark there is color area with a little down arrow.
void SetColor(Pixel_t color, Bool_t emit=kTRUE)
Set color.
virtual void Select(Int_t id, Bool_t emit=kTRUE)
Make the selected item visible in the combo box window and emit signals according to the second param...
virtual void AddFrame(TGFrame *f, TGLayoutHints *l=0)
Add frame to the composite frame using the specified layout hints.
virtual void ChangeOptions(UInt_t options)
Change composite frame options. Options is an OR of the EFrameTypes.
virtual void Resize(UInt_t w=0, UInt_t h=0)
Resize the frame.
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.
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).
Pixmap_t GetPicture() const
A text buffer is used in several widgets, like TGTextEntry, TGFileDialog, etc.
A TGTextEntry is a one line text input widget.
const char * GetText() const
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.
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.
void SetPattern(Style_t pattern, Bool_t emit=kTRUE)
Set pattern.
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.
The TSpider editor class.
virtual void DoSetNy()
Slot connected to the nx setting.
TGNumberEntryField * fGotoEntry
Jump to an entry field.
TGPictureButton * fGotoNext
Go to next entries button.
TSpiderEditor(const TGWindow *p=0, Int_t width=140, Int_t height=30, UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground())
Normal constructor.
void MakeBrowse()
Make the Browse tab.
TGColorSelect * fAvFillColorSelect
fill color widget for the average.
virtual void DoAvLineStyle(Int_t)
Slot to set the average LineStyle.
virtual void DoDisplayAverage(Bool_t av)
Slot Connected to the average display.
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.
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()
Destructor of the TSpiderEditor.
TGNumberEntryField * fSetNx
To set the nx number of subpads.
TGTextEntry * fAddVar
Add variable field.
virtual void SetModel(TObject *obj)
Pick up the used spider attributes.
virtual void DoAddVar()
Slot to add a variable.
void SetAverageLineStyle(Style_t sty)
Set the LineStyle of the average.
void SetAverageFillColor(Color_t col)
Set the Fill Color of the average.
void SetNx(UInt_t nx)
Set the X number of sub pads.
Style_t GetAverageLineStyle() const
Get the LineStyle of the average.
void GotoPrevious()
Go to the previous entries.
void AddVariable(const char *varexp)
Add a variable to the plot from its expression.
void GotoEntry(Long64_t e)
Go to a specified entry.
void SetAverageLineColor(Color_t col)
Set the LineColor of the average.
void DeleteVariable(const char *varexp)
Delete a variable from its expression.
void SetAverageLineWidth(Width_t wid)
Set the LineWidth of the average.
Width_t GetAverageLineWidth() const
Get the LineWidth of the average.
Color_t GetAverageLineColor() const
Get the LineColor of the average.
void SetDisplayAverage(Bool_t disp)
Display or not the average.
void SetAverageFillStyle(Style_t sty)
Set the FillStyle of the average.
void SetSegmentDisplay(Bool_t seg)
Set the segment display or not.
Color_t GetAverageFillColor() const
Get the Fill Color of the average.
Long64_t GetCurrentEntry() const
void SetNy(UInt_t ny)
Set the Y number of sub pads.
Bool_t GetSegmentDisplay() const
Style_t GetAverageFillStyle() const
Get the FillStyle of the average.
void GotoNext()
Go to the next entries.
void GotoPreceding()
Go to the last entry.
Bool_t GetDisplayAverage() const
void GotoFollowing()
Go to the next entry.