432 Int_t parts[] = { 20, 30, 50 };
760 if ((
gROOT->GetSelectedPad()) && (
gROOT->GetSelectedPad()->GetCanvas())) {
873 printf(
"Can not delete gStyle.\n");
908 const char* tmpBaseName;
915 if (tmpFileName) tmpBaseName =
gSystem->BaseName(tmpFileName);
916 else tmpBaseName = 0;
917 }
while (tmpBaseName && (strstr(tmpBaseName,
"Style_") != tmpBaseName)
918 && (strstr(tmpBaseName,
" ") != 0));
920 if (tmpBaseName != 0) {
1075 fToolBarNew->SetToolTipText(
"Create a new style");
1079 fToolBarExport->SetToolTipText(
"Export the selected style into a macro");
1080 fToolBarHelp->SetToolTipText(
"Help about the top level interface");
1138 h1->AddFrame(v12, layout4);
1157 gClient->GetColorByName(
"#FF0000", red);
1215 fApplyOnButton->SetToolTipText(
"Apply the selected style on the selected object");
1216 fPreviewButton->SetToolTipText(
"Show / Hide the preview window");
1217 fPreviewRealTime->SetToolTipText(
"Continuous / Asynchronous update of the preview");
1235 if (tmpStyle ==
style) styleID = i;
1237 tmpStyle = (
TStyle *) (
gROOT->GetListOfStyles()->After(tmpStyle));
1241 if (styleID == 0) styleID = i - 1;
1263 fStatusBar->SetText(
"User Style _ Not Saved", 1);
1279 Int_t oneYearInSecs;
1280 Int_t oneMonthInSecs;
1318 if (
fCurSelStyle->GetAttDate()->GetTextFont()%10 > 2) {
1426 if (year % 4) oneYearInSecs = 3600 * 24 * 365;
1427 else oneYearInSecs = 3600 * 24 * 366;
1428 delta += oneYearInSecs;
1430 oneYearInSecs = 3600 * 24 * 365;
1431 while (delta >= oneYearInSecs) {
1432 if (year % 4) oneYearInSecs = 3600 * 24 * 365;
1433 else oneYearInSecs = 3600 * 24 * 366;
1434 delta -= oneYearInSecs;
1437 oneMonthInSecs = 3600 * 24 * 31;
1438 while (delta >= oneMonthInSecs) {
1440 delta -= oneMonthInSecs;
1443 if (year % 4) oneMonthInSecs = 3600 * 24 * 28;
1444 else oneMonthInSecs = 3600 * 24 * 29;
1446 case 3:
case 5:
case 7:
case 8:
case 10:
case 12:
1447 oneMonthInSecs = 3600 * 24 * 31;
1450 oneMonthInSecs = 3600 * 24 * 30;
1453 day = (
Int_t) delta / (3600 * 24) + 1;
1454 delta = ((
Int_t) delta) % (3600 * 24);
1674 if ((((tmp/100) % 10) == 2) || (((tmp/1000) % 10) == 2) ||
1675 (((tmp/10000000) % 10) == 2) || (((tmp/100000000) % 10) == 2))
1685 if ((tmp2/10) % 10) {
1708 if ((papSizeX == 20) && (papSizeY == 26)) {
1713 }
else if ((papSizeX == 20) && (papSizeY == 24)) {
1733 Connect(
"CloseWindow()",
"TStyleManager",
this,
"CloseWindow()");
1734 fMenuStyle->Connect(
"Activated(Int_t)",
"TStyleManager",
this,
"DoMenu(Int_t)");
1735 fMenuHelp->Connect(
"Activated(Int_t)",
"TStyleManager",
this,
"DoMenu(Int_t)");
1742 fListComboBox->Connect(
"Selected(Int_t)",
"TStyleManager",
this,
"DoListSelect()");
1743 fPreviewButton->Connect(
"Toggled(Bool_t)",
"TStyleManager",
this,
"DoPreview(Bool_t)");
1744 fPreviewRealTime->Connect(
"Toggled(Bool_t)",
"TStyleManager",
this,
"DoRealTime(Bool_t)");
1745 fMakeDefault->Connect(
"Clicked()",
"TStyleManager",
this,
"DoMakeDefault()");
1746 fApplyOnGroup->Connect(
"Clicked(Int_t)",
"TStyleManager",
this,
"DoApplyOnSelect(Int_t)");
1747 fApplyOnButton->Connect(
"Clicked()",
"TStyleManager",
this,
"DoApplyOn()");
1748 fMoreLess->Connect(
"Clicked()",
"TStyleManager",
this,
"DoMoreLess()");
1752 fEditionReset->Connect(
"Clicked()",
"TStyleManager",
this,
"DoImportMacro(Int_t=kFALSE)");
1753 fEditionTab->Connect(
"Selected(Int_t)",
"TStyleManager",
this,
"DoChangeTab(Int_t)");
1754 fAxisTab->Connect(
"Selected(Int_t)",
"TStyleManager",
this,
"DoChangeAxisTab(Int_t)");
1757 TQObject::Connect(
"TCanvas",
"Selected(TVirtualPad *, TObject *, Int_t)",
"TStyleManager",
1758 this,
"DoSelectCanvas(TVirtualPad *, TObject *, Int_t)");
1759 TQObject::Connect(
"TCanvas",
"Closed()",
"TStyleManager",
this,
"DoSelectNoCanvas()");
1769 fMenuHelp->Disconnect(
"Activated(Int_t)");
1802 fFillColor->Connect(
"ColorSelected(Pixel_t)",
"TStyleManager",
this,
"ModFillColor()");
1803 fFillStyle->Connect(
"PatternSelected(Style_t)",
"TStyleManager",
this,
"ModFillStyle()");
1804 fHatchesLineWidth->Connect(
"Selected(Int_t)",
"TStyleManager",
this,
"ModHatchesLineWidth()");
1805 fHatchesSpacing->Connect(
"ValueSet(Long_t)",
"TStyleManager",
this,
"ModHatchesSpacing()");
1806 fMarkerColor->Connect(
"ColorSelected(Pixel_t)",
"TStyleManager",
this,
"ModMarkerColor()");
1807 fMarkerStyle->Connect(
"MarkerSelected(Style_t)",
"TStyleManager",
this,
"ModMarkerStyle()");
1808 fMarkerSize->Connect(
"Selected(Int_t)",
"TStyleManager",
this,
"ModMarkerSize()");
1809 fScreenFactor->Connect(
"ValueSet(Long_t)",
"TStyleManager",
this,
"ModScreenFactor()");
1810 fLineColor->Connect(
"ColorSelected(Pixel_t)",
"TStyleManager",
this,
"ModLineColor()");
1811 fLineWidth->Connect(
"Selected(Int_t)",
"TStyleManager",
this,
"ModLineWidth()");
1812 fLineStyle->Connect(
"Selected(Int_t)",
"TStyleManager",
this,
"ModLineStyle()");
1813 fLineStyleEdit->Connect(
"Clicked()",
"TStyleManager",
this,
"ModLineStyleEdit()");
1814 fTextColor->Connect(
"ColorSelected(Pixel_t)",
"TStyleManager",
this,
"ModTextColor()");
1815 fTextSize->Connect(
"ValueSet(Long_t)",
"TStyleManager",
this,
"ModTextSize()");
1816 fTextSizeInPixels->Connect(
"Toggled(Bool_t)",
"TStyleManager",
this,
"ModTextSizeInPixels(Bool_t)");
1817 fTextFont->Connect(
"Selected(Int_t)",
"TStyleManager",
this,
"ModTextFont()");
1818 fTextAlign->Connect(
"Selected(Int_t)",
"TStyleManager",
this,
"ModTextAlign()");
1819 fTextAngle->Connect(
"ValueSet(Long_t)",
"TStyleManager",
this,
"ModTextAngle()");
1822 fCanvasColor->Connect(
"ColorSelected(Pixel_t)",
"TStyleManager",
this,
"ModCanvasColor()");
1823 fCanvasDefX->Connect(
"ValueSet(Long_t)",
"TStyleManager",
this,
"ModCanvasDefX()");
1824 fCanvasDefY->Connect(
"ValueSet(Long_t)",
"TStyleManager",
this,
"ModCanvasDefY()");
1825 fCanvasDefW->Connect(
"ValueSet(Long_t)",
"TStyleManager",
this,
"ModCanvasDefW()");
1826 fCanvasDefH->Connect(
"ValueSet(Long_t)",
"TStyleManager",
this,
"ModCanvasDefH()");
1827 fCanvasBorderMode->Connect(
"Clicked(Int_t)",
"TStyleManager",
this,
"ModCanvasBorderMode()");
1828 fCanvasBorderSize->Connect(
"Selected(Int_t)",
"TStyleManager",
this,
"ModCanvasBorderSize()");
1829 fOptDateBool->Connect(
"Toggled(Bool_t)",
"TStyleManager",
this,
"ModOptDateBool()");
1830 fAttDateTextColor->Connect(
"ColorSelected(Pixel_t)",
"TStyleManager",
this,
"ModAttDateTextColor()");
1831 fAttDateTextSize->Connect(
"ValueSet(Long_t)",
"TStyleManager",
this,
"ModAttDateTextSize()");
1833 fOptDateFormat->Connect(
"Selected(Int_t)",
"TStyleManager",
this,
"ModOptDateFormat()");
1834 fAttDateTextFont->Connect(
"Selected(Int_t)",
"TStyleManager",
this,
"ModAttDateTextFont()");
1835 fAttDateTextAngle->Connect(
"ValueSet(Long_t)",
"TStyleManager",
this,
"ModAttDateTextAngle()");
1836 fAttDateTextAlign->Connect(
"Selected(Int_t)",
"TStyleManager",
this,
"ModAttDateTextAlign()");
1837 fDateX->Connect(
"ValueSet(Long_t)",
"TStyleManager",
this,
"ModDateX()");
1838 fDateY->Connect(
"ValueSet(Long_t)",
"TStyleManager",
this,
"ModDateY()");
1841 fPadTopMargin->Connect(
"ValueSet(Long_t)",
"TStyleManager",
this,
"ModPadTopMargin()");
1842 fPadBottomMargin->Connect(
"ValueSet(Long_t)",
"TStyleManager",
this,
"ModPadBottomMargin()");
1843 fPadLeftMargin->Connect(
"ValueSet(Long_t)",
"TStyleManager",
this,
"ModPadLeftMargin()");
1844 fPadRightMargin->Connect(
"ValueSet(Long_t)",
"TStyleManager",
this,
"ModPadRightMargin()");
1845 fPadBorderMode->Connect(
"Clicked(Int_t)",
"TStyleManager",
this,
"ModPadBorderMode()");
1846 fPadBorderSize->Connect(
"Selected(Int_t)",
"TStyleManager",
this,
"ModPadBorderSize()");
1847 fPadColor->Connect(
"ColorSelected(Pixel_t)",
"TStyleManager",
this,
"ModPadColor()");
1848 fPadTickX->Connect(
"Toggled(Bool_t)",
"TStyleManager",
this,
"ModPadTickX()");
1849 fPadTickY->Connect(
"Toggled(Bool_t)",
"TStyleManager",
this,
"ModPadTickY()");
1850 fPadGridX->Connect(
"Toggled(Bool_t)",
"TStyleManager",
this,
"ModPadGridX()");
1851 fPadGridY->Connect(
"Toggled(Bool_t)",
"TStyleManager",
this,
"ModPadGridY()");
1852 fGridColor->Connect(
"ColorSelected(Pixel_t)",
"TStyleManager",
this,
"ModGridColor()");
1853 fGridWidth->Connect(
"Selected(Int_t)",
"TStyleManager",
this,
"ModGridWidth()");
1854 fGridStyle->Connect(
"Selected(Int_t)",
"TStyleManager",
this,
"ModGridStyle()");
1857 fHistFillColor->Connect(
"ColorSelected(Pixel_t)",
"TStyleManager",
this,
"ModHistFillColor()");
1858 fHistFillStyle->Connect(
"PatternSelected(Style_t)",
"TStyleManager",
this,
"ModHistFillStyle()");
1859 fHistLineColor->Connect(
"ColorSelected(Pixel_t)",
"TStyleManager",
this,
"ModHistLineColor()");
1860 fHistLineWidth->Connect(
"Selected(Int_t)",
"TStyleManager",
this,
"ModHistLineWidth()");
1861 fHistLineStyle->Connect(
"Selected(Int_t)",
"TStyleManager",
this,
"ModHistLineStyle()");
1862 fBarWidth->Connect(
"ValueSet(Long_t)",
"TStyleManager",
this,
"ModBarWidth()");
1863 fBarOffset->Connect(
"ValueSet(Long_t)",
"TStyleManager",
this,
"ModBarOffset()");
1864 fHistMinimumZero->Connect(
"Toggled(Bool_t)",
"TStyleManager",
this,
"ModHistMinimumZero()");
1865 fPaintTextFormat->Connect(
"TextChanged(const char *)",
"TStyleManager",
this,
"ModPaintTextFormat()");
1866 fNumberContours->Connect(
"ValueSet(Long_t)",
"TStyleManager",
this,
"ModNumberContours()");
1867 fLegoInnerR->Connect(
"ValueSet(Long_t)",
"TStyleManager",
this,
"ModLegoInnerR()");
1868 fFrameFillColor->Connect(
"ColorSelected(Pixel_t)",
"TStyleManager",
this,
"ModFrameFillColor()");
1869 fFrameFillStyle->Connect(
"PatternSelected(Style_t)",
"TStyleManager",
this,
"ModFrameFillStyle()");
1870 fFrameLineColor->Connect(
"ColorSelected(Pixel_t)",
"TStyleManager",
this,
"ModFrameLineColor()");
1871 fFrameLineWidth->Connect(
"Selected(Int_t)",
"TStyleManager",
this,
"ModFrameLineWidth()");
1872 fFrameLineStyle->Connect(
"Selected(Int_t)",
"TStyleManager",
this,
"ModFrameLineStyle()");
1873 fPaletteEdit->Connect(
"Clicked()",
"TStyleManager",
this,
"ModPaletteEdit()");
1874 fFrameBorderMode->Connect(
"Clicked(Int_t)",
"TStyleManager",
this,
"ModFrameBorderMode()");
1875 fFrameBorderSize->Connect(
"Selected(Int_t)",
"TStyleManager",
this,
"ModFrameBorderSize()");
1876 fFuncColor->Connect(
"ColorSelected(Pixel_t)",
"TStyleManager",
this,
"ModFuncColor()");
1877 fFuncWidth->Connect(
"Selected(Int_t)",
"TStyleManager",
this,
"ModFuncWidth()");
1878 fFuncStyle->Connect(
"Selected(Int_t)",
"TStyleManager",
this,
"ModFuncStyle()");
1879 fDrawBorder->Connect(
"Toggled(Bool_t)",
"TStyleManager",
this,
"ModDrawBorder()");
1880 fEndErrorSize->Connect(
"ValueSet(Long_t)",
"TStyleManager",
this,
"ModEndErrorSize()");
1881 fErrorX->Connect(
"ValueSet(Long_t)",
"TStyleManager",
this,
"ModErrorX()");
1884 fTimeOffsetDate->Connect(
"ValueSet(Long_t)",
"TStyleManager",
this,
"ModTimeOffset()");
1885 fTimeOffsetTime->Connect(
"ValueSet(Long_t)",
"TStyleManager",
this,
"ModTimeOffset()");
1886 fStripDecimals->Connect(
"Toggled(Bool_t)",
"TStyleManager",
this,
"ModStripDecimals()");
1887 fApplyOnXYZ->Connect(
"Clicked()",
"TStyleManager",
this,
"ModApplyOnXYZ()");
1888 fXTitleSize->Connect(
"ValueSet(Long_t)",
"TStyleManager",
this,
"ModXTitleSize()");
1889 fXTitleSizeInPixels->Connect(
"Toggled(Bool_t)",
"TStyleManager",
this,
"ModXTitleSizeInPixels(Bool_t)");
1890 fXTitleColor->Connect(
"ColorSelected(Pixel_t)",
"TStyleManager",
this,
"ModXTitleColor()");
1891 fXTitleOffset->Connect(
"ValueSet(Long_t)",
"TStyleManager",
this,
"ModXTitleOffset()");
1892 fXTitleFont->Connect(
"Selected(Int_t)",
"TStyleManager",
this,
"ModXTitleFont()");
1893 fXLabelSize->Connect(
"ValueSet(Long_t)",
"TStyleManager",
this,
"ModXLabelSize()");
1894 fXLabelSizeInPixels->Connect(
"Toggled(Bool_t)",
"TStyleManager",
this,
"ModXLabelSizeInPixels(Bool_t)");
1895 fXLabelColor->Connect(
"ColorSelected(Pixel_t)",
"TStyleManager",
this,
"ModXLabelColor()");
1896 fXLabelOffset->Connect(
"ValueSet(Long_t)",
"TStyleManager",
this,
"ModXLabelOffset()");
1897 fXLabelFont->Connect(
"Selected(Int_t)",
"TStyleManager",
this,
"ModXLabelFont()");
1898 fXAxisColor->Connect(
"ColorSelected(Pixel_t)",
"TStyleManager",
this,
"ModXAxisColor()");
1899 fXTickLength->Connect(
"ValueSet(Long_t)",
"TStyleManager",
this,
"ModXTickLength()");
1900 fOptLogx->Connect(
"Toggled(Bool_t)",
"TStyleManager",
this,
"ModOptLogx()");
1901 fXNdivMain->Connect(
"ValueSet(Long_t)",
"TStyleManager",
this,
"ModXNdivisions()");
1902 fXNdivSub->Connect(
"ValueSet(Long_t)",
"TStyleManager",
this,
"ModXNdivisions()");
1903 fXNdivSubSub->Connect(
"ValueSet(Long_t)",
"TStyleManager",
this,
"ModXNdivisions()");
1905 fYTitleSize->Connect(
"ValueSet(Long_t)",
"TStyleManager",
this,
"ModYTitleSize()");
1906 fYTitleSizeInPixels->Connect(
"Toggled(Bool_t)",
"TStyleManager",
this,
"ModYTitleSizeInPixels(Bool_t)");
1907 fYTitleColor->Connect(
"ColorSelected(Pixel_t)",
"TStyleManager",
this,
"ModYTitleColor()");
1908 fYTitleOffset->Connect(
"ValueSet(Long_t)",
"TStyleManager",
this,
"ModYTitleOffset()");
1909 fYTitleFont->Connect(
"Selected(Int_t)",
"TStyleManager",
this,
"ModYTitleFont()");
1910 fYLabelSize->Connect(
"ValueSet(Long_t)",
"TStyleManager",
this,
"ModYLabelSize()");
1911 fYLabelSizeInPixels->Connect(
"Toggled(Bool_t)",
"TStyleManager",
this,
"ModYLabelSizeInPixels(Bool_t)");
1912 fYLabelColor->Connect(
"ColorSelected(Pixel_t)",
"TStyleManager",
this,
"ModYLabelColor()");
1913 fYLabelOffset->Connect(
"ValueSet(Long_t)",
"TStyleManager",
this,
"ModYLabelOffset()");
1914 fYLabelFont->Connect(
"Selected(Int_t)",
"TStyleManager",
this,
"ModYLabelFont()");
1915 fYAxisColor->Connect(
"ColorSelected(Pixel_t)",
"TStyleManager",
this,
"ModYAxisColor()");
1916 fYTickLength->Connect(
"ValueSet(Long_t)",
"TStyleManager",
this,
"ModYTickLength()");
1917 fOptLogy->Connect(
"Toggled(Bool_t)",
"TStyleManager",
this,
"ModOptLogy()");
1918 fYNdivMain->Connect(
"ValueSet(Long_t)",
"TStyleManager",
this,
"ModYNdivisions()");
1919 fYNdivSub->Connect(
"ValueSet(Long_t)",
"TStyleManager",
this,
"ModYNdivisions()");
1920 fYNdivSubSub->Connect(
"ValueSet(Long_t)",
"TStyleManager",
this,
"ModYNdivisions()");
1922 fZTitleSize->Connect(
"ValueSet(Long_t)",
"TStyleManager",
this,
"ModZTitleSize()");
1923 fZTitleSizeInPixels->Connect(
"Toggled(Bool_t)",
"TStyleManager",
this,
"ModZTitleSizeInPixels(Bool_t)");
1924 fZTitleColor->Connect(
"ColorSelected(Pixel_t)",
"TStyleManager",
this,
"ModZTitleColor()");
1925 fZTitleOffset->Connect(
"ValueSet(Long_t)",
"TStyleManager",
this,
"ModZTitleOffset()");
1926 fZTitleFont->Connect(
"Selected(Int_t)",
"TStyleManager",
this,
"ModZTitleFont()");
1927 fZLabelSize->Connect(
"ValueSet(Long_t)",
"TStyleManager",
this,
"ModZLabelSize()");
1928 fZLabelSizeInPixels->Connect(
"Toggled(Bool_t)",
"TStyleManager",
this,
"ModZLabelSizeInPixels(Bool_t)");
1929 fZLabelColor->Connect(
"ColorSelected(Pixel_t)",
"TStyleManager",
this,
"ModZLabelColor()");
1930 fZLabelOffset->Connect(
"ValueSet(Long_t)",
"TStyleManager",
this,
"ModZLabelOffset()");
1931 fZLabelFont->Connect(
"Selected(Int_t)",
"TStyleManager",
this,
"ModZLabelFont()");
1932 fZAxisColor->Connect(
"ColorSelected(Pixel_t)",
"TStyleManager",
this,
"ModZAxisColor()");
1933 fZTickLength->Connect(
"ValueSet(Long_t)",
"TStyleManager",
this,
"ModZTickLength()");
1934 fOptLogz->Connect(
"Toggled(Bool_t)",
"TStyleManager",
this,
"ModOptLogz()");
1935 fZNdivMain->Connect(
"ValueSet(Long_t)",
"TStyleManager",
this,
"ModZNdivisions()");
1936 fZNdivSub->Connect(
"ValueSet(Long_t)",
"TStyleManager",
this,
"ModZNdivisions()");
1937 fZNdivSubSub->Connect(
"ValueSet(Long_t)",
"TStyleManager",
this,
"ModZNdivisions()");
1941 fOptTitle->Connect(
"Toggled(Bool_t)",
"TStyleManager",
this,
"ModOptTitle()");
1942 fTitleColor->Connect(
"ColorSelected(Pixel_t)",
"TStyleManager",
this,
"ModTitleFillColor()");
1943 fTitleStyle->Connect(
"PatternSelected(Style_t)",
"TStyleManager",
this,
"ModTitleStyle()");
1944 fTitleTextColor->Connect(
"ColorSelected(Pixel_t)",
"TStyleManager",
this,
"ModTitleTextColor()");
1945 fTitleFontSize->Connect(
"ValueSet(Long_t)",
"TStyleManager",
this,
"ModTitleFontSize()");
1946 fTitleFontSizeInPixels->Connect(
"Toggled(Bool_t)",
"TStyleManager",
this,
"ModTitleFontSizeInPixels(Bool_t)");
1947 fTitleFont->Connect(
"Selected(Int_t)",
"TStyleManager",
this,
"ModTitleFont()");
1948 fTitleAlign->Connect(
"Selected(Int_t)",
"TStyleManager",
this,
"ModTitleAlign()");
1949 fTitleBorderSize->Connect(
"Selected(Int_t)",
"TStyleManager",
this,
"ModTitleBorderSize()");
1950 fTitleX->Connect(
"ValueSet(Long_t)",
"TStyleManager",
this,
"ModTitleX()");
1951 fTitleY->Connect(
"ValueSet(Long_t)",
"TStyleManager",
this,
"ModTitleY()");
1952 fTitleW->Connect(
"ValueSet(Long_t)",
"TStyleManager",
this,
"ModTitleW()");
1953 fTitleH->Connect(
"ValueSet(Long_t)",
"TStyleManager",
this,
"ModTitleH()");
1954 fLegendBorderSize->Connect(
"Selected(Int_t)",
"TStyleManager",
this,
"ModLegendBorderSize()");
1957 fStatColor->Connect(
"ColorSelected(Pixel_t)",
"TStyleManager",
this,
"ModStatColor(Pixel_t)");
1958 fStatStyle->Connect(
"PatternSelected(Style_t)",
"TStyleManager",
this,
"ModStatStyle(Style_t)");
1959 fStatTextColor->Connect(
"ColorSelected(Pixel_t)",
"TStyleManager",
this,
"ModStatTextColor(Pixel_t)");
1960 fStatFontSize->Connect(
"ValueSet(Long_t)",
"TStyleManager",
this,
"ModStatFontSize()");
1961 fStatFontSizeInPixels->Connect(
"Toggled(Bool_t)",
"TStyleManager",
this,
"ModStatFontSizeInPixels(Bool_t)");
1962 fStatFont->Connect(
"Selected(Int_t)",
"TStyleManager",
this,
"ModStatFont()");
1963 fStatX->Connect(
"ValueSet(Long_t)",
"TStyleManager",
this,
"ModStatX()");
1964 fStatY->Connect(
"ValueSet(Long_t)",
"TStyleManager",
this,
"ModStatY()");
1965 fStatW->Connect(
"ValueSet(Long_t)",
"TStyleManager",
this,
"ModStatW()");
1966 fStatH->Connect(
"ValueSet(Long_t)",
"TStyleManager",
this,
"ModStatH()");
1967 fStatBorderSize->Connect(
"Selected(Int_t)",
"TStyleManager",
this,
"ModStatBorderSize()");
1968 fOptStatName->Connect(
"Toggled(Bool_t)",
"TStyleManager",
this,
"ModOptStat()");
1969 fOptStatEntries->Connect(
"Toggled(Bool_t)",
"TStyleManager",
this,
"ModOptStat()");
1970 fOptStatOverflow->Connect(
"Toggled(Bool_t)",
"TStyleManager",
this,
"ModOptStat()");
1971 fOptStatMean->Connect(
"Toggled(Bool_t)",
"TStyleManager",
this,
"ModOptStat()");
1972 fOptStatUnderflow->Connect(
"Toggled(Bool_t)",
"TStyleManager",
this,
"ModOptStat()");
1973 fOptStatRMS->Connect(
"Toggled(Bool_t)",
"TStyleManager",
this,
"ModOptStat()");
1974 fOptStatSkewness->Connect(
"Toggled(Bool_t)",
"TStyleManager",
this,
"ModOptStat()");
1975 fOptStatIntegral->Connect(
"Toggled(Bool_t)",
"TStyleManager",
this,
"ModOptStat()");
1976 fOptStatKurtosis->Connect(
"Toggled(Bool_t)",
"TStyleManager",
this,
"ModOptStat()");
1977 fOptStatErrors->Connect(
"Toggled(Bool_t)",
"TStyleManager",
this,
"ModOptStat()");
1978 fStatFormat->Connect(
"TextChanged(const char *)",
"TStyleManager",
this,
"ModStatFormat(const char *)");
1979 fOptFitValues->Connect(
"Toggled(Bool_t)",
"TStyleManager",
this,
"ModOptFit()");
1980 fOptFitErrors->Connect(
"Toggled(Bool_t)",
"TStyleManager",
this,
"ModOptFit()");
1981 fOptFitProbability->Connect(
"Toggled(Bool_t)",
"TStyleManager",
this,
"ModOptFit()");
1982 fOptFitChi->Connect(
"Toggled(Bool_t)",
"TStyleManager",
this,
"ModOptFit()");
1983 fFitFormat->Connect(
"TextChanged(const char *)",
"TStyleManager",
this,
"ModFitFormat(const char *)");
1986 fHeaderPS->Connect(
"TextChanged(const char *)",
"TStyleManager",
this,
"ModHeaderPS()");
1987 fTitlePS->Connect(
"TextChanged(const char *)",
"TStyleManager",
this,
"ModTitlePS()");
1988 fColorModelPS->Connect(
"Clicked(Int_t)",
"TStyleManager",
this,
"ModColorModelPS()");
1989 fLineScalePS->Connect(
"ValueSet(Long_t)",
"TStyleManager",
this,
"ModLineScalePS()");
1990 fPaperSizePredef->Connect(
"Selected(Int_t)",
"TStyleManager",
this,
"ModPaperSizePredef()");
1991 fPaperSizeX->Connect(
"ValueSet(Long_t)",
"TStyleManager",
this,
"ModPaperSizeXY()");
1992 fPaperSizeY->Connect(
"ValueSet(Long_t)",
"TStyleManager",
this,
"ModPaperSizeXY()");
2008 fFillColor->Disconnect(
"ColorSelected(Pixel_t)");
2009 fFillStyle->Disconnect(
"PatternSelected(Style_t)");
2016 fLineColor->Disconnect(
"ColorSelected(Pixel_t)");
2020 fTextColor->Disconnect(
"ColorSelected(Pixel_t)");
2021 fTextSize->Disconnect(
"ValueSet(Long_t)");
2022 fTextFont->Disconnect(
"Selected(Int_t)");
2041 fDateX->Disconnect(
"ValueSet(Long_t)");
2042 fDateY->Disconnect(
"ValueSet(Long_t)");
2051 fPadColor->Disconnect(
"ColorSelected(Pixel_t)");
2052 fPadTickX->Disconnect(
"Toggled(Bool_t)");
2053 fPadTickY->Disconnect(
"Toggled(Bool_t)");
2054 fPadGridX->Disconnect(
"Toggled(Bool_t)");
2055 fPadGridY->Disconnect(
"Toggled(Bool_t)");
2056 fGridColor->Disconnect(
"ColorSelected(Pixel_t)");
2066 fBarWidth->Disconnect(
"ValueSet(Long_t)");
2080 fFuncColor->Disconnect(
"ColorSelected(Pixel_t)");
2085 fErrorX->Disconnect(
"ValueSet(Long_t)");
2100 fXAxisColor->Disconnect(
"ColorSelected(Pixel_t)");
2102 fOptLogx->Disconnect(
"Toggled(Bool_t)");
2104 fXNdivSub->Disconnect(
"ValueSet(Long_t)");
2115 fYAxisColor->Disconnect(
"ColorSelected(Pixel_t)");
2117 fOptLogy->Disconnect(
"Toggled(Bool_t)");
2119 fYNdivSub->Disconnect(
"ValueSet(Long_t)");
2130 fZAxisColor->Disconnect(
"ColorSelected(Pixel_t)");
2132 fOptLogz->Disconnect(
"Toggled(Bool_t)");
2134 fZNdivSub->Disconnect(
"ValueSet(Long_t)");
2139 fOptTitle->Disconnect(
"Toggled(Bool_t)");
2140 fTitleColor->Disconnect(
"ColorSelected(Pixel_t)");
2141 fTitleStyle->Disconnect(
"PatternSelected(Style_t)");
2147 fTitleX->Disconnect(
"ValueSet(Long_t)");
2148 fTitleY->Disconnect(
"ValueSet(Long_t)");
2149 fTitleW->Disconnect(
"ValueSet(Long_t)");
2150 fTitleH->Disconnect(
"ValueSet(Long_t)");
2154 fStatColor->Disconnect(
"ColorSelected(Pixel_t)");
2155 fStatStyle->Disconnect(
"PatternSelected(Style_t)");
2158 fStatFont->Disconnect(
"Selected(Int_t)");
2159 fStatX->Disconnect(
"ValueSet(Long_t)");
2160 fStatY->Disconnect(
"ValueSet(Long_t)");
2161 fStatW->Disconnect(
"ValueSet(Long_t)");
2162 fStatH->Disconnect(
"ValueSet(Long_t)");
2174 fStatFormat->Disconnect(
"TextChanged(const char *)");
2179 fFitFormat->Disconnect(
"TextChanged(const char *)");
2182 fHeaderPS->Disconnect(
"TextChanged(const char *)");
2183 fTitlePS->Disconnect(
"TextChanged(const char *)");
2250 fEditionHelp->SetToolTipText(
"Help about the current tab");
2281 v->AddFrame(h3, layout);
2285 fScreenFactor->GetNumberEntry()->SetToolTipText(
"Coefficient for different screen's resolutions");
2317 fHatchesSpacing->GetNumberEntry()->SetToolTipText(
"Spacing between the hatching's lines");
2370 fTextSizeInPixels->SetToolTipText(
"Set the text size in pixels if selected, otherwise - in % of pad.");
2371 fTextSize->GetNumberEntry()->SetToolTipText(
"General text size (in pixels or in % of pad)");
2372 fTextAngle->GetNumberEntry()->SetToolTipText(
"General text angle");
2464 fCanvasDefX->GetNumberEntry()->SetToolTipText(
"Canvases' default abscissa");
2465 fCanvasDefY->GetNumberEntry()->SetToolTipText(
"Canvases' default ordinate");
2466 fCanvasDefW->GetNumberEntry()->SetToolTipText(
"Canvases' default width");
2467 fCanvasDefH->GetNumberEntry()->SetToolTipText(
"Canvases' default height");
2523 fOptDateBool->SetToolTipText(
"Show / Hide the date in canvases");
2527 fAttDateTextSize->GetNumberEntry()->SetToolTipText(
"Date text size (in pixels or in % of pad)");
2529 fDateX->GetNumberEntry()->SetToolTipText(
"Date abscissa in percent of pad");
2530 fDateY->GetNumberEntry()->SetToolTipText(
"Date ordinate in percent of pad");
2585 fPadLeftMargin->GetNumberEntry()->SetToolTipText(
"Pads' left margin");
2586 fPadRightMargin->GetNumberEntry()->SetToolTipText(
"Pads' right margin");
2587 fPadTopMargin->GetNumberEntry()->SetToolTipText(
"Pads' top margin");
2637 fPadTickX->SetToolTipText(
"Show / Hide the ticks along X");
2638 fPadTickY->SetToolTipText(
"Show / Hide the ticks along Y");
2669 fPadGridX->SetToolTipText(
"Show / Hide the grid along X");
2670 fPadGridY->SetToolTipText(
"Show / Hide the grid along Y");
2768 fBarWidth->GetNumberEntry()->SetToolTipText(
"Width of bars");
2769 fBarOffset->GetNumberEntry()->SetToolTipText(
"Offset of bars");
2785 fNumberContours->GetNumberEntry()->SetToolTipText(
"Number of level lines to draw");
2799 fHistMinimumZero->SetToolTipText(
"Set to zero / Compute the minimum of axis range");
2800 fPaintTextFormat->SetToolTipText(
"Paint format of the axis labels in histograms");
2816 fLegoInnerR->GetNumberEntry()->SetToolTipText(
"Percent of radius allocated to the tube");
2843 v2->AddFrame(h2, layout);
2939 f->AddFrame(
h, layout);
2941 fDrawBorder->SetToolTipText(
"Show / Hide the border of filled functions");
2961 fEndErrorSize->GetNumberEntry()->SetToolTipText(
"Size of lines drawn at the end of error bars");
2962 fErrorX->GetNumberEntry()->SetToolTipText(
"Percent of the bin width to use for errors along X");
2984 h->AddFrame(h3, layout);
3009 fStripDecimals->SetToolTipText(
"Draw / Hide the decimal part of labels");
3010 fApplyOnXYZ->SetToolTipText(
"Apply settings of the currently selected axis on XYZ");
3011 fTimeOffsetDate->GetNumberEntry()->SetToolTipText(
"Date offset for axis (dd/mm/yyyy)");
3012 fTimeOffsetTime->GetNumberEntry()->SetToolTipText(
"Time offset for axis (hh/mm/ss)");
3052 h->AddFrame(h2, layout);
3059 fXTickLength->GetNumberEntry()->SetToolTipText(
"Set the ticks' length");
3060 fOptLogx->SetToolTipText(
"Draw logarithmic scale");
3091 fXTitleSizeInPixels->SetToolTipText(
"Set the title size in pixels if selected, otherwise - in % of pad");
3092 fXTitleSize->GetNumberEntry()->SetToolTipText(
"Title size (in pixels or in % of pad)");
3093 fXTitleOffset->GetNumberEntry()->SetToolTipText(
"Offset between axis and title");
3126 fXNdivMain->GetNumberEntry()->SetToolTipText(
"Primary axis divisions");
3127 fXNdivSub->GetNumberEntry()->SetToolTipText(
"Secondary axis divisions");
3128 fXNdivSubSub->GetNumberEntry()->SetToolTipText(
"Tertiary axis divisions");
3160 fXLabelSizeInPixels->SetToolTipText(
"Set the labels size in pixels if selected, otherwise - in % of pad");
3161 fXLabelSize->GetNumberEntry()->SetToolTipText(
"Label size (in pixels or in % of pad)");
3162 fXLabelOffset->GetNumberEntry()->SetToolTipText(
"Offset between axis and labels");
3202 h->AddFrame(h2, layout);
3209 fYTickLength->GetNumberEntry()->SetToolTipText(
"Set the ticks' length");
3210 fOptLogy->SetToolTipText(
"Draw logarithmic scale");
3241 fYTitleSizeInPixels->SetToolTipText(
"Set the title size in pixels if selected, otherwise - in % of pad");
3242 fYTitleSize->GetNumberEntry()->SetToolTipText(
"Title size (in pixels or in % of pad)");
3243 fYTitleOffset->GetNumberEntry()->SetToolTipText(
"Offset between axis and title");
3275 fYNdivMain->GetNumberEntry()->SetToolTipText(
"Primary axis divisions");
3276 fYNdivSub->GetNumberEntry()->SetToolTipText(
"Secondary axis divisions");
3277 fYNdivSubSub->GetNumberEntry()->SetToolTipText(
"Tertiary axis divisions");
3310 fYLabelSizeInPixels->SetToolTipText(
"Set the labels size in pixels if selected, otherwise - in % of pad");
3311 fYLabelSize->GetNumberEntry()->SetToolTipText(
"Label size (in pixels or in % of pad)");
3312 fYLabelOffset->GetNumberEntry()->SetToolTipText(
"Offset between axis and labels");
3352 h->AddFrame(h2, layout);
3359 fZTickLength->GetNumberEntry()->SetToolTipText(
"Set the ticks' length");
3360 fOptLogz->SetToolTipText(
"Draw logarithmic scale");
3392 fZTitleSizeInPixels->SetToolTipText(
"Set the title size in pixels if selected, otherwise - in % of pad");
3393 fZTitleSize->GetNumberEntry()->SetToolTipText(
"Title size (in pixels or in % of pad)");
3394 fZTitleOffset->GetNumberEntry()->SetToolTipText(
"Offset between axis and title");
3426 fZNdivMain->GetNumberEntry()->SetToolTipText(
"Primary axis divisions");
3427 fZNdivSub->GetNumberEntry()->SetToolTipText(
"Secondary axis divisions");
3428 fZNdivSubSub->GetNumberEntry()->SetToolTipText(
"Tertiary axis divisions");
3461 fZLabelSizeInPixels->SetToolTipText(
"Set the labels size in pixels if selected, otherwise - in % of pad");
3462 fZLabelSize->GetNumberEntry()->SetToolTipText(
"Label size (in pixels or in % of pad)");
3463 fZLabelOffset->GetNumberEntry()->SetToolTipText(
"Offset between axis and labels");
3493 fOptTitle->SetToolTipText(
"Show / Hide the title pave");
3570 fTitleFontSizeInPixels->SetToolTipText(
"Set the title's text size in pixels if selected, otherwise - in % of pad");
3571 fTitleFontSize->GetNumberEntry()->SetToolTipText(
"Title's text size (in pixels or in % of pad)");
3605 fTitleX->GetNumberEntry()->SetToolTipText(
"Title' default abscissa");
3606 fTitleY->GetNumberEntry()->SetToolTipText(
"Title' default ordinate");
3607 fTitleW->GetNumberEntry()->SetToolTipText(
"Title' default width");
3608 fTitleH->GetNumberEntry()->SetToolTipText(
"Title' default height");
3632 v1->AddFrame(h2, layout2);
3689 fStatFontSizeInPixels->SetToolTipText(
"Set the stats's text size in pixels if selected, otherwise - in % of pad");
3690 fStatFontSize->GetNumberEntry()->SetToolTipText(
"Stats's text size (in pixels or in % of pad)");
3726 fStatX->GetNumberEntry()->SetToolTipText(
"X position of top right corner of stat box.");
3727 fStatY->GetNumberEntry()->SetToolTipText(
"Y position of top right corner of stat box.");
3728 fStatW->GetNumberEntry()->SetToolTipText(
"Width of stat box.");
3729 fStatH->GetNumberEntry()->SetToolTipText(
"Height of stat box.");
3773 fOptStatName->SetToolTipText(
"Show / Hide the histogram name");
3779 fOptStatMean->SetToolTipText(
"Show / Hide the mean value");
3780 fOptStatRMS->SetToolTipText(
"Show / Hide root-mean-square (RMS)");
3783 fStatFormat->SetToolTipText(
"Paint format of stat options");
3821 fOptFitValues->SetToolTipText(
"Show / Hide the parameter name and value");
3824 fOptFitChi->SetToolTipText(
"Show / Hide Chisquare");
3825 fFitFormat->SetToolTipText(
"Paint format of fit options");
3856 fHeaderPS->SetToolTipText(
"PostScript header");
3869 fTitlePS->SetToolTipText(
"PostScript title");
3912 fPaperSizeX->GetNumberEntry()->SetToolTipText(
"Width of the printing area");
3913 fPaperSizeY->GetNumberEntry()->SetToolTipText(
"Height of the printing area");
3930 f->AddFrame(gf, layout);
3932 fLineScalePS->GetNumberEntry()->SetToolTipText(
"Line scale factor when drawing lines on PostScript");
3954 h->AddFrame(
line, layout1);
3956 f->AddFrame(
h, layout2);
3969 f->AddFrame(cs, layout);
3984 f->AddFrame(gps, layout);
3999 f->AddFrame(gms, layout);
4011 for (
Int_t i = 1; i <= 15; i++) {
4035 h->AddFrame(lab, layout);
4038 nfS, nfA, nfL, min, max);
4040 if ((e1 == 0) && (e2 == 0) && (e3 == 0)) {
4043 h->AddFrame(ne, layout1);
4047 h->AddFrame(ne, layout2);
4053 f->AddFrame(
h, layout3);
4058 f->AddFrame(
h, layout4);
4078 f->AddFrame(
h, layout);
4099 const char *s,
Int_t id)
4106 f->AddFrame(tb, layout);
4130 cb->
AddEntry(
"11 Bottom, Left", 11);
4131 cb->
AddEntry(
"21 Bottom, Middle", 21);
4132 cb->
AddEntry(
"31 Bottom, Right", 31);
4133 cb->
AddEntry(
"12 Middle, Left", 12);
4134 cb->
AddEntry(
"22 Middle, Middle", 22);
4135 cb->
AddEntry(
"32 Middle, Right", 32);
4137 cb->
AddEntry(
"23 Top, Middle", 23);
4172 cb->
AddEntry(
"Wed Sep 25 17:10:35 2002", 1);
4174 cb->
AddEntry(
"2002-09-25 17:10:35", 3);
4194 h->AddFrame(cb, layout);
4203 const char *s,
Int_t id)
4212 h->AddFrame(lab, layout1);
4220 h->AddFrame(te, layout2);
4226 f->AddFrame(
h, layout3);
4237 cb->
AddEntry(
"Custom size (cm)", 1);
4238 cb->
AddEntry(
"Custom size (inch)", 2);
4240 cb->
AddEntry(
"US Letter (inch)", 4);
4286 if ((!create) && (!strcmp(
fCurSelStyle->GetName(),
"Default"))) {
4288 gStyle->Reset(
"Default");
4290 delete gROOT->GetStyle(
"Default");
4291 new TStyle(
"Default",
"Default Style");
4293 }
else if ((!create) && (!strcmp(
fCurSelStyle->GetName(),
"Plain"))) {
4297 delete gROOT->GetStyle(
"Plain");
4298 new TStyle(
"Plain",
"Plain Style (no colors/fill areas)");
4300 }
else if ((!create) && (!strcmp(
fCurSelStyle->GetName(),
"Bold"))) {
4304 delete gROOT->GetStyle(
"Bold");
4305 new TStyle(
"Bold",
"Bold Style");
4307 }
else if ((!create) && (!strcmp(
fCurSelStyle->GetName(),
"Video"))) {
4311 delete gROOT->GetStyle(
"Video");
4312 new TStyle(
"Video",
"Style for video presentation histograms");
4314 }
else if ((!create) && (!strcmp(
fCurSelStyle->GetName(),
"Pub"))) {
4318 delete gROOT->GetStyle(
"Pub");
4319 new TStyle(
"Pub",
"Style for Publications");
4347 GetSelectedEntry())->GetText()->GetString());
4368 newTip +=
" become current style";
4407 TQObject::Connect(
"TCanvas",
"Closed()",
"TStyleManager",
this,
"DoSelectNoCanvas()");
4411 fPreviewWindow->Connect(
"CloseWindow()",
"TStyleManager",
this,
"DoPreviewClosed()");
4473 tmpCanvas = (
TCanvas *) (
gROOT->GetListOfCanvases()->After(tmpCanvas));
4486 tmpCanvas = (
TCanvas *) (
gROOT->GetListOfCanvases()->After(tmpCanvas));
4513 fMoreLess->SetToolTipText(
"Close the editor");
4522 fMoreLess->SetToolTipText(
"Open the editor");
4536 TQObject::Connect(
"TCanvas",
"Closed()",
"TStyleManager",
this,
"DoSelectNoCanvas()");
4614 sPad.
Append(
"[no name]");
4619 sPad.
Append(
"[no title]");
4624 if (strlen(
fCurObj->GetName()))
4627 sObj.
Append(
"[no name]");
5392 offset += 3600 * 24;
5395 Int_t oneMonthInSecs;
5400 if (year % 4) oneMonthInSecs = 3600 * 24 * 28;
5401 else oneMonthInSecs = 3600 * 24 * 29;
5403 case 1:
case 3:
case 5:
case 7:
case 8:
case 10:
case 12:
5404 oneMonthInSecs = 3600 * 24 * 31;
5407 oneMonthInSecs = 3600 * 24 * 30;
5409 offset += oneMonthInSecs;
5412 Int_t oneYearInSecs;
5413 while (year < 1995) {
5414 if (year % 4) oneYearInSecs = 3600 * 24 * 365;
5415 else oneYearInSecs = 3600 * 24 * 366;
5416 offset -= oneYearInSecs;
5419 while (year > 1995) {
5421 if (year % 4) oneYearInSecs = 3600 * 24 * 365;
5422 else oneYearInSecs = 3600 * 24 * 366;
5423 offset += oneYearInSecs;
6294 if (stat == 1) stat = 1000000001;
6318 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[]
int Int_t
Signed integer 4 bytes (int).
unsigned int UInt_t
Unsigned integer 4 bytes (unsigned int).
bool Bool_t
Boolean (0=false, 1=true) (bool).
double Double_t
Double 8 bytes.
short Style_t
Style number (short).
float Float_t
Float 4 bytes (float).
char * Form(const char *fmt,...)
Formats a string in a circular formatting buffer.
@ kCanvasAttDateTextAngle
@ kAxisYNdivisionsOptimize
@ kAxisZNdivisionsOptimize
@ kAxisXNdivisionsOptimize
@ kAxisZLabelSizeInPixels
@ kCanvasAttDateTextAlign
@ kCanvasBorderModeRaised
@ kAxisXTitleSizeInPixels
@ kAxisZTitleSizeInPixels
@ kCanvasAttDateTextColor
@ kCanvasBorderModeSunken
@ kAxisYLabelSizeInPixels
@ kAxisYTitleSizeInPixels
@ kGeneralHatchesLineWidth
@ kCanvasAttDateTextSizeInPixels
@ kAxisXLabelSizeInPixels
@ kGeneralTextSizeInPixels
const char * kFiletypes[]
void UseCurrentStyle() override
Force a copy of current style for all objects in canvas.
void Update() override
Update canvas pad buffers.
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.
A combobox (also known as a drop down listbox) allows the selection of one item out of a list of item...
virtual void AddEntry(TGString *s, Int_t id)
virtual TGListBox * GetListBox() const
TGDimension GetDefaultSize() const override
std::cout << fWidth << "x" << fHeight << std::endl;
virtual void AddFrame(TGFrame *f, TGLayoutHints *l=nullptr)
Add frame to the composite frame using the specified layout hints.
void MapSubwindows() override
Map all sub windows that are part of the composite frame.
TGCompositeFrame(const TGCompositeFrame &)=delete
virtual void ShowFrame(TGFrame *f)
Show sub frame.
void SetCleanup(Int_t mode=kLocalCleanup) override
Turn on automatic cleanup of child frames in dtor.
virtual void HideFrame(TGFrame *f)
Hide sub frame.
This class creates a file selection dialog.
The TGFontTypeComboBox is user callable and it creates a combobox for selecting the font.
void MoveResize(Int_t x, Int_t y, UInt_t w=0, UInt_t h=0) override
Move and/or resize the frame.
void Resize(UInt_t w=0, UInt_t h=0) override
Resize the frame.
void MapWindow() override
map window
A composite frame with a border and a title.
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.
TGDimension GetDefaultSize() const override
Return default size of listbox widget.
void Resize(UInt_t w, UInt_t h) override
Resize the listbox widget.
TGMainFrame(const TGMainFrame &)=delete
void SetWindowName(const char *name=nullptr) override
Set window name. This is typically done via the window manager.
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.
This layout managers does not make use of TGLayoutHints.
TGNumberEntry is a number entry input widget with up/down buttons.
void Associate(const TGWindow *w) override
Make w the window that will receive the generated messages.
Provides a StatusBar widget.
A tab widget contains a set of composite frames each with a little tab with a name (like a set of fol...
Yield an action as soon as it is clicked.
A TGTextEntry is a one line text input widget.
Text string listbox entries.
A composite frame that layout their children in vertical way.
ROOT GUI Window base class.
virtual const TGWindow * GetMainFrame() const
Returns top level main frame.
const TGWindow * GetParent() const
The TGedMarkerSelect widget is a button showing selected marker and a little down arrow.
is a button with pattern area with a little down arrow.
const char * GetName() const override
Returns name of object.
Mother of all ROOT objects.
void Modified(Bool_t flag=true) override
Mark pad modified Will be repainted when TCanvas::Update() will be called next time.
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=nullptr, void *receiver=nullptr, const char *slot=nullptr)
Disconnects signal of this object from slot of receiver.
A TRootHelpDialog is used to display help text (or any text in a dialog window).
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.
This small class is useful to ask the user for a name and a title, in order to rename a style,...
This class provides a Graphical User Interface to manage styles in ROOT.
TGPictureButton * fToolBarHelp
tool bar 'Help' button
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
histograms fill pattern selection widget
void ModTitleBorderSize()
Slot called whenever the title border size is modified by the user.
const TGPicture * fToolBarHelpPic
tool bar 'Help' picture
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
Y axis tick length number entry.
void ModPadTickX()
Slot called whenever the pad tick X boolean is modified by the user.
TGCheckButton * fXLabelSizeInPixels
X axis label size check box.
TGCheckButton * fHistMinimumZero
histograms minimum zero check box
TGNumberEntry * fStatH
stats height number entry
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
help button
TGTextButton * fApplyOnButton
apply style on object(s)
TGLineWidthComboBox * fLineWidth
general line width combo box
TGNumberEntry * fZLabelOffset
Z axis label offset number entry.
void ModZNdivisions()
Slot called whenever the Z axis Number of divisions is modified by the user.
TGLineStyleComboBox * fFrameLineStyle
frame line style combo box
void ModYAxisColor()
Slot called whenever the Y axis color is modified by the user.
TGFontTypeComboBox * fXLabelFont
X axis label font combo box.
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
canvas height number entry
TGComboBox * fAttDateTextAlign
canvas date align combo box
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
histograms bar width number entry
Bool_t fAllAndNotCurrent
kTRUE when apply on 'All canvases'
TGNumberEntry * fXTitleOffset
X axis title offset number entry.
void ConnectEditor(Int_t tabNum)
Connect every widget entry of the editor to its specific slot.
TStyle * fCurSelStyle
current selected style
void ModDateX()
Slot called whenever the date abscissa is modified by the user.
TGCheckButton * fPadTickY
pad ticks along Y show/hide check box
void AddPadGrid(TGCompositeFrame *f)
Add the 'Grid' group frame to the 'Pad' tab.
TGPictureButton * fToolBarImportCanvas
tool bar 'Import from canvas' button
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.
TGTab * fAxisTab
axis' tabs
TGNumberEntry * fTitleFontSize
title font size number entry
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
frame border size combo box
TGNumberEntry * fScreenFactor
general screen factor number entry
TGCheckButton * fXNdivisionsOptimize
X axis division optimization check box.
TGColorSelect * fPadColor
pad fill color selection widget
void DoImportCanvas()
Create a new style (a copy of gStyle) and import the properties of the current canvas inside.
static TStyleManager * fgStyleManager
singleton style manager
TGNumberEntry * fYNdivSub
Y axis secondary division number entry.
TGNumberEntry * fEndErrorSize
end error size number entry
void ModOptLogz()
Slot called whenever the Z axis log scale boolean is modified by the user.
TGNumberEntry * fCanvasDefW
canvas width number entry
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
button picture
void AddAxisYDivisions(TGCompositeFrame *f)
Add the 'Divisions' group frame to the 'Axis - Y Axis' tab.
TGLineStyleComboBox * fHistLineStyle
histograms line style combo box
Bool_t fPaperSizeEnCm
kTRUE if the paper size is in cm
void DisconnectEditor(Int_t tabNum)
Disconnect every widget entry of the editor from its slot.
TGLineWidthComboBox * fTitleBorderSize
title border size combo box
TGCheckButton * fOptDateBool
canvas date show/hide check box
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
Y axis title font combo box.
void ModFuncWidth()
Slot called whenever the function line width is modified by the user.
TGMenuBar * fMenuBar
the main window menu bar
TGedPatternSelect * fFrameFillStyle
frame fill pattern selection widget
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
reset button
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
label 'Title's'
TGRadioButton * fColorModelPSCMYK
CMYB radio button.
TGLineWidthComboBox * fLegendBorderSize
legend border size combo box
TGTextEntry * fFitFormat
fit format text entry
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
Z axis primary division number entry.
void UpdateEditor(Int_t tabNum)
Update the values of every widget entry in the editor.
TGNumberEntry * fTextSize
general text size number entry
void DoMoreLess()
Slot called when the user try to show or hide the editor part of the style manager.
TGTextEntry * fCurPadTextEntry
label showing current pad's name
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
histograms fill color selection widget
void BuildList(TStyle *style=nullptr)
Build the list of styles which will appear in the available styles combo box.
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'.
TGNumberEntry * fTitleY
title ordinate number entry
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
Bool_t fRealTimePreview
kTRUE if auto refreshed preview
TGColorSelect * fStatColor
stats fill color selection widget
void ModHistLineWidth()
Slot called whenever the histos line width is modified by the user.
Bool_t fSigSlotConnected
kTRUE when signal/slots connected
TGRadioButton * fApplyOnSel
'Apply on' button group
void ModStatFont()
Slot called whenever the stats text font is modified by the user.
TGColorSelect * fLineColor
general line color selection widget
TGLineWidthComboBox * fFrameLineWidth
frame line width combo box
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.
TGNumberEntry * fTitleX
title abscissa number entry
TGTab * fHistosTab
histos' tabs
TGCheckButton * fOptStatRMS
stats RMS show/hide check box
TGButtonGroup * fPadBorderMode
pad border mode button group
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
label 'Legend's'
void ModMarkerColor()
Slot called whenever the marker color is modified by the user.
TGCheckButton * fTitleFontSizeInPixels
title font size check box
void AddPsPdfTitle(TGCompositeFrame *f)
Add the 'Title' group frame to the 'PS / PDF' tab.
TGNumberEntry * fCanvasDefY
canvas ordinate number entry
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
preview
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
stats entries show/hide check box
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
stats integral show/hide check box
TGTextButton * fLineStyleEdit
general line style editor open button
TGTextEntry * fTitlePS
ps/pdf title text entry
void ModXAxisColor()
Slot called whenever the X axis color is modified by the user.
TGPopupMenu * fMenuStyle
the 'Style' popup menu
TGNumberEntry * fZNdivSubSub
Z axis tertiary division number entry.
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
ps/pdf line scale number entry
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
Y axis tertiary division number entry.
TGNumberEntry * fDateX
canvas date abscissa number entry
void AddAxisYTitle(TGCompositeFrame *f)
Add the 'Title' group frame to the 'Axis - Y Axis' tab.
TGNumberEntry * fTitleW
title width number entry
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.
TGTab * fEditionTab
editor's tabs
TGNumberEntry * fZLabelSize
Z axis label size number entry.
TGFontTypeComboBox * fTitleFont
title font combo box
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
often used layout
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
stats font type combo box
TGCheckButton * fOptStatSkewness
stats Skewness show/hide check box
TGNumberEntry * fPadTopMargin
pad top margin number entry
TGColorSelect * fFrameFillColor
frame fill color selection widget
void ModStripDecimals()
Slot called whenever the strip decimal boolean is modified by the user.
TGColorSelect * fAttDateTextColor
canvas date color selection widget
TGNumberEntry * fPadRightMargin
pad right margin number entry
TGNumberEntry * fAttDateTextAngle
canvas date angle number entry
void ModFitFormat(const char *fitformat)
Slot called whenever the fit paint format is modified by the user.
TGHorizontal3DLine * fHorizontal3DLine
a line under the tool bar
void ModFillStyle()
Slot called whenever the fill style is modified by the user.
TGComboBox * fTitleAlign
title align combo box
void CloseWindow() override
Slot called to close the style manager via the window manager.
TGColorSelect * fFillColor
general fill color selection widget
TGCheckButton * fOptTitle
title show/hide check box
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
canvas date font combo box
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
Z axis title font combo box.
Int_t fCurTabNum
current opened tab number
void ModHistLineColor()
Slot called whenever the histos line color is modified by the user.
TGNumberEntry * fStatW
stats width number entry
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
tool bar 'Delete' picture
void ModBarOffset()
Slot called whenever the histos bar offset is modified by the user.
TGColorSelect * fYAxisColor
Y axis color selection widget.
void ModTextColor()
Slot called whenever the text color is modified by the user.
TGCheckButton * fOptStatMean
stats mean show/hide check box
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
frame border mode button group
void ModOptFit()
Slot called whenever one of the fit options is modified by the user.
TGCheckButton * fOptStatErrors
stats errors check box
TGNumberEntry * fYTitleSize
Y axis title size number entry.
void AddAxisYLabels(TGCompositeFrame *f)
Add the 'Labels' group frame to the 'Axis - Y Axis' tab.
TGHorizontalFrame * fEditionButtonFrame
editor's buttons
TGColorSelect * fFrameLineColor
frame line color selection widget
TGCheckButton * fPadTickX
pad ticks along X show/hide check box
TGColorSelect * fZTitleColor
Z axis title color selection widget.
TGCheckButton * fPadGridX
pad grid along X show/hide check box
void AddGeneralMarker(TGCompositeFrame *f)
Add the 'Marker' group frame to the 'General' tab.
TGNumberEntry * fHatchesSpacing
general hatches spacing number entry
void ModPadBorderMode()
Slot called whenever the pad border mode is modified by the user.
TGedMarkerSelect * fMarkerStyle
general marker style entry
TGNumberEntry * fLegoInnerR
histograms lego inner radius number entry
TGNumberEntry * fXNdivSub
X axis secondary division number entry.
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
axis time offset (mm/dd/yyyy) number entry
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
Y axis label size number entry.
TGStatusBar * fStatusBar
status bar
void ModTextSizeInPixels(Bool_t b)
Slot called whenever the text size mode is modified by the user.
TGNumberEntry * fYTitleOffset
Y axis title offset number entry.
void ModTitleY()
Slot called whenever the title ordinate is modified by the user.
TGCheckButton * fXTitleSizeInPixels
X axis title size check box.
void ModLineWidth()
Slot called whenever the line width is modified by the user.
TGFontTypeComboBox * fZLabelFont
Z axis label font combo box.
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
title fill pattern selection widget
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.
~TStyleManager() override
Destructor.
void ModMarkerStyle()
Slot called whenever the marker style is modified by the user.
TGCheckButton * fOptLogy
Y axis logarithmic scale check box.
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.
TGToolBar * fToolBar
the tool bar
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
function border show/hide check box
void ModYTitleSizeInPixels(Bool_t b)
Slot called whenever the Y axis title size mode is modified by the user.
TGNumberEntry * fPaperSizeY
ps/pdf paper size height number entry
void ModXTitleOffset()
Slot called whenever the X axis title offset is modified by the user.
TGLabel * fStatFormatLabel
label 'stats format'
TGComboBox * fListComboBox
list of available styles
void ModXLabelSizeInPixels(Bool_t b)
Slot called whenever the X axis label size mode is modified by the user.
TGRadioButton * fColorModelPSRGB
RGB radio button.
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.
TGFileInfo * fCurMacro
current macro
TGLineStyleComboBox * AddLineStyleEntry(TGCompositeFrame *f, Int_t id)
Add a line style entry to the frame f.
TGTextButton * fMoreLess
open/close the editor
UInt_t fSMHeight
style manager's height
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.
TGTextEntry * fCurStyle
label showing gStyle's name
TGNumberEntry * fDateY
canvas date ordinate number entry
void DoChangeAxisTab(Int_t i)
Slot called when the user changes the current axis tab.
TGColorSelect * fFuncColor
function color selection widget
TGLayoutHints * fLayoutExpandXMargin
often used layout
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
pad bottom margin number entry
TGColorSelect * fXLabelColor
X axis label color selection widget.
TGLineWidthComboBox * fPadBorderSize
pad border size combo box
TGLineStyleComboBox * fFuncStyle
function line style combo box
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
fit Chi show/hide check box
void ModCanvasDefX()
Slot called whenever the canvas default abscissa is modified by the user.
TList * fTrashListLayout
to avoid memory leak
TGCheckButton * fStatFontSizeInPixels
stats font size check box
TGCheckButton * fYNdivisionsOptimize
Y axis division optimization check box.
void DoNew()
Create a new style. Called via the menu bar or the tool bar.
TGTextButton * fPaletteEdit
palette editor open button
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
Y axis label font combo box.
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
stats overflow show/hide check box
void ModTitleFontSizeInPixels(Bool_t b)
Slot called whenever the text size mode is modified by the user.
TGNumberEntry * fYLabelOffset
Y axis label offset number entry.
TGColorSelect * fXTitleColor
X axis title color selection widget.
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
general fill pattern selection widget
TGNumberEntry * fXNdivSubSub
X axis tertiary division number entry.
void AddStatsStats(TGCompositeFrame *f)
Add the 'Stat Options' group frame to the 'Stats' tab.
TGCheckButton * fOptLogz
Z axis logarithmic scale check box.
TGComboBox * fMarkerSize
general marker size combo box
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
stats underflow show/hide check box
TGNumberEntry * fTitleH
title height number entry
void CreateTabAxisY(TGCompositeFrame *tab)
Add the sub-tab 'Y Axis' to the tab 'Axis'.
TGColorSelect * fTitleColor
title fill color selection widget
TGHButtonGroup * fApplyOnGroup
'Apply on' button group
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
often used layout
void ModZTitleSize()
Slot called whenever the Z axis title size is modified by the user.
TGCheckButton * fYTitleSizeInPixels
Y axis title size check box.
void ModApplyOnXYZ()
Slot called whenever the apply on XYZ button is clicked.
TGCheckButton * fOptStatKurtosis
stats kurtosis show/hide check box
TGColorSelect * fHistLineColor
histograms fill color selection widget
void ModTitleAlign()
Slot called whenever the title text align is modified by the user.
TGComboBox * fOptDateFormat
canvas date format text entry
const TGPicture * fToolBarNewPic
tool bar 'New' picture
void DoSelectNoCanvas()
Slot called when the user close a TCanvas.
TGCheckButton * fZTitleSizeInPixels
Z axis title size check box.
TGLineWidthComboBox * fHatchesLineWidth
general hatches width combo box
TGLabel * fCurStylabel
label 'gStyle is set to:'
TGNumberEntry * fPadLeftMargin
pad left margin number entry
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
stats fill pattern selection widget
TGComboBox * AddDateFormatEntry(TGCompositeFrame *f, Int_t id)
Add a date format combo box to the frame f.
TGPopupMenu * fMenuHelp
the 'Help' popup menu
TGColorSelect * fTextColor
general text color selection widget
void DoListSelect()
Slot called when the user select an item in the available styles' list.
TGLineWidthComboBox * fHistLineWidth
histograms line width combo box
TGNumberEntry * fStatX
stats abscissa number entry
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
canvas border mode button group
void AddPsPdfColorModel(TGCompositeFrame *f)
Add the 'Color Model' group frame to the 'PS / PDF' tab.
TGComboBox * fTextAlign
general text align combo box
TGCheckButton * fPreviewButton
if checked, preview is visible
TGNumberEntry * fAttDateTextSize
canvas date size number entry
TGCheckButton * fPadGridY
pad grid along Y show/hide check box
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
X axis title font combo box.
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
Y axis title color selection widget.
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.
TGLabel * fListLabel
label 'Available Styles:'
TGNumberEntry * fBarOffset
histograms bar offset number entry
TGColorSelect * fMarkerColor
general marker color selection widget
TGLineStyleComboBox * fGridStyle
pad grid line style combo box
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
X axis color selection widget.
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
histograms number of contours number entry
Bool_t fLastChoice
kTRUE if the user choose OK in the last TStyleDialog
TGButtonGroup * fColorModelPS
ps/pdf color model button group
void ModStatStyle(Style_t pattern)
Slot called whenever the stats fill style is modified by the user.
TGPictureButton * fMakeDefault
selected style becom gStyle
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.
TGCheckButton * fOptLogx
X axis logarithmic scale check box.
void ModOptStat()
Slot called whenever one of the stats options is modified by the user.
TGLineWidthComboBox * fStatBorderSize
stats border size combo box
TGCheckButton * fTextSizeInPixels
general text size check box
void CreateTabHistosHistos(TGCompositeFrame *tab)
Add the sub-tab 'Histos' to the tab 'Histos'.
Int_t fCurTabAxisNum
current opened axis tab number
TGCheckButton * fOptFitValues
fit values show/hide check box
TGNumberEntry * fXTickLength
X axis tick length number entry.
void ModPaletteEdit()
Slot called whenever the palette editor is opened by the user.
TGNumberEntry * fStatFontSize
stats font size number entry
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
canvas fill color selection widget
TGColorSelect * fGridColor
pad grid line color selection widget
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.
TGNumberEntry * fStatY
stats ordinate number entry
TGLabel * fFitFormatLabel
label 'fit format'
TGTextButton * fApplyOnXYZ
axis apply on XYZ text button
TGComboBox * fPaperSizePredef
ps/pdf paper size combo box
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
Z axis title size number entry.
void CreateTabAxisZ(TGCompositeFrame *tab)
Add the sub-tab 'Z Axis' to the tab 'Axis'.
TGVerticalFrame * fEditionFrame
editor
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
Z axis title offset number entry.
TGPopupMenu * fImportCascade
Cascaded menu 'Import'.
TGNumberEntry * fTimeOffsetTime
axis time offset (hh:mm:ss) number entry
TGCheckButton * fStripDecimals
axis label's decimal part show/hide check box
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
general line style combo box
TGNumberEntry * fCanvasDefX
canvas abscissa number entry
TVirtualPad * fCurPad
current pad
void ModYLabelSize()
Slot called whenever the Y axis label size is modified by the user.
TGTextEntry * fStatFormat
stats format text entry
TObject * fCurObj
current object
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
label 'stats' shadow
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
canvas date size check box
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
histograms format text entry
void ModErrorX()
Slot called whenever the error along X is modified by the user.
TGColorSelect * fStatTextColor
stats text color selection widget
void CreateTabHistosGraphs(TGCompositeFrame *tab)
Add the sub-tab 'Graphs' to the tab 'Histos'.
TGPictureButton * fToolBarImportMacro
tool bar 'Import from macro' button
TGLabel * fCurObjLabel
label 'Object:'
void ModPadTickY()
Slot called whenever the pad tick Y boolean is modified by the user.
TGNumberEntry * fXLabelSize
X axis label size number entry.
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
X axis label offset number entry.
void ModOptLogy()
Slot called whenever the Y axis log scale boolean is modified by the user.
TGNumberEntry * fXTitleSize
X axis title size number entry.
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
update preview button
void DoMakeDefault()
Slot called to make the current selected style (in the ComboBox) become gStyle.
TGLineWidthComboBox * fCanvasBorderSize
canvas border size combo box
TGRadioButton * fApplyOnAll
'Apply on' button group
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
function width number entry
TGCheckButton * fZNdivisionsOptimize
Z axis division optimization check box.
TGNumberEntry * fErrorX
error along abscissa number entry
TGNumberEntry * fPaperSizeX
ps/pdf paper size width number entry
void ModCanvasColor()
Slot called whenever the canvas color is modified by the user.
UInt_t fSMWidth
style manager's width
const TGPicture * fToolBarImportMacroPic
tool bar 'Import from macro' picture
TGColorSelect * fTitleTextColor
title text color selection widget
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
tool bar 'New' button
TGTextEntry * fCurObjTextEntry
label showing current object's name
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
pad grid line width combo box
Bool_t fStyleChanged
kTRUE if the style has been modified
TGCheckButton * fYLabelSizeInPixels
Y axis label size check box.
void ModCanvasDefY()
Slot called whenever the canvas default ordinate is modified by the user.
TGNumberEntry * fXNdivMain
X axis primary division number entry.
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
general text angle number entry
TGCheckButton * fOptFitErrors
fit errors check box
Bool_t fMoreAndNotLess
kTRUE when editor is open
TGPictureButton * fToolBarDelete
tool bar 'Delete' button
TGPictureButton * fToolBarExport
tool bar 'Export' button
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
Z axis label size check box.
TGLayoutHints * fLayoutExpandXYMargin
often used layout
TGCheckButton * fOptFitProbability
fit probability show/hide check box
void DoExport()
Save the current selected style in a C++ macro file.
TGColorSelect * fZAxisColor
Z axis color selection widget.
void AddCanvasDate(TGCompositeFrame *f)
Add the 'Date' group frame to the 'Canvas' tab.
TGCheckButton * fOptStatName
stats name show/hide check box
void ModPaperSizePredef()
Slot called whenever the PS paper size is modified by the user.
TGFontTypeComboBox * fTextFont
general text font combo box
TGLayoutHints * fLayoutExpandXCenterYMargin
often used layout
const TGPicture * fToolBarImportCanvasPic
tool bar 'Import from canvas' picture
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.
TList * fTrashListFrame
to avoid memory leak
TGNumberEntry * fYNdivMain
Y axis primary division number entry.
TGColorSelect * fYLabelColor
Y axis label color selection widget.
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
Z axis secondary division number entry.
TGLabel * fCurPadLabel
label 'Canvas:'
const TGPicture * fToolBarExportPic
tool bar 'Export' picture
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
Z axis tick length number entry.
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.
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
if checked, real time preview
TGColorSelect * fZLabelColor
Z axis label color selection widget.
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.
TGTextEntry * fHeaderPS
ps/pdf header text entry
void CreateTabAxisX(TGCompositeFrame *tab)
Add the sub-tab 'X Axis' to the tab 'Axis'.
This class may be used to preview the result of applying a style to a canvas.
TStyle objects may be created to define special styles.
TVirtualPad is an abstract base class for the Pad and Canvas classes.
virtual TCanvas * GetCanvas() const =0