ROOT logo
#ifndef SET1DIMOPTHISTDIALOG
#define SET1DIMOPTHISTDIALOG
#include "TGWindow.h"
#include "TRootCanvas.h"
#include "TGMrbValuesAndText.h"
#include <iostream>
//_____________________________________________________________________________________
class TH1;

class Set1DimOptDialog : public TObject , public TQObject{

private:
	void *fValp[100];
	Int_t fFlags[100];
	TList *fRow_lab;
	TGMrbValuesAndText *fDialog;
	TList fHistList;
	TList fPadList;
	Int_t fNHists;

	TCanvas *fCanvas;
	Int_t   fOk;

	TString *fTitle;
	Int_t   *fTitleModBid;
	Int_t   *fShowContour;
	Int_t   *fFill;
	Color_t *fFillColor ;
	Style_t *fFillStyle;
	Color_t *fLineColor;
	Style_t *fLineStyle;
	Width_t *fLineWidth;
	TString *fErrorMode;
	Color_t *fMarkerColor;
	Style_t *fMarkerStyle;
	Float_t *fMarkerSize;
	Int_t   *fShowMarkers;
	Int_t   *fSame;

	TString fTitleX;
	TString fTitleY;
	Float_t fEndErrorSize;
	Float_t fErrorX;
	Int_t   fSmoothLine;
	Int_t   fSimpleLine;
	Int_t   fBarChart  ;
	Int_t   fBarChart3D;
	Int_t   fBarChartH ;
	Int_t   fPieChart  ;
	Int_t   fText      ;
	Int_t   fTextAngle ;
	Int_t   fLiveStat1Dim;
	Int_t   fLiveGauss;
	Int_t   fLiveBG;
	Int_t   fLiveConstBG;

	Int_t   fDrawAxisAtTop;
	Int_t   fLabelsTopX;
	Int_t   fLabelsRightY;
	Int_t   fOneDimLogX;
	Int_t   fOneDimLogY;
	Int_t   fAdvanced1Dim;
	Int_t   fAdjustMinY;
	Int_t   fAdjustMinYButton;
public:

	Set1DimOptDialog(TGWindow * win = NULL);
	~Set1DimOptDialog() {};
	Set1DimOptDialog(Int_t batch);
//	void Add2ConnectedClasses(TObject *obj);
	void LinLogChanged(TObject* o);
	void RecursiveRemove(TObject * obj);
	void CloseDialog();
	void SetHistAttNow(TCanvas *canvas = NULL, Int_t id = 0);
	void SetHistAtt(TCanvas *canvas = NULL, Int_t id = 0);
	void SetAtt(TH1* hist);
	void SetHistAttPermLocal();
	void SetHistAttPerm();
	static void SetDefaults();
	void SaveDefaults();
	void SetAllToDefault();
	void RestoreDefaults(Int_t resetall = 0);
	void GetValuesFromHist();
	void CloseDown(Int_t wid);
	void CRButtonPressed(Int_t wid, Int_t bid, TObject *obj);
ClassDef(Set1DimOptDialog,0)
};
#endif
 Set1DimOptDialog.h:1
 Set1DimOptDialog.h:2
 Set1DimOptDialog.h:3
 Set1DimOptDialog.h:4
 Set1DimOptDialog.h:5
 Set1DimOptDialog.h:6
 Set1DimOptDialog.h:7
 Set1DimOptDialog.h:8
 Set1DimOptDialog.h:9
 Set1DimOptDialog.h:10
 Set1DimOptDialog.h:11
 Set1DimOptDialog.h:12
 Set1DimOptDialog.h:13
 Set1DimOptDialog.h:14
 Set1DimOptDialog.h:15
 Set1DimOptDialog.h:16
 Set1DimOptDialog.h:17
 Set1DimOptDialog.h:18
 Set1DimOptDialog.h:19
 Set1DimOptDialog.h:20
 Set1DimOptDialog.h:21
 Set1DimOptDialog.h:22
 Set1DimOptDialog.h:23
 Set1DimOptDialog.h:24
 Set1DimOptDialog.h:25
 Set1DimOptDialog.h:26
 Set1DimOptDialog.h:27
 Set1DimOptDialog.h:28
 Set1DimOptDialog.h:29
 Set1DimOptDialog.h:30
 Set1DimOptDialog.h:31
 Set1DimOptDialog.h:32
 Set1DimOptDialog.h:33
 Set1DimOptDialog.h:34
 Set1DimOptDialog.h:35
 Set1DimOptDialog.h:36
 Set1DimOptDialog.h:37
 Set1DimOptDialog.h:38
 Set1DimOptDialog.h:39
 Set1DimOptDialog.h:40
 Set1DimOptDialog.h:41
 Set1DimOptDialog.h:42
 Set1DimOptDialog.h:43
 Set1DimOptDialog.h:44
 Set1DimOptDialog.h:45
 Set1DimOptDialog.h:46
 Set1DimOptDialog.h:47
 Set1DimOptDialog.h:48
 Set1DimOptDialog.h:49
 Set1DimOptDialog.h:50
 Set1DimOptDialog.h:51
 Set1DimOptDialog.h:52
 Set1DimOptDialog.h:53
 Set1DimOptDialog.h:54
 Set1DimOptDialog.h:55
 Set1DimOptDialog.h:56
 Set1DimOptDialog.h:57
 Set1DimOptDialog.h:58
 Set1DimOptDialog.h:59
 Set1DimOptDialog.h:60
 Set1DimOptDialog.h:61
 Set1DimOptDialog.h:62
 Set1DimOptDialog.h:63
 Set1DimOptDialog.h:64
 Set1DimOptDialog.h:65
 Set1DimOptDialog.h:66
 Set1DimOptDialog.h:67
 Set1DimOptDialog.h:68
 Set1DimOptDialog.h:69
 Set1DimOptDialog.h:70
 Set1DimOptDialog.h:71
 Set1DimOptDialog.h:72
 Set1DimOptDialog.h:73
 Set1DimOptDialog.h:74
 Set1DimOptDialog.h:75
 Set1DimOptDialog.h:76
 Set1DimOptDialog.h:77
 Set1DimOptDialog.h:78
 Set1DimOptDialog.h:79
 Set1DimOptDialog.h:80
 Set1DimOptDialog.h:81
 Set1DimOptDialog.h:82
 Set1DimOptDialog.h:83
 Set1DimOptDialog.h:84
 Set1DimOptDialog.h:85
 Set1DimOptDialog.h:86
 Set1DimOptDialog.h:87
 Set1DimOptDialog.h:88