GSI Object Oriented Online Offline (Go4)  GO4-6.1.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
QFitAmplEstimWidget.cpp
Go to the documentation of this file.
1 // $Id: QFitAmplEstimWidget.cpp 3105 2021-03-29 16:54:01Z 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 #include "QFitAmplEstimWidget.h"
15 #include "TGo4FitAmplEstimation.h"
16 
17 QFitAmplEstimWidget::QFitAmplEstimWidget(QWidget *parent, const char* name)
18  : QFitNamedWidget(parent, name)
19 {
20  ui.setupUi(this);
21 
22  QObject::connect(ui.Iterations, SIGNAL(valueChanged(int)), this, SLOT(Iterations_valueChanged(int)));
23 }
24 
26 {
27  return dynamic_cast<TGo4FitAmplEstimation*> (GetObject());
28 }
29 
31 {
33  if (GetAmplEstim())
34  ui.Iterations->setValue(GetAmplEstim()->GetNumIterations());
35 }
36 
37 
39 {
40  if (!fbFillWidget && GetAmplEstim())
42 }
virtual TGo4FitAmplEstimation * GetAmplEstim()
virtual void Iterations_valueChanged(int)
virtual void FillSpecificData()
QFitAmplEstimWidget(QWidget *parent=0, const char *name=0)
bool fbFillWidget
Definition: QFitWidget.h:63
Ui::QFitAmplEstimWidget ui
virtual TObject * GetObject()
Definition: QFitWidget.cpp:51
virtual void FillSpecificData()
void SetNumIterations(Int_t iNumIters)