GSI Object Oriented Online Offline (Go4)  GO4-6.3.0
TGo4SetScaleValues.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 TGO4SETSCALEVALUES_H
15 #define TGO4SETSCALEVALUES_H
16 
17 #include <QWidget>
18 #include "ui_TGo4SetScaleValues.h"
19 
20 class TGo4ViewPanel;
21 class TPad;
22 
23 class TGo4SetScaleValues : public QWidget, public Ui::TGo4SetScaleValues
24 {
25  Q_OBJECT
26 
27 protected:
28  bool fbDoingRefresh{false};
29 
30 public:
31  TGo4SetScaleValues( QWidget *parent = nullptr, const char *name = nullptr, Qt::WindowFlags fl = Qt::Widget );
32 
33  void refreshView(bool force);
34 
35 public slots:
36 
37  virtual void panelSlot(TGo4ViewPanel *panel, TPad *pad, int signalid);
38 
39  virtual void ApplyValues();
40 
41  virtual void AutoscaleChanged(bool on);
42 };
43 
44 #endif
virtual void AutoscaleChanged(bool on)
void refreshView(bool force)
virtual void panelSlot(TGo4ViewPanel *panel, TPad *pad, int signalid)
TGo4SetScaleValues(QWidget *parent=nullptr, const char *name=nullptr, Qt::WindowFlags fl=Qt::Widget)
virtual void ApplyValues()