00001 // $Id: TGo4CreateNewHistogram.h 489 2009-11-04 12:20:26Z linev $ 00002 //----------------------------------------------------------------------- 00003 // The GSI Online Offline Object Oriented (Go4) Project 00004 // Experiment Data Processing at EE department, GSI 00005 //----------------------------------------------------------------------- 00006 // Copyright (C) 2000- GSI Helmholtzzentrum für Schwerionenforschung GmbH 00007 // Planckstr. 1, 64291 Darmstadt, Germany 00008 // Contact: http://go4.gsi.de 00009 //----------------------------------------------------------------------- 00010 // This software can be used under the license agreements as stated 00011 // in Go4License.txt file which is part of the distribution. 00012 //----------------------------------------------------------------------- 00013 00014 #ifndef TGO4CREATENEWHISTOGRAM_H 00015 #define TGO4CREATENEWHISTOGRAM_H 00016 00017 00018 #include <QDialog> 00019 #include "ui_TGo4CreateNewHistogram.h" 00020 00021 class QButtonGroup; 00022 class TH1; 00023 00024 class TGo4CreateNewHistogram : public QDialog, public Ui::TGo4CreateNewHistogram 00025 { 00026 Q_OBJECT 00027 00028 public: 00029 TGo4CreateNewHistogram( QWidget* parent = 0); 00030 void SetAnalysisAvaliable(bool on); 00031 00032 void SetLocalAvaliable(bool on); 00033 00034 int GetSelectedCmd(); 00035 00036 TH1* MakeHistogram(); 00037 00038 public slots: 00039 00040 virtual void CreateLocalHist(); 00041 00042 virtual void CreateRemoteHis(); 00043 00044 protected: 00045 int fSelectedCmd; 00046 00047 QButtonGroup *HisTypeGrp; 00048 QButtonGroup *HisClassGrp; 00049 00050 }; 00051 #endif