GSI Object Oriented Online Offline (Go4) GO4-6.4.0
Loading...
Searching...
No Matches
ExampleWidget.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 ExampleWidget_h
15#define ExampleWidget_h
16
17#include <QWidget>
18#include "ui_ExampleWidget.h"
19
20class QRootCanvas;
21class TH1F;
22
23class ExampleWidget : public QWidget, public Ui::ExampleWidget
24{
25 Q_OBJECT
26
27 public:
28
29 ExampleWidget(QWidget *parent = nullptr, const char *name = nullptr);
30
31 virtual ~ExampleWidget();
32
33 protected:
34 void resizeEvent(QResizeEvent * e) override;
35
36 TH1F *fHisto{nullptr};
37
38 public slots:
39
40 void InfoButton_clicked();
42 void ExitButton_clicked();
43
44};
45
46#endif
void resizeEvent(QResizeEvent *e) override
void InfoButton_clicked()
void ExitButton_clicked()
ExampleWidget(QWidget *parent=nullptr, const char *name=nullptr)
virtual ~ExampleWidget()
void EditorButton_clicked()
This canvas uses Qt eventloop to handle user input.
Definition QRootCanvas.h:57