GSI Object Oriented Online Offline (Go4) GO4-6.4.0
Loading...
Searching...
No Matches
QFitModelPolynomWidget.cpp
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
15
16#include "TGo4FitModelPolynom.h"
17#include "TGo4FitGuiTypes.h"
18
19QFitModelPolynomWidget::QFitModelPolynomWidget(QWidget *parent, const char *name)
20 : QFitModelWidget(parent, name)
21{
22 setupUi(this);
23 QObject::connect(AxisSpin, QOverload<int>::of(&QSpinBox::valueChanged), this, &QFitModelPolynomWidget::AxisSpin_valueChanged);
24}
25
30
32{
34 if(GetPolynom())
35 AxisSpin->setValue(GetPolynom()->GetMaxNumAxis());
36}
37
virtual void AxisSpin_valueChanged(int)
virtual TGo4FitModelPolynom * GetPolynom()
QFitModelPolynomWidget(QWidget *parent=nullptr, const char *name=nullptr)
QFitModelWidget(QWidget *parent=nullptr, const char *name=nullptr)
void FillSpecificData() override
virtual TObject * GetObject()
bool fbFillWidget
Definition QFitWidget.h:63
virtual void UpdateItemsOfType(int typ, bool allitems=false)
Model objects, which reproduce component of polynomial function.