245 fAxisColor->
Connect(
"ColorSelected(Pixel_t)",
"TAxisEditor",
this,
"DoAxisColor(Pixel_t)");
252 fDiv3->
Connect(
"ValueSet(Long_t)",
"TAxisEditor",
this,
"DoDivisions()");
254 fDiv2->
Connect(
"ValueSet(Long_t)",
"TAxisEditor",
this,
"DoDivisions()");
256 fDiv1->
Connect(
"ValueSet(Long_t)",
"TAxisEditor",
this,
"DoDivisions()");
258 fTitle->
Connect(
"TextChanged(const char *)",
"TAxisEditor",
this,
"DoTitle(const char *)");;
259 fTitleColor->
Connect(
"ColorSelected(Pixel_t)",
"TAxisEditor",
this,
"DoTitleColor(Pixel_t)");
262 fTitleFont->
Connect(
"Selected(Int_t)",
"TAxisEditor",
this,
"DoTitleFont(Int_t)");
263 fCentered->
Connect(
"Toggled(Bool_t)",
"TAxisEditor",
this,
"DoTitleCentered()");
264 fRotated->
Connect(
"Toggled(Bool_t)",
"TAxisEditor",
this,
"DoTitleRotated()");
267 fLabelColor->
Connect(
"ColorSelected(Pixel_t)",
"TAxisEditor",
this,
"DoLabelColor(Pixel_t)");
271 fDecimal->
Connect(
"Toggled(Bool_t)",
"TAxisEditor",
this,
"DoDecimal(Bool_t)");
274 fLabelFont->
Connect(
"Selected(Int_t)",
"TAxisEditor",
this,
"DoLabelFont(Int_t)");
315 if (!strcmp(both,
"+-")) {
include TDocParser_001 C image html pict1_TDocParser_001 png width
R__EXTERN TStyle * gStyle
virtual Color_t GetTitleColor() const
virtual Color_t GetLabelColor() const
virtual Int_t GetNdivisions() const
virtual Color_t GetAxisColor() const
virtual void SetTitleOffset(Float_t offset=1)
Set distance between the axis and the axis title Offset is a correction factor with respect to the "s...
virtual Style_t GetTitleFont() const
virtual Float_t GetLabelOffset() const
virtual void SetAxisColor(Color_t color=1, Float_t alpha=1.)
Set color of the line axis and tick marks.
virtual void SetLabelSize(Float_t size=0.04)
Set size of axis labels The size is expressed in per cent of the pad width.
virtual Style_t GetLabelFont() const
virtual void SetTitleFont(Style_t font=62)
Set the title font.
virtual void SetLabelOffset(Float_t offset=0.005)
Set distance between the axis and the labels The distance is expressed in per cent of the pad width.
virtual void SetLabelFont(Style_t font=62)
Set labels' font.
virtual void SetTitleSize(Float_t size=0.04)
Set size of axis title The size is expressed in per cent of the pad width.
virtual void SetTitleColor(Color_t color=1)
Set color of axis title.
virtual Float_t GetTitleSize() const
virtual Float_t GetLabelSize() const
virtual Float_t GetTickLength() const
virtual Float_t GetTitleOffset() const
virtual void SetTickLength(Float_t length=0.03)
Set tick mark length The length is expressed in per cent of the pad width.
virtual void SetNdivisions(Int_t n=510, Bool_t optim=kTRUE)
Set the number of divisions for this axis.
virtual void SetLabelColor(Color_t color=1, Float_t alpha=1.)
Set color of labels.
virtual void DoLabelColor(Pixel_t color)
Slot connected to the label color.
virtual void DoTitleColor(Pixel_t color)
Slot connected to the title color.
TAxisEditor(const TGWindow *p=0, Int_t width=140, Int_t height=30, UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground())
Constructor of axis attribute GUI.
TGColorSelect * fTitleColor
virtual void DoAxisColor(Pixel_t color)
Slot connected to the axis color.
virtual void DoTitleCentered()
Slot connected to centered title option.
TGColorSelect * fAxisColor
virtual void DoTitleOffset()
Slot connected to the title offset.
virtual void ConnectSignals2Slots()
Connect signals to slots.
virtual void DoTicks()
Slot connected to the ticks draw settings.
virtual void DoTitleFont(Int_t font)
Slot connected to the title font.
TGCheckButton * fNoExponent
TGFontTypeComboBox * fTitleFont
virtual ~TAxisEditor()
Destructor of axis editor.
virtual void DoTitle(const char *text)
Slot connected to the axis color.
virtual void DoDecimal(Bool_t on)
Slot connected to the decimal part setting.
TGNumberEntry * fTickLength
virtual void DoTitleSize()
Slot connected to the title font size.
TGNumberEntry * fTitleOffset
virtual void DoLabelOffset()
Slot connected to the label offset.
TGNumberEntry * fTitleSize
TGColorSelect * fLabelColor
virtual void DoTickLength()
Slot connected to the tick length settings.
TGCheckButton * fTicksBoth
virtual void DoTitleRotated()
Slot connected to the title rotation.
TGNumberEntry * fLabelOffset
TGCheckButton * fOptimize
virtual void DoLogAxis()
Slot for Log scale setting.
TGCheckButton * fCentered
virtual void DoNoExponent()
Slot connected to the labels' exponent flag.
virtual void DoDivisions()
Slot connected to the number of divisions.
virtual void DoLabelFont(Int_t font)
Slot connected to the label font.
virtual void DoMoreLog()
Slot connected to more Log labels flag.
TGNumberEntry * fLabelSize
virtual void DoLabelSize()
Slot connected to the label size.
virtual void SetModel(TObject *obj)
Pick up the used values of axis attributes.
TGFontTypeComboBox * fLabelFont
Class to manage histogram axis.
void SetDecimals(Bool_t dot=kTRUE)
Sets the decimals flag By default, blank characters are stripped, and then the label is correctly ali...
Bool_t GetRotateTitle() const
Bool_t GetCenterTitle() const
void SetMoreLogLabels(Bool_t more=kTRUE)
Set the kMoreLogLabels bit flag When this option is selected more labels are drawn when in log scale ...
Bool_t GetMoreLogLabels() const
virtual void SetTicks(Option_t *option="+")
Set ticks orientation.
Bool_t GetNoExponent() const
void RotateTitle(Bool_t rotate=kTRUE)
Rotate title by 180 degrees.
void CenterTitle(Bool_t center=kTRUE)
Center axis title.
void SetNoExponent(Bool_t noExponent=kTRUE)
Set the NoExponent flag By default, an exponent of the form 10^N is used when the label value are eit...
Bool_t GetDecimals() const
const char * GetTitle() const
Returns title of object.
virtual const char * GetTicks() const
Return the ticks option (see SetTicks)
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",...
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...
TGCompositeFrame(const TGCompositeFrame &)
virtual void AddFrame(TGFrame *f, TGLayoutHints *l=0)
Add frame to the composite frame using the specified layout hints.
virtual UInt_t GetDefaultHeight() const
virtual void Resize(UInt_t w=0, UInt_t h=0)
Resize the frame.
virtual void SetNumber(Double_t val)
TGNumberEntryField * GetNumberEntry() const
virtual Double_t GetNumber() 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.
virtual TVirtualPad * GetPad() const
virtual void MakeTitle(const char *title)
Create attribute frame title.
virtual void Update()
Update the current pad when an attribute is changed via GUI.
virtual void SetTitle(const char *title="")
Set the title of the TNamed.
virtual const char * GetName() const
Returns name of object.
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.
void SetStripDecimals(Bool_t strip=kTRUE)
Set option to strip decimals when drawing axis labels.
virtual Int_t GetLogz() const =0
virtual Int_t GetLogy() const =0
virtual Int_t GetLogx() const =0