GSI Object Oriented Online Offline (Go4)  GO4-6.3.0
TGo4HistogramInfo.h
Go to the documentation of this file.
1 // $Id$
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 fuer 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 TGO4HISTOGRAMINFO_H
15 #define TGO4HISTOGRAMINFO_H
16 
17 #include "QGo4Widget.h"
18 #include "ui_TGo4HistogramInfo.h"
19 
20 class TH1;
22 
23 class TGo4HistogramInfo : public QGo4Widget, public Ui::TGo4HistogramInfo
24 {
25  Q_OBJECT
26 
27 public:
28 
41  };
42 
43 
44  TGo4HistogramInfo(QWidget *parent = nullptr, const char *name = nullptr);
45 
46  bool IsAcceptDrag(const char *itemname, TClass *cl, int kind) override;
47  void DropItem(const char *itemname, TClass *cl, int kind) override;
48  void linkedObjectUpdated(const char *linkname, TObject *obj) override;
49  virtual void WorkWithHistogram(const char *itemname);
50  void ResetWidget() override;
51  virtual void RefreshHistogramInfo(TH1 *h1);
52  virtual void RefreshHistogramInfo(TGo4HistogramStatus* hstate);
53 
54 public slots:
55 
56  virtual void HisInfoButton_clicked();
57  virtual void HisPrintButton_clicked();
58  virtual void HisDrawButton_clicked();
59  virtual void PrintLog_clicked();
60 };
61 
62 #endif
void ResetWidget() override
virtual void HisDrawButton_clicked()
virtual void RefreshHistogramInfo(TH1 *h1)
TGo4HistogramInfo(QWidget *parent=nullptr, const char *name=nullptr)
void linkedObjectUpdated(const char *linkname, TObject *obj) override
virtual void PrintLog_clicked()
virtual void HisInfoButton_clicked()
virtual void WorkWithHistogram(const char *itemname)
bool IsAcceptDrag(const char *itemname, TClass *cl, int kind) override
virtual void HisPrintButton_clicked()
void DropItem(const char *itemname, TClass *cl, int kind) override