Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
TStyleManager.h
Go to the documentation of this file.
1// @(#)root/ged:$Id$
2// Author: Denis Favre-Miville 08/09/05
3
4/*************************************************************************
5 * Copyright (C) 1995-2004, Rene Brun and Fons Rademakers. *
6 * All rights reserved. *
7 * *
8 * For the licensing terms see $ROOTSYS/LICENSE. *
9 * For the list of contributors see $ROOTSYS/README/CREDITS. *
10 *************************************************************************/
11
12#ifndef ROOT_TStyleManager
13#define ROOT_TStyleManager
14
15//////////////////////////////////////////////////////////////////////////
16// //
17// TStyleManager //
18// //
19// This class provides a Graphical User Interface to manage styles //
20// in ROOT. It allows the user to edit styles, import / export //
21// them to macros, apply a style on the selected object or on //
22// all canvases, change gStyle. //
23// //
24//////////////////////////////////////////////////////////////////////////
25
26#include "TGFrame.h"
27#include "TGNumberEntry.h"
28
29class TGButtonGroup;
30class TGCheckButton;
31class TGColorSelect;
32class TGComboBox;
36class TGFileInfo;
38class TGHButtonGroup;
41class TGLabel;
42class TGLayoutHints;
45class TGMainFrame;
46class TGMatrixLayout;
47class TGMenuBar;
48class TGPicture;
49class TGPictureButton;
50class TGPopupMenu;
51class TGRadioButton;
52class TGStatusBar;
53class TGTab;
54class TGTextButton;
55class TGTextEntry;
56class TGToolBar;
57class TGVerticalFrame;
58class TList;
59class TObject;
60class TStyle;
61class TStylePreview;
62class TVirtualPad;
63
64class TStyleManager : public TGMainFrame {
65
66private:
67 static TStyleManager *fgStyleManager; // singleton style manager
68
69 TStyle *fCurSelStyle; // current selected style
70 Bool_t fLastChoice; //=kTRUE if the user choose OK in the last TStyleDialog
71 Bool_t fRealTimePreview; //=kTRUE if auto refreshed preview
72 Int_t fCurTabNum; // current opened tab number
73 Int_t fCurTabAxisNum; // current opened axis tab number
74 UInt_t fSMWidth; // style manager's width
75 UInt_t fSMHeight; // style manager's height
76 Bool_t fStyleChanged; //=kTRUE if the style has been modified
77
78 Bool_t fMoreAndNotLess; //=kTRUE when editor is open
79 Bool_t fSigSlotConnected; //=kTRUE when signal/slots connected
80 Bool_t fAllAndNotCurrent; //=kTRUE when apply on 'All canvases'
81 TList *fTrashListFrame; // to avoid memory leak
82 TList *fTrashListLayout; // to avoid memory leak
83
84 TGMenuBar *fMenuBar; // the main window menu bar
85 TGPopupMenu *fMenuStyle; // the 'Style' popup menu
86 TGPopupMenu *fImportCascade; // Cascaded menu 'Import'
87 TGPopupMenu *fMenuHelp; // the 'Help' popup menu
88
89 TGToolBar *fToolBar; // the tool bar
90 TGPictureButton *fToolBarNew; // tool bar 'New' button
91 TGPictureButton *fToolBarDelete; // tool bar 'Delete' button
92 TGPictureButton *fToolBarImportCanvas;// tool bar 'Import from canvas' button
93 TGPictureButton *fToolBarImportMacro; // tool bar 'Import from macro' button
94 TGPictureButton *fToolBarExport; // tool bar 'Export' button
95 TGPictureButton *fToolBarHelp; // tool bar 'Help' button
96 const TGPicture *fToolBarNewPic; // tool bar 'New' picture
97 const TGPicture *fToolBarDeletePic; // tool bar 'Delete' picture
98 const TGPicture *fToolBarImportCanvasPic;// tool bar 'Import from canvas' picture
99 const TGPicture *fToolBarImportMacroPic; // tool bar 'Import from macro' picture
100 const TGPicture *fToolBarExportPic; // tool bar 'Export' picture
101 const TGPicture *fToolBarHelpPic; // tool bar 'Help' picture
102 TGHorizontal3DLine *fHorizontal3DLine; // a line under the tool bar
103
104 TGLabel *fListLabel; // label 'Available Styles:'
105 TGComboBox *fListComboBox; // list of available styles
106 TGFileInfo *fCurMacro; // current macro
107 TGLabel *fCurStylabel; // label 'gStyle is set to:'
108 TGTextEntry *fCurStyle; // label showing gStyle's name
109 TGLabel *fCurPadLabel; // label 'Canvas:'
110 TGTextEntry *fCurPadTextEntry; // label showing current pad's name
111 TVirtualPad *fCurPad; // current pad
112 TGLabel *fCurObjLabel; // label 'Object:'
113 TGTextEntry *fCurObjTextEntry; // label showing current object's name
114 TObject *fCurObj; // current object
115 TGCheckButton *fPreviewButton; // if checked, preview is visible
116 TGCheckButton *fPreviewRealTime; // if checked, real time preview
118 TGPictureButton *fMakeDefault; // selected style becom gStyle
119 const TGPicture *fMakeDefaultPic; // button picture
120
121 TGHButtonGroup *fApplyOnGroup; // 'Apply on' button group
122 TGRadioButton *fApplyOnAll; // 'Apply on' button group
123 TGRadioButton *fApplyOnSel; // 'Apply on' button group
124 TGTextButton *fApplyOnButton; // apply style on object(s)
125
126 TGTextButton *fMoreLess; // open/close the editor
127 TGStatusBar *fStatusBar; // status bar
128
130 TGTab *fEditionTab; // editor's tabs
131 TGTab *fHistosTab; // histos' tabs
132 TGTab *fAxisTab; // axis' tabs
134
135 TGTextButton *fEditionHelp; // help button
136 TGTextButton *fEditionUpdatePreview; // update preview button
137 TGTextButton *fEditionReset; // reset button
138
139 TGColorSelect *fFillColor; // general fill color selection widget
140 TGedPatternSelect *fFillStyle; // general fill pattern selection widget
141 TGLineWidthComboBox *fHatchesLineWidth; // general hatches width combo box
142 TGNumberEntry *fHatchesSpacing; // general hatches spacing number entry
143 TGColorSelect *fTextColor; // general text color selection widget
144 TGNumberEntry *fTextSize; // general text size number entry
145 TGCheckButton *fTextSizeInPixels; // general text size check box
146 TGFontTypeComboBox *fTextFont; // general text font combo box
147 TGComboBox *fTextAlign; // general text align combo box
148 TGNumberEntry *fTextAngle; // general text angle number entry
149 TGColorSelect *fLineColor; // general line color selection widget
150 TGLineWidthComboBox *fLineWidth; // general line width combo box
151 TGLineStyleComboBox *fLineStyle; // general line style combo box
152 TGTextButton *fLineStyleEdit; // general line style editor open button
153 TGColorSelect *fMarkerColor; // general marker color selection widget
154 TGedMarkerSelect *fMarkerStyle; // general marker style entry
155 TGComboBox *fMarkerSize; // general marker size combo box
156 TGNumberEntry *fScreenFactor; // general screen factor number entry
157 TGColorSelect *fCanvasColor; // canvas fill color selection widget
158 TGNumberEntry *fCanvasDefX; // canvas abscissa number entry
159 TGNumberEntry *fCanvasDefY; // canvas ordinate number entry
160 TGNumberEntry *fCanvasDefW; // canvas width number entry
161 TGNumberEntry *fCanvasDefH; // canvas height number entry
162 TGButtonGroup *fCanvasBorderMode; // canvas border mode button group
163 TGLineWidthComboBox *fCanvasBorderSize; // canvas border size combo box
164 TGCheckButton *fOptDateBool; // canvas date show/hide check box
165 TGColorSelect *fAttDateTextColor; // canvas date color selection widget
166 TGNumberEntry *fAttDateTextSize; // canvas date size number entry
167 TGCheckButton *fAttDateTextSizeInPixels; // canvas date size check box
168 TGComboBox *fOptDateFormat; // canvas date format text entry
169 TGFontTypeComboBox *fAttDateTextFont; // canvas date font combo box
170 TGNumberEntry *fAttDateTextAngle; // canvas date angle number entry
171 TGComboBox *fAttDateTextAlign; // canvas date align combo box
172 TGNumberEntry *fDateX; // canvas date abscissa number entry
173 TGNumberEntry *fDateY; // canvas date ordinate number entry
174 TGNumberEntry *fPadLeftMargin; // pad left margin number entry
175 TGNumberEntry *fPadRightMargin; // pad right margin number entry
176 TGNumberEntry *fPadTopMargin; // pad top margin number entry
177 TGNumberEntry *fPadBottomMargin; // pad bottom margin number entry
178 TGButtonGroup *fPadBorderMode; // pad border mode button group
179 TGLineWidthComboBox *fPadBorderSize; // pad border size combo box
180 TGColorSelect *fPadColor; // pad fill color selection widget
181 TGCheckButton *fPadTickX; // pad ticks along X show/hide check box
182 TGCheckButton *fPadTickY; // pad ticks along Y show/hide check box
183 TGCheckButton *fPadGridX; // pad grid along X show/hide check box
184 TGCheckButton *fPadGridY; // pad grid along Y show/hide check box
185 TGColorSelect *fGridColor; // pad grid line color selection widget
186 TGLineWidthComboBox *fGridWidth; // pad grid line width combo box
187 TGLineStyleComboBox *fGridStyle; // pad grid line style combo box
188 TGColorSelect *fHistFillColor; // histograms fill color selection widget
189 TGedPatternSelect *fHistFillStyle; // histograms fill pattern selection widget
190 TGColorSelect *fHistLineColor; // histograms fill color selection widget
191 TGLineWidthComboBox *fHistLineWidth; // histograms line width combo box
192 TGLineStyleComboBox *fHistLineStyle; // histograms line style combo box
193 TGNumberEntry *fBarWidth; // histograms bar width number entry
194 TGNumberEntry *fBarOffset; // histograms bar offset number entry
195 TGCheckButton *fHistMinimumZero; // histograms minimum zero check box
196 TGTextEntry *fPaintTextFormat; // histograms format text entry
197 TGNumberEntry *fNumberContours; // histograms number of contours number entry
198 TGNumberEntry *fLegoInnerR; // histograms lego inner radius number entry
199 TGColorSelect *fFrameFillColor; // frame fill color selection widget
200 TGedPatternSelect *fFrameFillStyle; // frame fill pattern selection widget
201 TGColorSelect *fFrameLineColor; // frame line color selection widget
202 TGLineWidthComboBox *fFrameLineWidth; // frame line width combo box
203 TGLineStyleComboBox *fFrameLineStyle; // frame line style combo box
204 TGTextButton *fPaletteEdit; // palette editor open button
205 TGButtonGroup *fFrameBorderMode; // frame border mode button group
206 TGLineWidthComboBox *fFrameBorderSize; // frame border size combo box
207 TGColorSelect *fFuncColor; // function color selection widget
208 TGLineWidthComboBox *fFuncWidth; // function width number entry
209 TGLineStyleComboBox *fFuncStyle; // function line style combo box
210 TGCheckButton *fDrawBorder; // function border show/hide check box
211 TGNumberEntry *fEndErrorSize; // end error size number entry
212 TGNumberEntry *fErrorX; // error along abscissa number entry
213 TGNumberEntry *fTimeOffsetDate; // axis time offset (mm/dd/yyyy) number entry
214 TGNumberEntry *fTimeOffsetTime; // axis time offset (hh:mm:ss) number entry
215 TGCheckButton *fStripDecimals; // axis label's decimal part show/hide check box
216 TGTextButton *fApplyOnXYZ; // axis apply on XYZ text button
217 TGNumberEntry *fXTitleSize; // X axis title size number entry
218 TGCheckButton *fXTitleSizeInPixels; // X axis title size check box
219 TGColorSelect *fXTitleColor; // X axis title color selection widget
220 TGNumberEntry *fXTitleOffset; // X axis title offset number entry
221 TGFontTypeComboBox *fXTitleFont; // X axis title font combo box
222 TGNumberEntry *fXLabelSize; // X axis label size number entry
223 TGCheckButton *fXLabelSizeInPixels; // X axis label size check box
224 TGColorSelect *fXLabelColor; // X axis label color selection widget
225 TGNumberEntry *fXLabelOffset; // X axis label offset number entry
226 TGFontTypeComboBox *fXLabelFont; // X axis label font combo box
227 TGColorSelect *fXAxisColor; // X axis color selection widget
228 TGNumberEntry *fXTickLength; // X axis tick length number entry
229 TGCheckButton *fOptLogx; // X axis logarithmic scale check box
230 TGNumberEntry *fXNdivMain; // X axis primary division number entry
231 TGNumberEntry *fXNdivSub; // X axis secondary division number entry
232 TGNumberEntry *fXNdivSubSub; // X axis tertiary division number entry
233 TGCheckButton *fXNdivisionsOptimize;// X axis division optimization check box
234 TGNumberEntry *fYTitleSize; // Y axis title size number entry
235 TGCheckButton *fYTitleSizeInPixels; // Y axis title size check box
236 TGColorSelect *fYTitleColor; // Y axis title color selection widget
237 TGNumberEntry *fYTitleOffset; // Y axis title offset number entry
238 TGFontTypeComboBox *fYTitleFont; // Y axis title font combo box
239 TGNumberEntry *fYLabelSize; // Y axis label size number entry
240 TGCheckButton *fYLabelSizeInPixels; // Y axis label size check box
241 TGColorSelect *fYLabelColor; // Y axis label color selection widget
242 TGNumberEntry *fYLabelOffset; // Y axis label offset number entry
243 TGFontTypeComboBox *fYLabelFont; // Y axis label font combo box
244 TGColorSelect *fYAxisColor; // Y axis color selection widget
245 TGNumberEntry *fYTickLength; // Y axis tick length number entry
246 TGCheckButton *fOptLogy; // Y axis logarithmic scale check box
247 TGNumberEntry *fYNdivMain; // Y axis primary division number entry
248 TGNumberEntry *fYNdivSub; // Y axis secondary division number entry
249 TGNumberEntry *fYNdivSubSub; // Y axis tertiary division number entry
250 TGCheckButton *fYNdivisionsOptimize;// Y axis division optimization check box
251 TGNumberEntry *fZTitleSize; // Z axis title size number entry
252 TGCheckButton *fZTitleSizeInPixels; // Z axis title size check box
253 TGColorSelect *fZTitleColor; // Z axis title color selection widget
254 TGNumberEntry *fZTitleOffset; // Z axis title offset number entry
255 TGFontTypeComboBox *fZTitleFont; // Z axis title font combo box
256 TGNumberEntry *fZLabelSize; // Z axis label size number entry
257 TGCheckButton *fZLabelSizeInPixels; // Z axis label size check box
258 TGColorSelect *fZLabelColor; // Z axis label color selection widget
259 TGNumberEntry *fZLabelOffset; // Z axis label offset number entry
260 TGFontTypeComboBox *fZLabelFont; // Z axis label font combo box
261 TGColorSelect *fZAxisColor; // Z axis color selection widget
262 TGNumberEntry *fZTickLength; // Z axis tick length number entry
263 TGCheckButton *fOptLogz; // Z axis logarithmic scale check box
264 TGNumberEntry *fZNdivMain; // Z axis primary division number entry
265 TGNumberEntry *fZNdivSub; // Z axis secondary division number entry
266 TGNumberEntry *fZNdivSubSub; // Z axis tertiary division number entry
267 TGCheckButton *fZNdivisionsOptimize;// Z axis division optimization check box
268 TGCheckButton *fOptTitle; // title show/hide check box
269 TGColorSelect *fTitleColor; // title fill color selection widget
270 TGedPatternSelect *fTitleStyle; // title fill pattern selection widget
271 TGColorSelect *fTitleTextColor; // title text color selection widget
272 TGNumberEntry *fTitleFontSize; // title font size number entry
273 TGCheckButton *fTitleFontSizeInPixels; // title font size check box
274 TGFontTypeComboBox *fTitleFont; // title font combo box
275 TGComboBox *fTitleAlign; // title align combo box
276 TGLabel *fTitleBorderSizeLabel; // label 'Title's'
277 TGLineWidthComboBox *fTitleBorderSize; // title border size combo box
278 TGNumberEntry *fTitleX; // title abscissa number entry
279 TGNumberEntry *fTitleY; // title ordinate number entry
280 TGNumberEntry *fTitleW; // title width number entry
281 TGNumberEntry *fTitleH; // title height number entry
282 TGLabel *fLegendBorderSizeLabel; // label 'Legend's'
283 TGLineWidthComboBox *fLegendBorderSize; // legend border size combo box
284 TGColorSelect *fStatColor; // stats fill color selection widget
285 TGedPatternSelect *fStatStyle; // stats fill pattern selection widget
286 TGColorSelect *fStatTextColor; // stats text color selection widget
287 TGNumberEntry *fStatFontSize; // stats font size number entry
288 TGCheckButton *fStatFontSizeInPixels; // stats font size check box
289 TGFontTypeComboBox *fStatFont; // stats font type combo box
290 TGNumberEntry *fStatX; // stats abscissa number entry
291 TGNumberEntry *fStatY; // stats ordinate number entry
292 TGNumberEntry *fStatW; // stats width number entry
293 TGNumberEntry *fStatH; // stats height number entry
294 TGLabel *fStatBorderSizeLabel; // label 'stats' shadow
295 TGLineWidthComboBox *fStatBorderSize; // stats border size combo box
296 TGCheckButton *fOptStatName; // stats name show/hide check box
297 TGCheckButton *fOptStatEntries; // stats entries show/hide check box
298 TGCheckButton *fOptStatOverflow; // stats overflow show/hide check box
299 TGCheckButton *fOptStatMean; // stats mean show/hide check box
300 TGCheckButton *fOptStatUnderflow; // stats underflow show/hide check box
301 TGCheckButton *fOptStatRMS; // stats RMS show/hide check box
302 TGCheckButton *fOptStatSkewness; // stats Skewness show/hide check box
303 TGCheckButton *fOptStatIntegral; // stats integral show/hide check box
304 TGCheckButton *fOptStatKurtosis; // stats kurtosis show/hide check box
305 TGCheckButton *fOptStatErrors; // stats errors check box
306 TGLabel *fStatFormatLabel; // label 'stats format'
307 TGTextEntry *fStatFormat; // stats format text entry
308 TGCheckButton *fOptFitValues; // fit values show/hide check box
309 TGCheckButton *fOptFitErrors; // fit errors check box
310 TGCheckButton *fOptFitProbability; // fit probability show/hide check box
311 TGCheckButton *fOptFitChi; // fit Chi show/hide check box
312 TGLabel *fFitFormatLabel; // label 'fit format'
313 TGTextEntry *fFitFormat; // fit format text entry
314 TGTextEntry *fHeaderPS; // ps/pdf header text entry
315 TGTextEntry *fTitlePS; // ps/pdf title text entry
316 TGButtonGroup *fColorModelPS; // ps/pdf color model button group
317 TGRadioButton *fColorModelPSRGB; // RGB radio button
318 TGRadioButton *fColorModelPSCMYK; // CMYB radio button
319 TGNumberEntry *fLineScalePS; // ps/pdf line scale number entry
320 TGComboBox *fPaperSizePredef; // ps/pdf paper size combo box
321 Bool_t fPaperSizeEnCm; //=kTRUE if the paper size is in cm
322 TGNumberEntry *fPaperSizeX; // ps/pdf paper size width number entry
323 TGNumberEntry *fPaperSizeY; // ps/pdf paper size height number entry
324
325 TGLayoutHints *fLayoutExpandX; // often used layout
326 TGLayoutHints *fLayoutExpandXMargin; // often used layout
327 TGLayoutHints *fLayoutExpandXY; // often used layout
330
331 void AddMenus(TGCompositeFrame *p);
332 void DoNew();
333 void DoDelete();
334 void DoRename();
335 void DoExport();
336 void DoExit();
337 void DoHelp(Int_t i);
338 void DoImportCanvas();
339 void CreateMacro();
340
342
344 void UpdateStatusBar();
345 void UpdateEditor(Int_t tabNum);
346 void ConnectAll();
347 void DisconnectAll();
348 void ConnectEditor(Int_t tabNum);
349 void DisconnectEditor(Int_t tabNum);
350 void DoEditor();
351
353
359
365
372
381
386
391
398
404
410
416
423
430
431 void AddTitle(TGCompositeFrame *f, const char *s);
437 Int_t e3, Int_t id, const char *s, Double_t init, Int_t digits,
442 TGTextButton *AddTextButton(TGCompositeFrame *f, const char *s, Int_t id);
447 TGCheckButton *AddCheckButton(TGCompositeFrame *f, const char *s, Int_t id, Int_t e1 = 0, Int_t e2 = 2);
448 TGTextEntry *AddTextEntry(TGCompositeFrame *f, const char *s, Int_t id);
450
451public:
452 TStyleManager(const TGWindow *);
453 virtual ~TStyleManager();
454
455 static void Show();
456 static void Terminate();
457 static TStyleManager *&GetSM();
458
459 void Init();
460 void Hide();
461
463 void SetLastChoice(Bool_t choice) { fLastChoice = choice; }
464
465 void DoMenu(Int_t menuID); // SLOT
466 void DoImportMacro(Bool_t create); // SLOT
467 void DoListSelect(); // SLOT
468 void DoRealTime(Bool_t b); // SLOT
469 void DoPreview(Bool_t b); // SLOT
470 void DoPreviewClosed(); // SLOT
471 void DoMakeDefault(); // SLOT
472 void DoApplyOnSelect(Int_t i); // SLOT
473 void DoApplyOn(); // SLOT
474 void DoMoreLess(); // SLOT
475 void DoEditionUpdatePreview(); // SLOT
476 void DoChangeTab(Int_t i); // SLOT
477 void DoChangeAxisTab(Int_t i); // SLOT
478 void BuildList(TStyle *style = 0);
479 void DoSelectNoCanvas(); // SLOT
480 void DoSelectCanvas(TVirtualPad *pad,
481 TObject *obj, Int_t mouseButton); // SLOT
482 void CloseWindow(); // SLOT
483
484// GENERAL
485 void ModFillColor(); // SLOT
486 void ModFillStyle(); // SLOT
487 void ModHatchesLineWidth(); // SLOT
488 void ModHatchesSpacing(); // SLOT
489 void ModMarkerColor(); // SLOT
490 void ModMarkerStyle(); // SLOT
491 void ModMarkerSize(); // SLOT
492 void ModScreenFactor(); // SLOT
493 void ModLineColor(); // SLOT
494 void ModLineWidth(); // SLOT
495 void ModLineStyle(); // SLOT
496 void ModLineStyleEdit(); // SLOT
497 void ModTextColor(); // SLOT
498 void ModTextSize(); // SLOT
499 void ModTextSizeInPixels(Bool_t b); // SLOT
500 void ModTextFont(); // SLOT
501 void ModTextAlign(); // SLOT
502 void ModTextAngle(); // SLOT
503
504// CANVAS
505 void ModCanvasColor(); // SLOT
506 void ModCanvasDefX(); // SLOT
507 void ModCanvasDefY(); // SLOT
508 void ModCanvasDefW(); // SLOT
509 void ModCanvasDefH(); // SLOT
510 void ModCanvasBorderMode(); // SLOT
511 void ModCanvasBorderSize(); // SLOT
512 void ModOptDateBool(); // SLOT
513 void ModAttDateTextColor(); // SLOT
514 void ModAttDateTextSize(); // SLOT
516 void ModOptDateFormat(); // SLOT
517 void ModAttDateTextFont(); // SLOT
518 void ModAttDateTextAngle(); // SLOT
519 void ModAttDateTextAlign(); // SLOT
520 void ModDateX(); // SLOT
521 void ModDateY(); // SLOT
522
523// PAD
524 void ModPadTopMargin(); // SLOT
525 void ModPadBottomMargin(); // SLOT
526 void ModPadLeftMargin(); // SLOT
527 void ModPadRightMargin(); // SLOT
528 void ModPadBorderMode(); // SLOT
529 void ModPadBorderSize(); // SLOT
530 void ModPadColor(); // SLOT
531 void ModPadTickX(); // SLOT
532 void ModPadTickY(); // SLOT
533 void ModPadGridX(); // SLOT
534 void ModPadGridY(); // SLOT
535 void ModGridColor(); // SLOT
536 void ModGridWidth(); // SLOT
537 void ModGridStyle(); // SLOT
538
539 // HISTOS HISTOS
540 void ModHistFillColor(); // SLOT
541 void ModHistFillStyle(); // SLOT
542 void ModHistLineColor(); // SLOT
543 void ModHistLineWidth(); // SLOT
544 void ModHistLineStyle(); // SLOT
545 void ModBarWidth(); // SLOT
546 void ModBarOffset(); // SLOT
547 void ModHistMinimumZero(); // SLOT
548 void ModPaintTextFormat(); // SLOT
549 void ModNumberContours(); // SLOT
550 void ModLegoInnerR(); // SLOT
551
552// HISTOS FRAMES
553 void ModFrameFillColor(); // SLOT
554 void ModFrameFillStyle(); // SLOT
555 void ModFrameLineColor(); // SLOT
556 void ModFrameLineWidth(); // SLOT
557 void ModFrameLineStyle(); // SLOT
558 void ModPaletteEdit(); // SLOT
559 void ModFrameBorderMode(); // SLOT
560 void ModFrameBorderSize(); // SLOT
561
562// HISTOS GRAPHS
563 void ModFuncColor(); // SLOT
564 void ModFuncWidth(); // SLOT
565 void ModFuncStyle(); // SLOT
566 void ModDrawBorder(); // SLOT
567 void ModEndErrorSize(); // SLOT
568 void ModErrorX(); // SLOT
569
570// AXIS
571 void ModTimeOffset(); // SLOT
572 void ModStripDecimals(); // SLOT
573 void ModApplyOnXYZ(); // SLOT
574
575// AXIS X AXIS
576 void ModXTitleSize(); // SLOT
577 void ModXTitleSizeInPixels(Bool_t b); // SLOT
578 void ModXTitleColor(); // SLOT
579 void ModXTitleOffset(); // SLOT
580 void ModXTitleFont(); // SLOT
581 void ModXLabelSize(); // SLOT
582 void ModXLabelSizeInPixels(Bool_t b); // SLOT
583 void ModXLabelColor(); // SLOT
584 void ModXLabelOffset(); // SLOT
585 void ModXLabelFont(); // SLOT
586 void ModXAxisColor(); // SLOT
587 void ModXTickLength(); // SLOT
588 void ModOptLogx(); // SLOT
589 void ModXNdivisions(); // SLOT
590
591// AXIS Y AXIS
592 void ModYTitleSize(); // SLOT
593 void ModYTitleSizeInPixels(Bool_t b); // SLOT
594 void ModYTitleColor(); // SLOT
595 void ModYTitleOffset(); // SLOT
596 void ModYTitleFont(); // SLOT
597 void ModYLabelSize(); // SLOT
598 void ModYLabelSizeInPixels(Bool_t b); // SLOT
599 void ModYLabelColor(); // SLOT
600 void ModYLabelOffset(); // SLOT
601 void ModYLabelFont(); // SLOT
602 void ModYAxisColor(); // SLOT
603 void ModYTickLength(); // SLOT
604 void ModOptLogy(); // SLOT
605 void ModYNdivisions(); // SLOT
606
607// AXIS Z AXIS
608 void ModZTitleSize(); // SLOT
609 void ModZTitleSizeInPixels(Bool_t b); // SLOT
610 void ModZTitleColor(); // SLOT
611 void ModZTitleOffset(); // SLOT
612 void ModZTitleFont(); // SLOT
613 void ModZLabelSize(); // SLOT
614 void ModZLabelSizeInPixels(Bool_t b); // SLOT
615 void ModZLabelColor(); // SLOT
616 void ModZLabelOffset(); // SLOT
617 void ModZLabelFont(); // SLOT
618 void ModZAxisColor(); // SLOT
619 void ModZTickLength(); // SLOT
620 void ModOptLogz(); // SLOT
621 void ModZNdivisions(); // SLOT
622
623// TITLES
624 void ModOptTitle(); // SLOT
625 void ModTitleFillColor(); // SLOT
626 void ModTitleStyle(); // SLOT
627 void ModTitleTextColor(); // SLOT
628 void ModTitleFontSize(); // SLOT
629 void ModTitleFontSizeInPixels(Bool_t b); // SLOT
630 void ModTitleFont(); // SLOT
631 void ModTitleAlign(); // SLOT
632 void ModTitleBorderSize(); // SLOT
633 void ModTitleX(); // SLOT
634 void ModTitleY(); // SLOT
635 void ModTitleW(); // SLOT
636 void ModTitleH(); // SLOT
637 void ModLegendBorderSize(); // SLOT
638
639// STATS
640 void ModStatColor(Pixel_t color); // SLOT
641 void ModStatStyle(Style_t pattern); // SLOT
642 void ModStatTextColor(Pixel_t color); // SLOT
643 void ModStatFontSize(); // SLOT
644 void ModStatFontSizeInPixels(Bool_t b); // SLOT
645 void ModStatFont(); // SLOT
646 void ModStatX(); // SLOT
647 void ModStatY(); // SLOT
648 void ModStatW(); // SLOT
649 void ModStatH(); // SLOT
650 void ModStatBorderSize(); // SLOT
651 void ModOptStat(); // SLOT
652 void ModStatFormat(const char *sformat); // SLOT
653 void ModOptFit(); // SLOT
654 void ModFitFormat(const char *fitformat); // SLOT
655
656// PS / PDF
657 void ModHeaderPS(); // SLOT
658 void ModTitlePS(); // SLOT
659 void ModColorModelPS(); // SLOT
660 void ModLineScalePS(); // SLOT
661 void ModPaperSizePredef(); // SLOT
662 void ModPaperSizeXY(); // SLOT
663
664 ClassDef(TStyleManager, 0) // Graphical User Interface for managing styles
665};
666
667#endif
ULong_t Pixel_t
Pixel value.
Definition GuiTypes.h:40
#define b(i)
Definition RSha256.hxx:100
#define f(i)
Definition RSha256.hxx:104
int Int_t
Definition RtypesCore.h:45
bool Bool_t
Definition RtypesCore.h:63
double Double_t
Definition RtypesCore.h:59
short Style_t
Definition RtypesCore.h:80
#define ClassDef(name, id)
Definition Rtypes.h:325
Definition TGTab.h:62
A doubly linked list.
Definition TList.h:44
Mother of all ROOT objects.
Definition TObject.h:37
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
TGNumberEntry * fStatH
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.
void SetCurSelStyle(TStyle *style)
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
Bool_t fAllAndNotCurrent
TGNumberEntry * fXTitleOffset
void ConnectEditor(Int_t tabNum)
Connect every widget entry of the editor to its specific slot.
TStyle * fCurSelStyle
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
Bool_t fPaperSizeEnCm
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.
TGMenuBar * fMenuBar
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
TGTextEntry * fFitFormat
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'.
TGNumberEntry * fTitleY
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
TGColorSelect * fStatColor
void ModHistLineWidth()
Slot called whenever the histos line width is modified by the user.
Bool_t fSigSlotConnected
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.
TGNumberEntry * fTitleX
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
TGTextEntry * fTitlePS
void ModXAxisColor()
Slot called whenever the X axis color is modified by the user.
TGPopupMenu * fMenuStyle
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
TGNumberEntry * fDateX
void AddAxisYTitle(TGCompositeFrame *f)
Add the 'Title' group frame to the 'Axis - Y Axis' tab.
TGNumberEntry * fTitleW
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
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.
TGComboBox * fTitleAlign
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.
TGNumberEntry * fStatW
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
TGStatusBar * fStatusBar
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.
TGCheckButton * fOptLogy
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
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.
TGFileInfo * fCurMacro
TGLineStyleComboBox * AddLineStyleEntry(TGCompositeFrame *f, Int_t id)
Add a line style entry to the frame f.
TGTextButton * fMoreLess
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
TGNumberEntry * fDateY
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.
TList * fTrashListLayout
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 SetLastChoice(Bool_t choice)
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.
TGCheckButton * fOptLogz
TGComboBox * fMarkerSize
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
TGNumberEntry * fTitleH
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
TGLabel * fCurStylabel
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.
TGPopupMenu * fMenuHelp
TGColorSelect * fTextColor
void DoListSelect()
Slot called when the user select an item in the available styles' list.
TGLineWidthComboBox * fHistLineWidth
TGNumberEntry * fStatX
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.
TGComboBox * fTextAlign
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.
TGLabel * fListLabel
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
void ModFuncColor()
Slot called whenever the function line color is modified by the user.
TGCheckButton * fOptLogx
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.
TGNumberEntry * fStatY
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
TVirtualPad * fCurPad
void ModYLabelSize()
Slot called whenever the Y axis label size is modified by the user.
TGTextEntry * fStatFormat
TObject * fCurObj
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
TGLabel * fCurObjLabel
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 * fErrorX
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
Bool_t fStyleChanged
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
Bool_t fMoreAndNotLess
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.
TList * fTrashListFrame
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
TGLabel * fCurPadLabel
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.
TGTextEntry * fHeaderPS
void CreateTabAxisX(TGCompositeFrame *tab)
Add the sub-tab 'X Axis' to the tab 'Axis'.
TStyle objects may be created to define special styles.
Definition TStyle.h:29
TVirtualPad is an abstract base class for the Pad and Canvas classes.
Definition TVirtualPad.h:51
TCanvas * style()
Definition style.C:1