443 Int_t parts[] = { 20, 30, 50 };
771 if ((
gROOT->GetSelectedPad()) && (
gROOT->GetSelectedPad()->GetCanvas())) {
884 printf(
"Can not delete gStyle.\n");
919 const char* tmpBaseName;
927 else tmpBaseName = 0;
928 }
while (tmpBaseName && (strstr(tmpBaseName,
"Style_") != tmpBaseName)
929 && (strstr(tmpBaseName,
" ") != 0));
931 if (tmpBaseName != 0) {
1149 h1->AddFrame(v12, layout4);
1168 gClient->GetColorByName(
"#FF0000", red);
1246 if (tmpStyle ==
style) styleID = i;
1248 tmpStyle = (
TStyle *) (
gROOT->GetListOfStyles()->After(tmpStyle));
1252 if (styleID == 0) styleID = i - 1;
1290 Int_t oneYearInSecs;
1291 Int_t oneMonthInSecs;
1438 if (year % 4) oneYearInSecs = 3600 * 24 * 365;
1439 else oneYearInSecs = 3600 * 24 * 366;
1440 delta += oneYearInSecs;
1442 oneYearInSecs = 3600 * 24 * 365;
1443 while (delta >= oneYearInSecs) {
1444 if (year % 4) oneYearInSecs = 3600 * 24 * 365;
1445 else oneYearInSecs = 3600 * 24 * 366;
1446 delta -= oneYearInSecs;
1449 oneMonthInSecs = 3600 * 24 * 31;
1450 while (delta >= oneMonthInSecs) {
1452 delta -= oneMonthInSecs;
1455 if (year % 4) oneMonthInSecs = 3600 * 24 * 28;
1456 else oneMonthInSecs = 3600 * 24 * 29;
1458 case 3:
case 5:
case 7:
case 8:
case 10:
case 12:
1459 oneMonthInSecs = 3600 * 24 * 31;
1462 oneMonthInSecs = 3600 * 24 * 30;
1465 day = (
Int_t) delta / (3600 * 24) + 1;
1466 delta = ((
Int_t) delta) % (3600 * 24);
1686 if ((((tmp/100) % 10) == 2) || (((tmp/1000) % 10) == 2) ||
1687 (((tmp/10000000) % 10) == 2) || (((tmp/100000000) % 10) == 2))
1697 if ((tmp2/10) % 10) {
1720 if ((papSizeX == 20) && (papSizeY == 26)) {
1725 }
else if ((papSizeX == 20) && (papSizeY == 24)) {
1745 Connect(
"CloseWindow()",
"TStyleManager",
this,
"CloseWindow()");
1746 fMenuStyle->
Connect(
"Activated(Int_t)",
"TStyleManager",
this,
"DoMenu(Int_t)");
1747 fMenuHelp->
Connect(
"Activated(Int_t)",
"TStyleManager",
this,
"DoMenu(Int_t)");
1765 fEditionTab->
Connect(
"Selected(Int_t)",
"TStyleManager",
this,
"DoChangeTab(Int_t)");
1766 fAxisTab->
Connect(
"Selected(Int_t)",
"TStyleManager",
this,
"DoChangeAxisTab(Int_t)");
1769 TQObject::Connect(
"TCanvas",
"Selected(TVirtualPad *, TObject *, Int_t)",
"TStyleManager",
1770 this,
"DoSelectCanvas(TVirtualPad *, TObject *, Int_t)");
1771 TQObject::Connect(
"TCanvas",
"Closed()",
"TStyleManager",
this,
"DoSelectNoCanvas()");
1814 fFillColor->
Connect(
"ColorSelected(Pixel_t)",
"TStyleManager",
this,
"ModFillColor()");
1815 fFillStyle->
Connect(
"PatternSelected(Style_t)",
"TStyleManager",
this,
"ModFillStyle()");
1818 fMarkerColor->
Connect(
"ColorSelected(Pixel_t)",
"TStyleManager",
this,
"ModMarkerColor()");
1819 fMarkerStyle->
Connect(
"MarkerSelected(Style_t)",
"TStyleManager",
this,
"ModMarkerStyle()");
1822 fLineColor->
Connect(
"ColorSelected(Pixel_t)",
"TStyleManager",
this,
"ModLineColor()");
1823 fLineWidth->
Connect(
"Selected(Int_t)",
"TStyleManager",
this,
"ModLineWidth()");
1824 fLineStyle->
Connect(
"Selected(Int_t)",
"TStyleManager",
this,
"ModLineStyle()");
1826 fTextColor->
Connect(
"ColorSelected(Pixel_t)",
"TStyleManager",
this,
"ModTextColor()");
1827 fTextSize->
Connect(
"ValueSet(Long_t)",
"TStyleManager",
this,
"ModTextSize()");
1829 fTextFont->
Connect(
"Selected(Int_t)",
"TStyleManager",
this,
"ModTextFont()");
1830 fTextAlign->
Connect(
"Selected(Int_t)",
"TStyleManager",
this,
"ModTextAlign()");
1831 fTextAngle->
Connect(
"ValueSet(Long_t)",
"TStyleManager",
this,
"ModTextAngle()");
1834 fCanvasColor->
Connect(
"ColorSelected(Pixel_t)",
"TStyleManager",
this,
"ModCanvasColor()");
1849 fDateX->
Connect(
"ValueSet(Long_t)",
"TStyleManager",
this,
"ModDateX()");
1850 fDateY->
Connect(
"ValueSet(Long_t)",
"TStyleManager",
this,
"ModDateY()");
1859 fPadColor->
Connect(
"ColorSelected(Pixel_t)",
"TStyleManager",
this,
"ModPadColor()");
1860 fPadTickX->
Connect(
"Toggled(Bool_t)",
"TStyleManager",
this,
"ModPadTickX()");
1861 fPadTickY->
Connect(
"Toggled(Bool_t)",
"TStyleManager",
this,
"ModPadTickY()");
1862 fPadGridX->
Connect(
"Toggled(Bool_t)",
"TStyleManager",
this,
"ModPadGridX()");
1863 fPadGridY->
Connect(
"Toggled(Bool_t)",
"TStyleManager",
this,
"ModPadGridY()");
1864 fGridColor->
Connect(
"ColorSelected(Pixel_t)",
"TStyleManager",
this,
"ModGridColor()");
1865 fGridWidth->
Connect(
"Selected(Int_t)",
"TStyleManager",
this,
"ModGridWidth()");
1866 fGridStyle->
Connect(
"Selected(Int_t)",
"TStyleManager",
this,
"ModGridStyle()");
1874 fBarWidth->
Connect(
"ValueSet(Long_t)",
"TStyleManager",
this,
"ModBarWidth()");
1875 fBarOffset->
Connect(
"ValueSet(Long_t)",
"TStyleManager",
this,
"ModBarOffset()");
1888 fFuncColor->
Connect(
"ColorSelected(Pixel_t)",
"TStyleManager",
this,
"ModFuncColor()");
1889 fFuncWidth->
Connect(
"Selected(Int_t)",
"TStyleManager",
this,
"ModFuncWidth()");
1890 fFuncStyle->
Connect(
"Selected(Int_t)",
"TStyleManager",
this,
"ModFuncStyle()");
1893 fErrorX->
Connect(
"ValueSet(Long_t)",
"TStyleManager",
this,
"ModErrorX()");
1902 fXTitleColor->
Connect(
"ColorSelected(Pixel_t)",
"TStyleManager",
this,
"ModXTitleColor()");
1907 fXLabelColor->
Connect(
"ColorSelected(Pixel_t)",
"TStyleManager",
this,
"ModXLabelColor()");
1910 fXAxisColor->
Connect(
"ColorSelected(Pixel_t)",
"TStyleManager",
this,
"ModXAxisColor()");
1912 fOptLogx->
Connect(
"Toggled(Bool_t)",
"TStyleManager",
this,
"ModOptLogx()");
1913 fXNdivMain->
Connect(
"ValueSet(Long_t)",
"TStyleManager",
this,
"ModXNdivisions()");
1914 fXNdivSub->
Connect(
"ValueSet(Long_t)",
"TStyleManager",
this,
"ModXNdivisions()");
1919 fYTitleColor->
Connect(
"ColorSelected(Pixel_t)",
"TStyleManager",
this,
"ModYTitleColor()");
1924 fYLabelColor->
Connect(
"ColorSelected(Pixel_t)",
"TStyleManager",
this,
"ModYLabelColor()");
1927 fYAxisColor->
Connect(
"ColorSelected(Pixel_t)",
"TStyleManager",
this,
"ModYAxisColor()");
1929 fOptLogy->
Connect(
"Toggled(Bool_t)",
"TStyleManager",
this,
"ModOptLogy()");
1930 fYNdivMain->
Connect(
"ValueSet(Long_t)",
"TStyleManager",
this,
"ModYNdivisions()");
1931 fYNdivSub->
Connect(
"ValueSet(Long_t)",
"TStyleManager",
this,
"ModYNdivisions()");
1936 fZTitleColor->
Connect(
"ColorSelected(Pixel_t)",
"TStyleManager",
this,
"ModZTitleColor()");
1941 fZLabelColor->
Connect(
"ColorSelected(Pixel_t)",
"TStyleManager",
this,
"ModZLabelColor()");
1944 fZAxisColor->
Connect(
"ColorSelected(Pixel_t)",
"TStyleManager",
this,
"ModZAxisColor()");
1946 fOptLogz->
Connect(
"Toggled(Bool_t)",
"TStyleManager",
this,
"ModOptLogz()");
1947 fZNdivMain->
Connect(
"ValueSet(Long_t)",
"TStyleManager",
this,
"ModZNdivisions()");
1948 fZNdivSub->
Connect(
"ValueSet(Long_t)",
"TStyleManager",
this,
"ModZNdivisions()");
1953 fOptTitle->
Connect(
"Toggled(Bool_t)",
"TStyleManager",
this,
"ModOptTitle()");
1954 fTitleColor->
Connect(
"ColorSelected(Pixel_t)",
"TStyleManager",
this,
"ModTitleFillColor()");
1955 fTitleStyle->
Connect(
"PatternSelected(Style_t)",
"TStyleManager",
this,
"ModTitleStyle()");
1959 fTitleFont->
Connect(
"Selected(Int_t)",
"TStyleManager",
this,
"ModTitleFont()");
1962 fTitleX->
Connect(
"ValueSet(Long_t)",
"TStyleManager",
this,
"ModTitleX()");
1963 fTitleY->
Connect(
"ValueSet(Long_t)",
"TStyleManager",
this,
"ModTitleY()");
1964 fTitleW->
Connect(
"ValueSet(Long_t)",
"TStyleManager",
this,
"ModTitleW()");
1965 fTitleH->
Connect(
"ValueSet(Long_t)",
"TStyleManager",
this,
"ModTitleH()");
1969 fStatColor->
Connect(
"ColorSelected(Pixel_t)",
"TStyleManager",
this,
"ModStatColor(Pixel_t)");
1970 fStatStyle->
Connect(
"PatternSelected(Style_t)",
"TStyleManager",
this,
"ModStatStyle(Style_t)");
1971 fStatTextColor->
Connect(
"ColorSelected(Pixel_t)",
"TStyleManager",
this,
"ModStatTextColor(Pixel_t)");
1974 fStatFont->
Connect(
"Selected(Int_t)",
"TStyleManager",
this,
"ModStatFont()");
1975 fStatX->
Connect(
"ValueSet(Long_t)",
"TStyleManager",
this,
"ModStatX()");
1976 fStatY->
Connect(
"ValueSet(Long_t)",
"TStyleManager",
this,
"ModStatY()");
1977 fStatW->
Connect(
"ValueSet(Long_t)",
"TStyleManager",
this,
"ModStatW()");
1978 fStatH->
Connect(
"ValueSet(Long_t)",
"TStyleManager",
this,
"ModStatH()");
1990 fStatFormat->
Connect(
"TextChanged(const char *)",
"TStyleManager",
this,
"ModStatFormat(const char *)");
1995 fFitFormat->
Connect(
"TextChanged(const char *)",
"TStyleManager",
this,
"ModFitFormat(const char *)");
1998 fHeaderPS->
Connect(
"TextChanged(const char *)",
"TStyleManager",
this,
"ModHeaderPS()");
1999 fTitlePS->
Connect(
"TextChanged(const char *)",
"TStyleManager",
this,
"ModTitlePS()");
2293 v->AddFrame(h3, layout);
2855 v2->AddFrame(h2, layout);
2951 f->AddFrame(
h, layout);
2996 h->AddFrame(h3, layout);
3064 h->AddFrame(h2, layout);
3214 h->AddFrame(h2, layout);
3364 h->AddFrame(h2, layout);
3644 v1->AddFrame(h2, layout2);
3942 f->AddFrame(gf, layout);
3966 h->AddFrame(
line, layout1);
3968 f->AddFrame(
h, layout2);
3981 f->AddFrame(cs, layout);
3996 f->AddFrame(gps, layout);
4011 f->AddFrame(gms, layout);
4023 for (
Int_t i = 1; i <= 15; i++) {
4047 h->AddFrame(lab, layout);
4050 nfS, nfA, nfL, min, max);
4052 if ((e1 == 0) && (e2 == 0) && (e3 == 0)) {
4055 h->AddFrame(ne, layout1);
4059 h->AddFrame(ne, layout2);
4065 f->AddFrame(
h, layout3);
4070 f->AddFrame(
h, layout4);
4090 f->AddFrame(
h, layout);
4111 const char *s,
Int_t id)
4118 f->AddFrame(tb, layout);
4142 cb->
AddEntry(
"11 Bottom, Left", 11);
4143 cb->
AddEntry(
"21 Bottom, Middle", 21);
4144 cb->
AddEntry(
"31 Bottom, Right", 31);
4145 cb->
AddEntry(
"12 Middle, Left", 12);
4146 cb->
AddEntry(
"22 Middle, Middle", 22);
4147 cb->
AddEntry(
"32 Middle, Right", 32);
4149 cb->
AddEntry(
"23 Top, Middle", 23);
4184 cb->
AddEntry(
"Wed Sep 25 17:10:35 2002", 1);
4186 cb->
AddEntry(
"2002-09-25 17:10:35", 3);
4206 h->AddFrame(cb, layout);
4215 const char *s,
Int_t id)
4224 h->AddFrame(lab, layout1);
4232 h->AddFrame(te, layout2);
4238 f->AddFrame(
h, layout3);
4249 cb->
AddEntry(
"Custom size (cm)", 1);
4250 cb->
AddEntry(
"Custom size (inch)", 2);
4252 cb->
AddEntry(
"US Letter (inch)", 4);
4302 delete gROOT->GetStyle(
"Default");
4303 new TStyle(
"Default",
"Default Style");
4309 delete gROOT->GetStyle(
"Plain");
4310 new TStyle(
"Plain",
"Plain Style (no colors/fill areas)");
4316 delete gROOT->GetStyle(
"Bold");
4317 new TStyle(
"Bold",
"Bold Style");
4323 delete gROOT->GetStyle(
"Video");
4324 new TStyle(
"Video",
"Style for video presentation histograms");
4330 delete gROOT->GetStyle(
"Pub");
4331 new TStyle(
"Pub",
"Style for Publications");
4359 GetSelectedEntry())->GetText()->GetString());
4380 newTip +=
" become current style";
4419 TQObject::Connect(
"TCanvas",
"Closed()",
"TStyleManager",
this,
"DoSelectNoCanvas()");
4484 tmpCanvas = (
TCanvas *) (
gROOT->GetListOfCanvases()->After(tmpCanvas));
4497 tmpCanvas = (
TCanvas *) (
gROOT->GetListOfCanvases()->After(tmpCanvas));
4547 TQObject::Connect(
"TCanvas",
"Closed()",
"TStyleManager",
this,
"DoSelectNoCanvas()");
4625 sPad.
Append(
"[no name]");
4630 sPad.
Append(
"[no title]");
4638 sObj.
Append(
"[no name]");
5403 offset += 3600 * 24;
5406 Int_t oneMonthInSecs;
5411 if (year % 4) oneMonthInSecs = 3600 * 24 * 28;
5412 else oneMonthInSecs = 3600 * 24 * 29;
5414 case 1:
case 3:
case 5:
case 7:
case 8:
case 10:
case 12:
5415 oneMonthInSecs = 3600 * 24 * 31;
5418 oneMonthInSecs = 3600 * 24 * 30;
5420 offset += oneMonthInSecs;
5423 Int_t oneYearInSecs;
5424 while (year < 1995) {
5425 if (year % 4) oneYearInSecs = 3600 * 24 * 365;
5426 else oneYearInSecs = 3600 * 24 * 366;
5427 offset -= oneYearInSecs;
5430 while (year > 1995) {
5432 if (year % 4) oneYearInSecs = 3600 * 24 * 365;
5433 else oneYearInSecs = 3600 * 24 * 366;
5434 offset += oneYearInSecs;
6305 if (stat == 1) stat = 1000000001;
6329 if (fit == 1) fit = 10001;
ULong_t Pixel_t
Pixel value.
Handle_t Window_t
Window handle.
R__EXTERN const char gHelpSMTitle[]
R__EXTERN const char gHelpSMPad[]
R__EXTERN const char gHelpSMGeneral[]
R__EXTERN const char gHelpSMAxis[]
R__EXTERN const char gHelpSMTopLevel[]
R__EXTERN const char gHelpSMHistos[]
R__EXTERN const char gHelpSMStats[]
R__EXTERN const char gHelpSMCanvas[]
R__EXTERN const char gHelpSMPSPDF[]
char * Form(const char *fmt,...)
@ kCanvasAttDateTextAngle
@ kAxisYNdivisionsOptimize
@ kAxisZNdivisionsOptimize
@ kAxisXNdivisionsOptimize
@ kAxisZLabelSizeInPixels
@ kCanvasAttDateTextAlign
@ kCanvasBorderModeRaised
@ kAxisXTitleSizeInPixels
@ kAxisZTitleSizeInPixels
@ kCanvasAttDateTextColor
@ kCanvasBorderModeSunken
@ kAxisYLabelSizeInPixels
@ kAxisYTitleSizeInPixels
@ kGeneralHatchesLineWidth
@ kCanvasAttDateTextSizeInPixels
@ kAxisXLabelSizeInPixels
@ kGeneralTextSizeInPixels
const char * kFiletypes[]
R__EXTERN TStyle * gStyle
R__EXTERN TSystem * gSystem
virtual Color_t GetFillColor() const
Return the fill area color.
virtual Style_t GetFillStyle() const
Return the fill area style.
virtual void SetFillColor(Color_t fcolor)
Set the fill area color.
virtual void SetFillStyle(Style_t fstyle)
Set the fill area style.
virtual Color_t GetLineColor() const
Return the line color.
virtual void SetLineStyle(Style_t lstyle)
Set the line style.
virtual Width_t GetLineWidth() const
Return the line width.
virtual void SetLineWidth(Width_t lwidth)
Set the line width.
virtual void SetLineColor(Color_t lcolor)
Set the line color.
virtual Style_t GetLineStyle() const
Return the line style.
virtual Style_t GetMarkerStyle() const
Return the marker style.
virtual void SetMarkerColor(Color_t mcolor=1)
Set the marker color.
virtual Color_t GetMarkerColor() const
Return the marker color.
virtual Size_t GetMarkerSize() const
Return the marker size.
virtual void SetMarkerStyle(Style_t mstyle=1)
Set the marker style.
virtual void SetMarkerSize(Size_t msize=1)
Set the marker size.
virtual Float_t GetTextSize() const
Return the text size.
virtual void SetTextAlign(Short_t align=11)
Set the text alignment.
virtual Short_t GetTextAlign() const
Return the text alignment.
virtual Font_t GetTextFont() const
Return the text font.
virtual Color_t GetTextColor() const
Return the text color.
virtual void SetTextAngle(Float_t tangle=0)
Set the text angle.
virtual Float_t GetTextAngle() const
Return the text angle.
virtual void SetTextColor(Color_t tcolor=1)
Set the text color.
virtual void SetTextFont(Font_t tfont=62)
Set the text font.
virtual void SetTextSize(Float_t tsize=1)
Set the text size.
void UseCurrentStyle() override
Force a copy of current style for all objects in canvas.
void Update() override
Update canvas pad buffers.
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.
void Enable(Bool_t on=kTRUE)
Set state of widget as enabled.
void Disable()
Set state of widget as disabled.
virtual Int_t GetSelected() const
virtual void AddEntry(TGString *s, Int_t id)
virtual void RemoveEntries(Int_t from_ID, Int_t to_ID)
virtual TGListBox * GetListBox() const
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 Layout()
layout combobox
virtual Int_t GetNumberOfEntries() const
virtual void SetLayoutManager(TGLayoutManager *l)
Set the layout manager for the composite frame.
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 SetCleanup(Int_t mode=kLocalCleanup)
Turn on automatic cleanup of child frames in dtor.
virtual TGDimension GetDefaultSize() const
std::cout << fWidth << "x" << fHeight << std::endl;
virtual void MapSubwindows()
Map all sub windows that are part of the composite frame.
virtual void ShowFrame(TGFrame *f)
Show sub frame.
virtual void HideFrame(TGFrame *f)
Hide sub frame.
void SetFilename(const char *fname)
Set file name.
void SetIniDir(const char *inidir)
Set directory name.
virtual void Resize(UInt_t w=0, UInt_t h=0)
Resize the frame.
virtual void MoveResize(Int_t x, Int_t y, UInt_t w=0, UInt_t h=0)
Move and/or resize the frame.
virtual void MapWindow()
map window
virtual void UnmapWindow()
unmap window
virtual void Resize(UInt_t w, UInt_t h)
Resize the listbox widget.
virtual TGDimension GetDefaultSize() const
Return default size of listbox widget.
void SetWMSizeHints(UInt_t wmin, UInt_t hmin, UInt_t wmax, UInt_t hmax, UInt_t winc, UInt_t hinc)
Give the window manager minimum and maximum size hints.
void SetWindowName(const char *name=0)
Set window name. This is typically done via the window manager.
virtual void SetNumber(Double_t val)
virtual void SetIntNumber(Long_t val)
TGNumberEntryField * GetNumberEntry() const
virtual void Associate(const TGWindow *w)
Make w the window that will receive the generated messages.
virtual void SetLimits(ELimit limits=TGNumberFormat::kNELNoLimits, Double_t min=0, Double_t max=1)
virtual void SetState(Bool_t enable=kTRUE)
Set the active state.
virtual Long_t GetIntNumber() const
virtual void SetFormat(EStyle style, EAttribute attr=TGNumberFormat::kNEAAnyNumber)
virtual Double_t GetNumber() const
Pixmap_t GetPicture() const
void Draw3DCorner(Bool_t corner)
virtual void SetText(TGString *text, Int_t partidx=0)
Set text in partition partidx in status bar.
virtual void SetParts(Int_t npart)
Divide the status bar in npart equal sized parts.
virtual TGCompositeFrame * AddTab(TGString *text)
Add a tab to the tab widget.
virtual void SetText(TGHotString *new_label)
Set new button text.
const char * GetText() const
void SetEnabled(Bool_t flag=kTRUE)
virtual void SetToolTipText(const char *text, Long_t delayms=500)
Set tool tip text associated with this text entry.
virtual void SetTextColor(Pixel_t color, Bool_t local=kTRUE)
Changes text color.
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 const TGWindow * GetMainFrame() const
Returns top level main frame.
const TGWindow * GetParent() const
virtual Bool_t IsMapped()
Returns kTRUE if window is mapped on screen, kFALSE otherwise.
void SetMarkerStyle(Style_t pattern)
Set marker.
Style_t GetMarkerStyle() const
Style_t GetPattern() const
void SetPattern(Style_t pattern, Bool_t emit=kTRUE)
Set pattern.
virtual void Enable()
Set widget state flag (kTRUE=enabled, kFALSE=disabled).
virtual void Disable()
Clear widget state flag.
virtual void Add(TObject *obj)
virtual TObject * After(const TObject *obj) const
Returns the object after object obj.
virtual TObject * Remove(TObject *obj)
Remove object from the list.
virtual void AddFirst(TObject *obj)
Add object at the beginning of the list.
virtual TObject * First() const
Return the first object in the list. Returns 0 when list is empty.
virtual const char * GetTitle() const
Returns title of object.
virtual const char * GetName() const
Returns name of object.
Mother of all ROOT objects.
virtual const char * GetName() const
Returns name of object.
virtual const char * ClassName() const
Returns name of class to which the object belongs.
virtual void UseCurrentStyle()
Set current style settings in this object This function is called when either TCanvas::UseCurrentStyl...
void Modified(Bool_t flag=1) override
TObject * FindObject(const char *name) const override
Search if object named name is inside this pad or in pads inside this pad.
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.
Bool_t Disconnect(const char *signal=0, void *receiver=0, const char *slot=0)
Disconnects signal of this object from slot of receiver.
void SetText(const char *helpText)
Set help text from helpText buffer in TGTextView.
void Popup()
Show help dialog.
const char * Data() const
TString & Append(const char *cs)
static TString Format(const char *fmt,...)
Static method which formats a string using a printf style format descriptor and return a TString.
void Form(const char *fmt,...)
Formats a string using a printf style format descriptor.
TGPictureButton * fToolBarHelp
void ModXLabelFont()
Slot called whenever the X axis label font is modified by the user.
void ModOptDateFormat()
Slot called whenever the date text format is modified by the user.
TGedPatternSelect * fHistFillStyle
void ModTitleBorderSize()
Slot called whenever the title border size is modified by the user.
const TGPicture * fToolBarHelpPic
void AddHistosHistosAxis(TGCompositeFrame *f)
Add the 'Axis' group frame to the 'Histos - Histos' tab.
void ModStatFontSizeInPixels(Bool_t b)
Slot called whenever the text size mode is modified by the user.
void ModYTitleSize()
Slot called whenever the Y axis title size is modified by the user.
void DoPreview(Bool_t b)
Slot called when the user click on the preview check button.
void ModPadBorderSize()
Slot called whenever the pad border size is modified by the user.
TGNumberEntry * fYTickLength
void ModPadTickX()
Slot called whenever the pad tick X boolean is modified by the user.
TGCheckButton * fXLabelSizeInPixels
TGCheckButton * fHistMinimumZero
void ModZLabelColor()
Slot called whenever the Z axis label color is modified by the user.
void ModOptLogx()
Slot called whenever the X axis log scale boolean is modified by the user.
TGTextButton * fEditionHelp
TGTextButton * fApplyOnButton
TGLineWidthComboBox * fLineWidth
TGNumberEntry * fZLabelOffset
void ModZNdivisions()
Slot called whenever the Z axis Number of divisions is modified by the user.
TGLineStyleComboBox * fFrameLineStyle
void ModYAxisColor()
Slot called whenever the Y axis color is modified by the user.
TGFontTypeComboBox * fXLabelFont
void ModFrameFillStyle()
Slot called whenever the frame fill style is modified by the user.
void ModTextAngle()
Slot called whenever the text angle is modified by the user.
void AddPadMargin(TGCompositeFrame *f)
Add the 'Margin' group frame to the 'Pad' tab.
void ModYLabelColor()
Slot called whenever the Y axis label color is modified by the user.
TGedMarkerSelect * AddMarkerStyleEntry(TGCompositeFrame *f, Int_t id)
Add a marker style entry to the frame f.
TGNumberEntry * fCanvasDefH
TGComboBox * fAttDateTextAlign
void ConnectAll()
Connect every entry in the top level interface to the slot.
void ModZTickLength()
Slot called whenever the Z axis tick length is modified by the user.
TGNumberEntry * fBarWidth
TGNumberEntry * fXTitleOffset
void ConnectEditor(Int_t tabNum)
Connect every widget entry of the editor to its specific slot.
void ModDateX()
Slot called whenever the date abscissa is modified by the user.
TGCheckButton * fPadTickY
void AddPadGrid(TGCompositeFrame *f)
Add the 'Grid' group frame to the 'Pad' tab.
TGPictureButton * fToolBarImportCanvas
void ModStatBorderSize()
Slot called whenever the stats border size is modified by the user.
void AddPadTicks(TGCompositeFrame *f)
Add the 'Ticks' group frame to the 'Pad' tab.
void ModXTitleColor()
Slot called whenever the X axis title color is modified by the user.
TGNumberEntry * fTitleFontSize
void AddEdition(TGCompositeFrame *p)
Add the editor to the frame 'p'.
void ModLineStyleEdit()
Slot called whenever the line style editor is opened by the user.
TGLineWidthComboBox * fFrameBorderSize
TGNumberEntry * fScreenFactor
TGCheckButton * fXNdivisionsOptimize
TGColorSelect * fPadColor
void DoImportCanvas()
Create a new style (a copy of gStyle) and import the properties of the current canvas inside.
static TStyleManager * fgStyleManager
TGNumberEntry * fYNdivSub
TGNumberEntry * fEndErrorSize
void ModOptLogz()
Slot called whenever the Z axis log scale boolean is modified by the user.
TGNumberEntry * fCanvasDefW
void ModYTitleOffset()
Slot called whenever the Y axis title offset is modified by the user.
TGComboBox * AddTextAlignEntry(TGCompositeFrame *f, Int_t id)
Add a text align combo box to the frame f.
void ModTextFont()
Slot called whenever the text font is modified by the user.
const TGPicture * fMakeDefaultPic
void AddAxisYDivisions(TGCompositeFrame *f)
Add the 'Divisions' group frame to the 'Axis - Y Axis' tab.
TGLineStyleComboBox * fHistLineStyle
void DisconnectEditor(Int_t tabNum)
Disconnect every widget entry of the editor from its slot.
TGLineWidthComboBox * fTitleBorderSize
TGCheckButton * fOptDateBool
void ModHistMinimumZero()
Slot called whenever the histos minimum zero boolean is modified by the user.
void AddStatsText(TGCompositeFrame *f)
Add the 'Text' group frame to the 'Stats' tab.
void ModXTickLength()
Slot called whenever the X axis tick length is modified by the user.
void AddHistosGraphsLine(TGCompositeFrame *f)
Add the 'Line' group frame to the 'Histos - Graphs' tab.
TGFontTypeComboBox * fYTitleFont
void ModFuncWidth()
Slot called whenever the function line width is modified by the user.
TGedPatternSelect * fFrameFillStyle
void ModAttDateTextSizeInPixels(Bool_t b)
Slot called whenever the date text size mode is modified by the user.
void AddCanvasBorder(TGCompositeFrame *f)
Add the 'Border' group frame to the 'Canvas' tab.
TGTextButton * fEditionReset
void AddAxisZDivisions(TGCompositeFrame *f)
Add the 'Divisions' group frame to the 'Axis - Z Axis' tab.
void ModCanvasDefH()
Slot called whenever the canvas default height is modified by the user.
void ModEndErrorSize()
Slot called whenever the end error size is modified by the user.
TGLabel * fTitleBorderSizeLabel
TGRadioButton * fColorModelPSCMYK
TGLineWidthComboBox * fLegendBorderSize
void DoImportMacro(Bool_t create)
Slot called to import a style from a C++ macro file.
void CreateTabHistos(TGCompositeFrame *tab)
Add the tab 'Histos' to the editor.
TGNumberEntry * fZNdivMain
void UpdateEditor(Int_t tabNum)
Update the values of every widget entry in the editor.
TGNumberEntry * fTextSize
void DoMoreLess()
Slot called when the user try to show or hide the editor part of the style manager.
TGTextEntry * fCurPadTextEntry
void AddStatsFit(TGCompositeFrame *f)
Add the 'Fit Options' group frame to the 'Stats' tab.
void ModYLabelSizeInPixels(Bool_t b)
Slot called whenever the Y axis label size mode is modified by the user.
TGColorSelect * fHistFillColor
void ModFuncStyle()
Slot called whenever the function line style is modified by the user.
TGCheckButton * AddCheckButton(TGCompositeFrame *f, const char *s, Int_t id, Int_t e1=0, Int_t e2=2)
Add a check button to the frame f.
void ModFrameLineColor()
Slot called whenever the frame line color is modified by the user.
void AddMenus(TGCompositeFrame *p)
Add the menu bar to the frame 'p'.
void AddHistosFramesFill(TGCompositeFrame *f)
Add the 'Fill' group frame to the 'Histos - Frames' tab.
void ModGridStyle()
Slot called whenever the grid line style is modified by the user.
static TStyleManager *& GetSM()
static: return style manager
TGColorSelect * fStatColor
void ModHistLineWidth()
Slot called whenever the histos line width is modified by the user.
TGRadioButton * fApplyOnSel
void ModStatFont()
Slot called whenever the stats text font is modified by the user.
TGColorSelect * fLineColor
TGLineWidthComboBox * fFrameLineWidth
void ModHeaderPS()
Slot called whenever the PS header is modified by the user.
void ModStatW()
Slot called whenever the stats width is modified by the user.
void AddAxisZLine(TGCompositeFrame *f)
Add the 'Line' group frame to the 'Axis - Z Axis' tab.
void DoEditionUpdatePreview()
Slot called when the user clicks on the 'Update preview' button.
void ModTitleTextColor()
Slot called whenever the title text color is modified by the user.
void AddTitleBorderSize(TGCompositeFrame *f)
Add the 'Shadow' group frame to the 'Title' tab.
TGCheckButton * fOptStatRMS
TGButtonGroup * fPadBorderMode
void ModStatFontSize()
Slot called whenever the text size is modified by the user.
void ModStatY()
Slot called whenever the stats ordinate is modified by the user.
TGLabel * fLegendBorderSizeLabel
void ModMarkerColor()
Slot called whenever the marker color is modified by the user.
TGCheckButton * fTitleFontSizeInPixels
void AddPsPdfTitle(TGCompositeFrame *f)
Add the 'Title' group frame to the 'PS / PDF' tab.
TGNumberEntry * fCanvasDefY
void ModPadLeftMargin()
Slot called whenever the pad left margin is modified by the user.
void AddHistosFramesBorder(TGCompositeFrame *f)
Add the 'Border' group frame to the 'Histos - Frames' tab.
TStylePreview * fPreviewWindow
void AddAxisXTitle(TGCompositeFrame *f)
Add the 'Title' group frame to the 'Axis - X Axis' tab.
void ModPadGridY()
Slot called whenever the pad grid Y boolean is modified by the user.
void DoPreviewClosed()
Slot called to close the preview, via the preview check button, or when the preview window is closed ...
TGCheckButton * fOptStatEntries
void ModYNdivisions()
Slot called whenever the Y axis Number of divisions is modified by the user.
void ModFrameBorderSize()
Slot called whenever the frame border size is modified by the user.
void AddPsPdfLineScale(TGCompositeFrame *f)
Add the 'Line scale' number entry to the 'PS / PDF' tab.
TGCheckButton * fOptStatIntegral
TGTextButton * fLineStyleEdit
void ModXAxisColor()
Slot called whenever the X axis color is modified by the user.
TGNumberEntry * fZNdivSubSub
void ModPaintTextFormat()
Slot called whenever the paint text format is modified by the user.
void ModTitleFontSize()
Slot called whenever the text size is modified by the user.
TGNumberEntry * fLineScalePS
void ModDrawBorder()
Slot called whenever the draw border boolean is modified by the user.
void DoDelete()
Delete the current selected style from the ROOT session.
TGNumberEntry * fYNdivSubSub
void AddAxisYTitle(TGCompositeFrame *f)
Add the 'Title' group frame to the 'Axis - Y Axis' tab.
void ModPadRightMargin()
Slot called whenever the pad right margin is modified by the user.
void ModYLabelOffset()
Slot called whenever the Y axis label offset is modified by the user.
void ModAttDateTextAlign()
Slot called whenever the date text align is modified by the user.
TGNumberEntry * fZLabelSize
TGFontTypeComboBox * fTitleFont
void ModFrameLineWidth()
Slot called whenever the frame line width is modified by the user.
void AddHistosHistosLegoInnerR(TGCompositeFrame *f)
Add the '3D Cylindrical' group frame to the 'Histos - Histos' tab.
TGLayoutHints * fLayoutExpandXY
void ModZLabelOffset()
Slot called whenever the Z axis label offset is modified by the user.
void DoChangeTab(Int_t i)
Slot called when the user changes the current tab.
void AddAxisZLabels(TGCompositeFrame *f)
Add the 'Labels' group frame to the 'Axis - Z Axis' tab.
TGFontTypeComboBox * fStatFont
TGCheckButton * fOptStatSkewness
TGNumberEntry * fPadTopMargin
TGColorSelect * fFrameFillColor
void ModStripDecimals()
Slot called whenever the strip decimal boolean is modified by the user.
TGColorSelect * fAttDateTextColor
TGNumberEntry * fPadRightMargin
TGNumberEntry * fAttDateTextAngle
void ModFitFormat(const char *fitformat)
Slot called whenever the fit paint format is modified by the user.
TGHorizontal3DLine * fHorizontal3DLine
void ModFillStyle()
Slot called whenever the fill style is modified by the user.
TGColorSelect * fFillColor
TGCheckButton * fOptTitle
void CreateMacro()
Create a TGFileInfo concerning a macro, if it doesn't exist already.
void AddHistosGraphsBorder(TGCompositeFrame *f)
Add the 'Draw Border' check button to the 'Histos - Graphs' tab.
TGFontTypeComboBox * fAttDateTextFont
void AddAxisYLine(TGCompositeFrame *f)
Add the 'Line' group frame to the 'Axis - Y Axis' tab.
void CreateTabTitle(TGCompositeFrame *tab)
Add the tab 'Title' to the editor.
void UpdateStatusBar()
Update the content of the status bar: show the name of the current selected style,...
TGFontTypeComboBox * fZTitleFont
void ModHistLineColor()
Slot called whenever the histos line color is modified by the user.
void ModAttDateTextFont()
Slot called whenever the date text font is modified by the user.
void ModTextAlign()
Slot called whenever the text align is modified by the user.
const TGPicture * fToolBarDeletePic
void ModBarOffset()
Slot called whenever the histos bar offset is modified by the user.
TGColorSelect * fYAxisColor
void ModTextColor()
Slot called whenever the text color is modified by the user.
TGCheckButton * fOptStatMean
void ModStatFormat(const char *sformat)
Slot called whenever the stats paint format is modified by the user.
void ModStatTextColor(Pixel_t color)
Slot called whenever the stats text color is modified by the user.
void ModZLabelSizeInPixels(Bool_t b)
Slot called whenever the Z axis Label size mode is modified by the user.
TGButtonGroup * fFrameBorderMode
void ModOptFit()
Slot called whenever one of the fit options is modified by the user.
TGCheckButton * fOptStatErrors
TGNumberEntry * fYTitleSize
void AddAxisYLabels(TGCompositeFrame *f)
Add the 'Labels' group frame to the 'Axis - Y Axis' tab.
TGHorizontalFrame * fEditionButtonFrame
TGColorSelect * fFrameLineColor
TGCheckButton * fPadTickX
TGColorSelect * fZTitleColor
TGCheckButton * fPadGridX
void AddGeneralMarker(TGCompositeFrame *f)
Add the 'Marker' group frame to the 'General' tab.
TGNumberEntry * fHatchesSpacing
void ModPadBorderMode()
Slot called whenever the pad border mode is modified by the user.
TGedMarkerSelect * fMarkerStyle
TGNumberEntry * fLegoInnerR
TGNumberEntry * fXNdivSub
void AddAxisXLabels(TGCompositeFrame *f)
Add the 'Labels' group frame to the 'Axis - X Axis' tab.
void ModLineColor()
Slot called whenever the line color is modified by the user.
TGNumberEntry * fTimeOffsetDate
TGTextEntry * AddTextEntry(TGCompositeFrame *f, const char *s, Int_t id)
Add a text entry to the frame f. A caption can be added.
TGNumberEntry * fYLabelSize
void ModTextSizeInPixels(Bool_t b)
Slot called whenever the text size mode is modified by the user.
TGNumberEntry * fYTitleOffset
void ModTitleY()
Slot called whenever the title ordinate is modified by the user.
TGCheckButton * fXTitleSizeInPixels
void ModLineWidth()
Slot called whenever the line width is modified by the user.
TGFontTypeComboBox * fZLabelFont
void ModZLabelSize()
Slot called whenever the Z axis label size is modified by the user.
void CreateTabGeneral(TGCompositeFrame *tab)
Add the tab 'General' to the editor.
TGedPatternSelect * fTitleStyle
void ModHistLineStyle()
Slot called whenever the histos line style is modified by the user.
TGComboBox * AddPaperSizeEntry(TGCompositeFrame *f, Int_t id)
Add a prefered paper size combo box to the frame f.
void ModOptTitle()
Slot called whenever the OptTitle boolean is modified by the user.
void CreateTabPad(TGCompositeFrame *tab)
Add the tab 'Pad' to the editor.
void ModMarkerStyle()
Slot called whenever the marker style is modified by the user.
void CreateTabPsPdf(TGCompositeFrame *tab)
Add the tab 'PS / PDF' to the editor.
void AddPadBorder(TGCompositeFrame *f)
Add the 'Border' group frame to the 'Pad' tab.
void ModAttDateTextSize()
Slot called whenever the date text size is modified by the user.
void DoMenu(Int_t menuID)
Slot called when an item of the menu is selected.
void ModFrameLineStyle()
Slot called whenever the frame line style is modified by the user.
TGColorSelect * AddColorEntry(TGCompositeFrame *f, Int_t id)
Add a color entry to the frame f.
void AddPsPdfPaperSize(TGCompositeFrame *f)
Add the 'Paper Size' group frame to the 'PS / PDF' tab.
TGCheckButton * fDrawBorder
void ModYTitleSizeInPixels(Bool_t b)
Slot called whenever the Y axis title size mode is modified by the user.
TGNumberEntry * fPaperSizeY
void ModXTitleOffset()
Slot called whenever the X axis title offset is modified by the user.
TGLabel * fStatFormatLabel
TGComboBox * fListComboBox
void ModXLabelSizeInPixels(Bool_t b)
Slot called whenever the X axis label size mode is modified by the user.
TGRadioButton * fColorModelPSRGB
void ModXLabelColor()
Slot called whenever the X axis label color is modified by the user.
void ModTitleX()
Slot called whenever the title abscissa is modified by the user.
void CreateTabStats(TGCompositeFrame *tab)
Add the tab 'Stats' to the editor.
TGLineStyleComboBox * AddLineStyleEntry(TGCompositeFrame *f, Int_t id)
Add a line style entry to the frame f.
void ModAttDateTextColor()
Slot called whenever the date text color is modified by the user.
void CreateTabCanvas(TGCompositeFrame *tab)
Add the tab 'Canvas' to the editor.
void ModOptDateBool()
Slot called whenever the OptDate boolean is modified by the user.
TGTextButton * AddTextButton(TGCompositeFrame *f, const char *s, Int_t id)
Add a text button to the frame f.
void AddStatsFill(TGCompositeFrame *f)
Add the 'Fill' group frame to the 'Stats' tab.
void AddTitleText(TGCompositeFrame *f)
Add the 'Text' group frame to the 'Title' tab.
void DoEditor()
Called each time something is changed in the style editor.
void ModZTitleColor()
Slot called whenever the Z axis title color is modified by the user.
void ModXLabelOffset()
Slot called whenever the X axis label offset is modified by the user.
void DoChangeAxisTab(Int_t i)
Slot called when the user changes the current axis tab.
TGColorSelect * fFuncColor
TGLayoutHints * fLayoutExpandXMargin
void ModNumberContours()
Slot called whenever the number of contours is modified by the user.
void AddStatsGeometry(TGCompositeFrame *f)
Add the 'Geometry' group frame to the 'Stats' tab.
void ModZTitleOffset()
Slot called whenever the Z axis title offset is modified by the user.
TGNumberEntry * fPadBottomMargin
TGColorSelect * fXLabelColor
TGLineWidthComboBox * fPadBorderSize
TGLineStyleComboBox * fFuncStyle
void ModStatH()
Slot called whenever the stats height is modified by the user.
TGComboBox * AddMarkerSizeEntry(TGCompositeFrame *f, Int_t id)
Add a marker size entry to the frame f.
TGCheckButton * fOptFitChi
void ModCanvasDefX()
Slot called whenever the canvas default abscissa is modified by the user.
TGCheckButton * fStatFontSizeInPixels
TGCheckButton * fYNdivisionsOptimize
void DoNew()
Create a new style. Called via the menu bar or the tool bar.
TGTextButton * fPaletteEdit
void ModFrameBorderMode()
Slot called whenever the frame border mode is modified by the user.
void ModXLabelSize()
Slot called whenever the X axis label size is modified by the user.
TGFontTypeComboBox * fYLabelFont
void AddHistosGraphsErrors(TGCompositeFrame *f)
Add the 'Errors' group frame to the 'Histos - Graphs' tab.
void CreateTabAxis(TGCompositeFrame *tab)
Add the tab 'Axis' to the editor.
TGCheckButton * fOptStatOverflow
void ModTitleFontSizeInPixels(Bool_t b)
Slot called whenever the text size mode is modified by the user.
TGNumberEntry * fYLabelOffset
TGColorSelect * fXTitleColor
void ModTitleFont()
Slot called whenever the title text font is modified by the user.
void ModFillColor()
Slot called whenever the fill color is modified by the user.
TGedPatternSelect * fFillStyle
TGNumberEntry * fXNdivSubSub
void AddStatsStats(TGCompositeFrame *f)
Add the 'Stat Options' group frame to the 'Stats' tab.
TGLineWidthComboBox * AddLineWidthEntry(TGCompositeFrame *f, Int_t id)
Add a line width entry to the frame f.
void ModTitleH()
Slot called whenever the title height is modified by the user.
TGCheckButton * fOptStatUnderflow
void CreateTabAxisY(TGCompositeFrame *tab)
Add the sub-tab 'Y Axis' to the tab 'Axis'.
TGColorSelect * fTitleColor
TGHButtonGroup * fApplyOnGroup
void ModColorModelPS()
Slot called whenever the PS color model is modified by the user.
void ModTitleStyle()
Slot called whenever the title fill style is modified by the user.
void ModMarkerSize()
Slot called whenever the marker size is modified by the user.
void ModAttDateTextAngle()
Slot called whenever the date text angle is modified by the user.
void ModPadBottomMargin()
Slot called whenever the pad bottom margin is modified by the user.
void ModTitlePS()
Slot called whenever the PS title is modified by the user.
void ModLineScalePS()
Slot called whenever the PS line scale is modified by the user.
TGLayoutHints * fLayoutExpandX
void ModZTitleSize()
Slot called whenever the Z axis title size is modified by the user.
TGCheckButton * fYTitleSizeInPixels
void ModApplyOnXYZ()
Slot called whenever the apply on XYZ button is clicked.
TGCheckButton * fOptStatKurtosis
TGColorSelect * fHistLineColor
void ModTitleAlign()
Slot called whenever the title text align is modified by the user.
TGComboBox * fOptDateFormat
void BuildList(TStyle *style=0)
Build the list of styles which will appear in the available styles combo box.
const TGPicture * fToolBarNewPic
void DoSelectNoCanvas()
Slot called when the user close a TCanvas.
TGCheckButton * fZTitleSizeInPixels
TGLineWidthComboBox * fHatchesLineWidth
TGNumberEntry * fPadLeftMargin
void ModYTickLength()
Slot called whenever the Y axis tick length is modified by the user.
void ModHistFillStyle()
Slot called whenever the histos fill style is modified by the user.
void ModBarWidth()
Slot called whenever the histos bar width is modified by the user.
TGedPatternSelect * fStatStyle
TGComboBox * AddDateFormatEntry(TGCompositeFrame *f, Int_t id)
Add a date format combo box to the frame f.
TGColorSelect * fTextColor
void DoListSelect()
Slot called when the user select an item in the available styles' list.
TGLineWidthComboBox * fHistLineWidth
void AddTitleGeometry(TGCompositeFrame *f)
Add the 'Geometry' group frame to the 'Title' tab.
void AddTitle(TGCompositeFrame *f, const char *s)
Add a title to the frame f.
TGButtonGroup * fCanvasBorderMode
void AddPsPdfColorModel(TGCompositeFrame *f)
Add the 'Color Model' group frame to the 'PS / PDF' tab.
TGCheckButton * fPreviewButton
TGNumberEntry * fAttDateTextSize
TGCheckButton * fPadGridY
void ModTimeOffset()
Slot called whenever the time offset is modified by the user.
void ModPadTopMargin()
Slot called whenever the pad top margin is modified by the user.
TGFontTypeComboBox * fXTitleFont
void ModXTitleFont()
Slot called whenever the X axis title font is modified by the user.
void ModScreenFactor()
Slot called whenever the screen factor is modified by the user.
TGColorSelect * fYTitleColor
void ModZTitleFont()
Slot called whenever the Z axis title font is modified by the user.
void DoApplyOnSelect(Int_t i)
Slot called to choose on which object(s) the 'Apply' button will have an effect.
static void Terminate()
Called to delete the style manager.
void AddCanvasGeometry(TGCompositeFrame *f)
Add the 'Geometry' group frame to the 'Canvas' tab.
void ModCanvasBorderMode()
Slot called whenever the canvas border mode is modified by the user.
TGedPatternSelect * AddFillStyleEntry(TGCompositeFrame *f, Int_t id)
Add a fill style entry to the frame f.
TGNumberEntry * fBarOffset
TGColorSelect * fMarkerColor
TGLineStyleComboBox * fGridStyle
void ModCanvasDefW()
Slot called whenever the canvas default width is modified by the user.
void ModZAxisColor()
Slot called whenever the Z axis color is modified by the user.
TGColorSelect * fXAxisColor
void AddCanvasFill(TGCompositeFrame *f)
Add the 'Fill' group frame to the 'Canvas' tab.
void AddHistosHistosContours(TGCompositeFrame *f)
Add the 'Contours' group frame to the 'Histos - Histos' tab.
TGNumberEntry * fNumberContours
TGButtonGroup * fColorModelPS
void ModStatStyle(Style_t pattern)
Slot called whenever the stats fill style is modified by the user.
TGPictureButton * fMakeDefault
TStyleManager(const TGWindow *)
Constructor. Create the main window of the style manager.
void ModFuncColor()
Slot called whenever the function line color is modified by the user.
void ModOptStat()
Slot called whenever one of the stats options is modified by the user.
TGLineWidthComboBox * fStatBorderSize
TGCheckButton * fTextSizeInPixels
void CreateTabHistosHistos(TGCompositeFrame *tab)
Add the sub-tab 'Histos' to the tab 'Histos'.
TGCheckButton * fOptFitValues
TGNumberEntry * fXTickLength
void ModPaletteEdit()
Slot called whenever the palette editor is opened by the user.
TGNumberEntry * fStatFontSize
void AddAxisZTitle(TGCompositeFrame *f)
Add the 'Title' group frame to the 'Axis - Z Axis' tab.
void ModLineStyle()
Slot called whenever the line style is modified by the user.
void ModZTitleSizeInPixels(Bool_t b)
Slot called whenever the Z axis title size mode is modified by the user.
TGColorSelect * fCanvasColor
TGColorSelect * fGridColor
void ModLegoInnerR()
Slot called whenever the lego inner radius is modified by the user.
void ModHatchesSpacing()
Slot called whenever the hatches spacing is modified by the user.
TGLabel * fFitFormatLabel
TGTextButton * fApplyOnXYZ
TGComboBox * fPaperSizePredef
static void Show()
Called to show the style manager. Static method.
void DisconnectAll()
Disconnect every entry in the top level interface of the slot.
TGNumberEntry * fZTitleSize
void CreateTabAxisZ(TGCompositeFrame *tab)
Add the sub-tab 'Z Axis' to the tab 'Axis'.
TGVerticalFrame * fEditionFrame
void ModXNdivisions()
Slot called whenever the X axis Number of divisions is modified by the user.
void ModTitleW()
Slot called whenever the title width is modified by the user.
TGNumberEntry * fZTitleOffset
TGPopupMenu * fImportCascade
TGNumberEntry * fTimeOffsetTime
TGCheckButton * fStripDecimals
void ModYLabelFont()
Slot called whenever the Y axis label font is modified by the user.
void ModLegendBorderSize()
Slot called whenever the legend border size is modified by the user.
void ModTitleFillColor()
Slot called whenever the title fill color is modified by the user.
void AddHistosHistosBar(TGCompositeFrame *f)
Add the 'Bar' group frame to the 'Histos - Histos' tab.
TGLineStyleComboBox * fLineStyle
TGNumberEntry * fCanvasDefX
void ModYLabelSize()
Slot called whenever the Y axis label size is modified by the user.
TGTextEntry * fStatFormat
void CloseWindow()
Slot called to close the style manager via the window manager.
void ModCanvasBorderSize()
Slot called whenever the canvas border size is modified by the user.
TGFontTypeComboBox * AddFontTypeEntry(TGCompositeFrame *f, Int_t id)
Add a font type combo box to the frame f.
TGLabel * fStatBorderSizeLabel
void ModHatchesLineWidth()
Slot called whenever the hatches line width is modified by the user.
void ModYTitleColor()
Slot called whenever the Y axis title color is modified by the user.
void AddTitleFill(TGCompositeFrame *f)
Add the 'Fill' group frame to the 'Title' tab.
void AddToolbar(TGCompositeFrame *p)
Add the tool bar to the frame 'p'.
void DoApplyOn()
Slot called when the user clicks on the 'Apply' button.
TGNumberEntry * AddNumberEntry(TGCompositeFrame *f, Int_t e1, Int_t e2, Int_t e3, Int_t id, const char *s, Double_t init, Int_t digits, TGNumberFormat::EStyle nfS, TGNumberFormat::EAttribute nfA, TGNumberFormat::ELimit nfL, Double_t min, Double_t max)
Add a number entry to the frame f. A caption can be added.
TGCheckButton * fAttDateTextSizeInPixels
void AddHistosHistosFill(TGCompositeFrame *f)
Add the 'Fill' group frame to the 'Histos - Histos' tab.
void ModGridWidth()
Slot called whenever the grid line width is modified by the user.
void ModDateY()
Slot called whenever the date ordinate is modified by the user.
void AddAxisXLine(TGCompositeFrame *f)
Add the 'Line' group frame to the 'Axis - X Axis' tab.
TGTextEntry * fPaintTextFormat
void ModErrorX()
Slot called whenever the error along X is modified by the user.
TGColorSelect * fStatTextColor
void CreateTabHistosGraphs(TGCompositeFrame *tab)
Add the sub-tab 'Graphs' to the tab 'Histos'.
TGPictureButton * fToolBarImportMacro
void ModPadTickY()
Slot called whenever the pad tick Y boolean is modified by the user.
TGNumberEntry * fXLabelSize
void ModPadColor()
Slot called whenever the pad color is modified by the user.
TGButtonGroup * AddBorderModeEntry(TGCompositeFrame *f, Int_t id1, Int_t id2, Int_t id3)
Add a border mode button group to the frame f.
TGNumberEntry * fXLabelOffset
void ModOptLogy()
Slot called whenever the Y axis log scale boolean is modified by the user.
TGNumberEntry * fXTitleSize
void AddHistosHistosLine(TGCompositeFrame *f)
Add the 'Line' group frame to the 'Histos - Histos' tab.
void AddTopLevelInterface(TGCompositeFrame *cf)
Add the top level interface to the frame 'cf'.
TGTextButton * fEditionUpdatePreview
void DoMakeDefault()
Slot called to make the current selected style (in the ComboBox) become gStyle.
TGLineWidthComboBox * fCanvasBorderSize
TGRadioButton * fApplyOnAll
void Init()
Set up the interface. Called by the ctor or by the 'Show' method.
void ModYTitleFont()
Slot called whenever the Y axis title font is modified by the user.
TGLineWidthComboBox * fFuncWidth
TGCheckButton * fZNdivisionsOptimize
TGNumberEntry * fPaperSizeX
void ModCanvasColor()
Slot called whenever the canvas color is modified by the user.
const TGPicture * fToolBarImportMacroPic
TGColorSelect * fTitleTextColor
void DoSelectCanvas(TVirtualPad *pad, TObject *obj, Int_t mouseButton)
Slot called when the user clicks on a TCanvas or on any object inside a TCanvas.
TGPictureButton * fToolBarNew
TGTextEntry * fCurObjTextEntry
void ModXTitleSizeInPixels(Bool_t b)
Slot called whenever the X axis title size mode is modified by the user.
void AddHistosFramesLine(TGCompositeFrame *f)
Add the 'Line' group frame to the 'Histos - Frames' tab.
void AddAxisXDivisions(TGCompositeFrame *f)
Add the 'Divisions' group frame to the 'Axis - X Axis' tab.
TGLineWidthComboBox * fGridWidth
TGCheckButton * fYLabelSizeInPixels
void ModCanvasDefY()
Slot called whenever the canvas default ordinate is modified by the user.
TGNumberEntry * fXNdivMain
void ModStatColor(Pixel_t color)
Slot called whenever the stats fill color is modified by the user.
void DoRealTime(Bool_t b)
Slot called when the user click on the run time update check button.
TGNumberEntry * fTextAngle
TGCheckButton * fOptFitErrors
TGPictureButton * fToolBarDelete
TGPictureButton * fToolBarExport
void DoExit()
Close the style manager. Called via the menu bar.
void AddPsPdfHeader(TGCompositeFrame *f)
Add the 'Header' group frame to the 'PS / PDF' tab.
TGCheckButton * fZLabelSizeInPixels
TGLayoutHints * fLayoutExpandXYMargin
TGCheckButton * fOptFitProbability
void DoExport()
Save the current selected style in a C++ macro file.
TGColorSelect * fZAxisColor
void AddCanvasDate(TGCompositeFrame *f)
Add the 'Date' group frame to the 'Canvas' tab.
TGCheckButton * fOptStatName
void ModPaperSizePredef()
Slot called whenever the PS paper size is modified by the user.
TGFontTypeComboBox * fTextFont
TGLayoutHints * fLayoutExpandXCenterYMargin
const TGPicture * fToolBarImportCanvasPic
void ModXTitleSize()
Slot called whenever the X axis title size is modified by the user.
void ModPadGridX()
Slot called whenever the pad grid X boolean is modified by the user.
TGNumberEntry * fYNdivMain
TGColorSelect * fYLabelColor
void DoHelp(Int_t i)
Open an help window. Called via the menu bar or the tool bar.
void AddPadFill(TGCompositeFrame *f)
Add the 'Fill' group frame to the 'Pad' tab.
void AddGeneralText(TGCompositeFrame *f)
Add the 'Text' group frame to the 'General' tab.
void ModHistFillColor()
Slot called whenever the histos fill color is modified by the user.
TGNumberEntry * fZNdivSub
const TGPicture * fToolBarExportPic
void ModPaperSizeXY()
Slot called whenever the PS paper size is modified by the user.
void ModFrameFillColor()
Slot called whenever the frame fill color is modified by the user.
void DoRename()
Rename the current selected style. Called via the menu bar.
TGNumberEntry * fZTickLength
void ModGridColor()
Slot called whenever the grid line color is modified by the user.
void AddGeneralLine(TGCompositeFrame *f)
Add the 'Line' group frame to the 'General' tab.
virtual ~TStyleManager()
Destructor.
void ModTextSize()
Slot called whenever the text size is modified by the user.
void CreateTabHistosFrames(TGCompositeFrame *tab)
Add the sub-tab 'Frames' to the tab 'Histos'.
void ModStatX()
Slot called whenever the stats abscissa is modified by the user.
TGCheckButton * fPreviewRealTime
TGColorSelect * fZLabelColor
void AddGeneralFill(TGCompositeFrame *f)
Add the 'Fill' group frame to the 'General' tab.
void ModZLabelFont()
Slot called whenever the Z axis label font is modified by the user.
void Hide()
Called to hide the style manager.
void CreateTabAxisX(TGCompositeFrame *tab)
Add the sub-tab 'X Axis' to the tab 'Axis'.
TCanvas * GetMainCanvas()
Return pointer to the selected canvas.
void MapTheWindow()
Initialize the layout algorithm.
void Update(TStyle *style, TVirtualPad *pad)
Update the preview with possibly another style and another object than previously.
TStyle objects may be created to define special styles.
Double_t GetTimeOffset() const
Color_t GetGridColor() const
Color_t GetLabelColor(Option_t *axis="X") const
Return the label color number in the axis.
void SetAxisColor(Color_t color=1, Option_t *axis="X")
Set color to draw the axis line and tick marks.
void SetPadBorderMode(Int_t mode=1)
void SetOptTitle(Int_t tit=1)
void SetFrameLineColor(Color_t color=1)
void SetPadTopMargin(Float_t margin=0.1)
Color_t GetStatTextColor() const
void SetTitleX(Float_t x=0)
void SetOptStat(Int_t stat=1)
The type of information printed in the histogram statistics box can be selected via the parameter mod...
void SetHistFillColor(Color_t color=1)
void SetLegoInnerR(Float_t rad=0.5)
void SaveSource(const char *filename, Option_t *option=0)
Save the current style in a C++ macro file.
void SetOptLogx(Int_t logx=1)
void SetDateX(Float_t x=0.01)
void SetStatFormat(const char *format="6.4g")
void SetPadBottomMargin(Float_t margin=0.1)
Float_t GetTitleX() const
void SetPaintTextFormat(const char *format="g")
Int_t GetOptTitle() const
void SetCanvasBorderSize(Width_t size=1)
Float_t GetScreenFactor() const
void SetCanvasDefX(Int_t topx=10)
Color_t GetHistLineColor() const
Int_t GetNdivisions(Option_t *axis="X") const
Return number of divisions.
void SetFrameFillColor(Color_t color=1)
Int_t GetPadTickX() const
Color_t GetTitleColor(Option_t *axis="X") const
Return title color.
Color_t GetFrameLineColor() const
Style_t GetGridStyle() const
void SetStatFont(Style_t font=62)
void SetEndErrorSize(Float_t np=2)
Set the size (in pixels) of the small lines drawn at the end of the error bars (TH1 or TGraphErrors).
Float_t GetStatFontSize() const
Float_t GetBarOffset() const
Float_t GetLabelSize(Option_t *axis="X") const
Return label size.
void SetStatStyle(Style_t style=1001)
Color_t GetPadColor() const
void SetHistLineStyle(Style_t styl=0)
void SetPadRightMargin(Float_t margin=0.1)
Style_t GetHistFillStyle() const
void SetCanvasColor(Color_t color=19)
void SetTitleFont(Style_t font=62, Option_t *axis="X")
Float_t GetPadRightMargin() const
Float_t GetTickLength(Option_t *axis="X") const
Return tick length.
void SetCanvasDefH(Int_t h=500)
void SetTitleBorderSize(Width_t size=2)
Style_t GetFrameFillStyle() const
void SetStatTextColor(Color_t color=1)
void SetStatX(Float_t x=0)
Float_t GetTitleSize(Option_t *axis="X") const
Return title size.
Float_t GetLegoInnerR() const
Style_t GetLabelFont(Option_t *axis="X") const
Return label font.
void SetCanvasBorderMode(Int_t mode=1)
Float_t GetTitleY() const
void SetOptDate(Int_t datefl=1)
If optdate is non null, the current date/time will be printed in the canvas.
void SetFrameFillStyle(Style_t styl=0)
void SetCanvasDefW(Int_t w=700)
void SetDateY(Float_t y=0.01)
Float_t GetTitleOffset(Option_t *axis="X") const
Return title offset.
Color_t GetHistFillColor() const
void SetFrameBorderMode(Int_t mode=1)
Style_t GetTitleFont(Option_t *axis="X") const
Return title font.
void SetFuncColor(Color_t color=1)
Bool_t GetHistMinimumZero() const
void SetHeaderPS(const char *header)
Define a string to be inserted in the Postscript header.
void SetPadTickY(Int_t ticky)
void SetTitleOffset(Float_t offset=1, Option_t *axis="X")
Specify a parameter offset to control the distance between the axis and the axis title.
Color_t GetTitleFillColor() const
Int_t GetCanvasDefH() const
void SetColorModelPS(Int_t c=0)
Define the color model used by TPostScript and TPDF (RGB or CMYK).
Style_t GetTitleStyle() const
void SetPadTickX(Int_t tickx)
Float_t GetLabelOffset(Option_t *axis="X") const
Return label offset.
Int_t GetCanvasDefX() const
Bool_t GetPadGridY() const
Color_t GetStatColor() const
void SetPadGridX(Bool_t gridx)
void SetTitleTextColor(Color_t color=1)
Float_t GetPadLeftMargin() const
Double_t GetHatchesSpacing() const
Width_t GetLegendBorderSize() const
void SetStatBorderSize(Width_t size=2)
Float_t GetBarWidth() const
void SetGridColor(Color_t color=0)
Int_t GetColorModelPS() const
void SetGridStyle(Style_t style=3)
void SetErrorX(Float_t errorx=0.5)
Int_t GetCanvasDefY() const
void SetTitleColor(Color_t color=1, Option_t *axis="X")
void SetNumberContours(Int_t number=20)
Set the default number of contour levels when drawing 2-d plots.
void SetLabelFont(Style_t font=62, Option_t *axis="X")
Set font number used to draw axis labels.
void SetTitleFontSize(Float_t size=0)
void SetDrawBorder(Int_t drawborder=1)
Width_t GetFrameBorderSize() const
void SetTimeOffset(Double_t toffset)
Change the time offset for time plotting.
void SetTitlePS(const char *pstitle)
Define a string to be used in the %Title of the Postscript files.
void SetHistMinimumZero(Bool_t zero=kTRUE)
If the argument zero=kTRUE the minimum value for the Y axis of 1-d histograms is set to 0.
Bool_t GetPadGridX() const
void SetPadLeftMargin(Float_t margin=0.1)
void SetStatH(Float_t h=0.1)
void SetPadGridY(Bool_t gridy)
void SetOptLogy(Int_t logy=1)
Width_t GetGridWidth() const
Color_t GetFuncColor() const
void SetLegendBorderSize(Width_t size=4)
Int_t GetPadTickY() const
Width_t GetPadBorderSize() const
void SetStripDecimals(Bool_t strip=kTRUE)
Set option to strip decimals when drawing axis labels.
Width_t GetTitleBorderSize() const
void SetHistLineColor(Color_t color=1)
void SetLabelOffset(Float_t offset=0.005, Option_t *axis="X")
Set offset between axis and axis labels.
void SetFitFormat(const char *format="5.4g")
Float_t GetErrorX() const
void SetCanvasDefY(Int_t topy=10)
void SetTitleSize(Float_t size=0.02, Option_t *axis="X")
void SetTitleFillColor(Color_t color=1)
Color_t GetCanvasColor() const
void SetTitleAlign(Int_t a=13)
void SetBarOffset(Float_t baroff=0.5)
void SetPaperSize(EPaperSize size)
Set paper size for PostScript output.
Float_t GetEndErrorSize() const
Float_t GetPadBottomMargin() const
void SetFrameLineWidth(Width_t width=1)
void SetTickLength(Float_t length=0.03, Option_t *axis="X")
Set the tick marks length for an axis.
void SetNdivisions(Int_t n=510, Option_t *axis="X")
Set the number of divisions to draw an axis.
Width_t GetFuncWidth() const
void SetFuncWidth(Width_t width=4)
Int_t GetDrawBorder() const
void SetOptLogz(Int_t logz=1)
const char * GetTitlePS() const
Int_t GetCanvasDefW() const
void SetFrameBorderSize(Width_t size=1)
Width_t GetStatBorderSize() const
void GetPaperSize(Float_t &xsize, Float_t &ysize) const
Set paper size for PostScript output.
Int_t GetStripDecimals() const
void SetTitleW(Float_t w=0)
Style_t GetHistLineStyle() const
void SetTitleStyle(Style_t style=1001)
void SetStatFontSize(Float_t size=0)
void SetStatColor(Color_t color=19)
void SetPadColor(Color_t color=19)
void SetStatW(Float_t w=0.19)
void SetHatchesSpacing(Double_t h)
void SetTitleH(Float_t h=0)
virtual void Reset(Option_t *option="")
Reset.
Color_t GetTitleTextColor() const
void SetBarWidth(Float_t barwidth=0.5)
void SetStatY(Float_t y=0)
Float_t GetTitleH() const
Style_t GetStatStyle() const
void SetTitleY(Float_t y=0.985)
void SetHistFillStyle(Style_t styl=0)
Width_t GetHistLineWidth() const
Style_t GetFrameLineStyle() const
const char * GetFitFormat() const
void SetScreenFactor(Float_t factor=1)
void SetHatchesLineWidth(Int_t l)
Int_t GetCanvasBorderMode() const
Int_t GetPadBorderMode() const
void SetGridWidth(Width_t width=1)
const char * GetHeaderPS() const
const char * GetStatFormat() const
void SetFuncStyle(Style_t style=1)
Width_t GetCanvasBorderSize() const
Int_t GetNumberContours() const
void SetHistLineWidth(Width_t width=1)
const char * GetPaintTextFormat() const
Float_t GetLineScalePS() const
void SetLabelColor(Color_t color=1, Option_t *axis="X")
Set axis labels color.
Style_t GetStatFont() const
void SetLabelSize(Float_t size=0.04, Option_t *axis="X")
Set size of axis labels.
void SetOptFit(Int_t fit=1)
The type of information about fit parameters printed in the histogram statistics box can be selected ...
void SetPadBorderSize(Width_t size=1)
Style_t GetFuncStyle() const
Float_t GetTitleFontSize() const
void SetFrameLineStyle(Style_t styl=0)
Int_t GetHatchesLineWidth() const
Color_t GetAxisColor(Option_t *axis="X") const
Return the axis color number in the axis.
Int_t GetFrameBorderMode() const
Float_t GetPadTopMargin() const
void SetLineScalePS(Float_t scale=3)
Width_t GetFrameLineWidth() const
Color_t GetFrameFillColor() const
Float_t GetTitleW() const
virtual const char * UnixPathName(const char *unixpathname)
Convert from a local pathname to a Unix pathname.
virtual const char * BaseName(const char *pathname)
Base name of a file name. Base name of /user/root is root.
TVirtualPad is an abstract base class for the Pad and Canvas classes.
const char * GetName() const override=0
Returns name of object.
const char * GetTitle() const override=0
Returns title of object.
virtual TCanvas * GetCanvas() const =0
Short_t Max(Short_t a, Short_t b)
Short_t Min(Short_t a, Short_t b)