GSI Object Oriented Online Offline (Go4)
GO4-5.3.2
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
qt4
Go4FitGUI
QFitModelPolynomWidget.cpp
Go to the documentation of this file.
1
// $Id: QFitModelPolynomWidget.cpp 490 2009-11-04 12:30:14Z 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 für 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 "
QFitModelPolynomWidget.h
"
15
16
#include "
TGo4FitModelPolynom.h
"
17
#include "
TGo4FitGuiTypes.h
"
18
19
QFitModelPolynomWidget::QFitModelPolynomWidget
(QWidget *parent,
const
char
* name)
20
:
QFitModelWidget
(parent, name)
21
{
22
setupUi(
this
);
23
}
24
25
26
TGo4FitModelPolynom
*
QFitModelPolynomWidget::GetPolynom
()
27
{
28
return
dynamic_cast<
TGo4FitModelPolynom
*
>
(
GetObject
());
29
}
30
31
void
QFitModelPolynomWidget::FillSpecificData
()
32
{
33
QFitNamedWidget::FillSpecificData
();
34
if
(
GetPolynom
())
35
AxisSpin->setValue(
GetPolynom
()->GetMaxNumAxis());
36
}
37
38
void
QFitModelPolynomWidget::AxisSpin_valueChanged
(
int
num )
39
{
40
if
(!
fbFillWidget
&&
GetPolynom
())
41
if
(
GetPolynom
()->SetMaxNumAxis(num))
42
UpdateItemsOfType
(
FitGui::ot_parslist
,
false
);
43
}
TGo4FitGuiTypes.h
QFitModelPolynomWidget::QFitModelPolynomWidget
QFitModelPolynomWidget(QWidget *parent=0, const char *name=0)
Definition:
QFitModelPolynomWidget.cpp:19
TGo4FitModelPolynom
Definition:
TGo4FitModelPolynom.h:50
QFitWidget::fbFillWidget
bool fbFillWidget
Definition:
QFitWidget.h:64
TGo4FitModelPolynom.h
QFitModelWidget
Definition:
QFitModelWidget.h:27
QFitModelPolynomWidget::AxisSpin_valueChanged
virtual void AxisSpin_valueChanged(int)
Definition:
QFitModelPolynomWidget.cpp:38
QFitWidget::GetObject
virtual TObject * GetObject()
Definition:
QFitWidget.cpp:53
QFitModelPolynomWidget::GetPolynom
virtual TGo4FitModelPolynom * GetPolynom()
Definition:
QFitModelPolynomWidget.cpp:26
QFitModelPolynomWidget.h
QFitNamedWidget::FillSpecificData
virtual void FillSpecificData()
Definition:
QFitNamedWidget.cpp:60
QFitWidget::UpdateItemsOfType
virtual void UpdateItemsOfType(int typ, bool allitems)
Definition:
QFitWidget.cpp:103
QFitModelPolynomWidget::FillSpecificData
virtual void FillSpecificData()
Definition:
QFitModelPolynomWidget.cpp:31
FitGui::ot_parslist
Definition:
TGo4FitGuiTypes.h:21
Generated on Fri Oct 26 2018 08:34:54 for GSI Object Oriented Online Offline (Go4) by
1.8.8