GSI Object Oriented Online Offline (Go4)  GO4-6.1.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
ExampleWidget.h
Go to the documentation of this file.
1 // $Id: ExampleWidget.h 2978 2021-01-07 13:23:15Z 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 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 ExampleWidget_h
15 #define ExampleWidget_h
16 
17 #include <QWidget>
18 #include "ui_ExampleWidget.h"
19 
20 class QRootCanvas;
21 class TH1F;
22 
23 class ExampleWidget : public QWidget, public Ui::ExampleWidget
24 {
25  Q_OBJECT
26 
27  public:
28 
29  ExampleWidget(QWidget *parent = 0, const char* name = 0);
30 
31  virtual ~ExampleWidget();
32 
33  protected:
34  virtual void resizeEvent(QResizeEvent * e);
35 
36  TH1F *fHisto;
37 
38  public slots:
39 
40  void InfoButton_clicked();
41  void EditorButton_clicked();
42  void ExitButton_clicked();
43 
44 };
45 
46 #endif
ExampleWidget(QWidget *parent=0, const char *name=0)
virtual ~ExampleWidget()
void InfoButton_clicked()
virtual void resizeEvent(QResizeEvent *e)
Graphic Qt Widget based Canvas.
Definition: QRootCanvas.h:57
void ExitButton_clicked()
void EditorButton_clicked()