GSI Object Oriented Online Offline (Go4)  GO4-5.3.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
TGo4CreateNewHistogram.h
Go to the documentation of this file.
1 // $Id: TGo4CreateNewHistogram.h 489 2009-11-04 12:20:26Z linev $
2 //-----------------------------------------------------------------------
3 // The GSI Online Offline Object Oriented (Go4) Project
4 // Experiment Data Processing at EE department, GSI
5 //-----------------------------------------------------------------------
6 // Copyright (C) 2000- GSI Helmholtzzentrum für Schwerionenforschung GmbH
7 // Planckstr. 1, 64291 Darmstadt, Germany
8 // Contact: http://go4.gsi.de
9 //-----------------------------------------------------------------------
10 // This software can be used under the license agreements as stated
11 // in Go4License.txt file which is part of the distribution.
12 //-----------------------------------------------------------------------
13 
14 #ifndef TGO4CREATENEWHISTOGRAM_H
15 #define TGO4CREATENEWHISTOGRAM_H
16 
17 
18 #include <QDialog>
19 #include "ui_TGo4CreateNewHistogram.h"
20 
21 class QButtonGroup;
22 class TH1;
23 
24 class TGo4CreateNewHistogram : public QDialog, public Ui::TGo4CreateNewHistogram
25  {
26  Q_OBJECT
27 
28  public:
29  TGo4CreateNewHistogram( QWidget* parent = 0);
30  void SetAnalysisAvaliable(bool on);
31 
32  void SetLocalAvaliable(bool on);
33 
34  int GetSelectedCmd();
35 
36  TH1* MakeHistogram();
37 
38  public slots:
39 
40  virtual void CreateLocalHist();
41 
42  virtual void CreateRemoteHis();
43 
44  protected:
46 
47  QButtonGroup *HisTypeGrp;
48  QButtonGroup *HisClassGrp;
49 
50  };
51 #endif
TGo4CreateNewHistogram(QWidget *parent=0)