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
QFitLinearTransWidget.cpp
Go to the documentation of this file.
1
// $Id: QFitLinearTransWidget.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 "
QFitLinearTransWidget.h
"
15
#include "
TGo4FitLinearTrans.h
"
16
17
QFitLinearTransWidget::QFitLinearTransWidget
(QWidget *parent,
const
char
* name)
18
:
QFitNamedWidget
(parent, name)
19
{
20
setupUi(
this
);
21
}
22
23
TGo4FitLinearTrans
*
QFitLinearTransWidget::GetLinearTrans
() {
24
return
dynamic_cast<
TGo4FitLinearTrans
*
>
(
GetObject
());
25
}
26
27
void
QFitLinearTransWidget::FillSpecificData
() {
28
QFitNamedWidget::FillSpecificData
();
29
TGo4FitLinearTrans
* trans =
GetLinearTrans
();
30
if
(trans)
31
NumAxisSpin->setValue(trans->
GetAxis
());
32
33
}
34
35
void
QFitLinearTransWidget::NumAxisSpin_valueChanged
(
int
axis)
36
{
37
if
(!
fbFillWidget
&&
GetLinearTrans
())
38
GetLinearTrans
()->
SetAxis
(axis);
39
}
TGo4FitLinearTrans::GetAxis
Int_t GetAxis()
Definition:
TGo4FitLinearTrans.h:42
TGo4FitLinearTrans::SetAxis
void SetAxis(Int_t iAxis)
Definition:
TGo4FitLinearTrans.h:43
QFitLinearTransWidget::QFitLinearTransWidget
QFitLinearTransWidget(QWidget *parent=0, const char *name=0)
Definition:
QFitLinearTransWidget.cpp:17
QFitWidget::fbFillWidget
bool fbFillWidget
Definition:
QFitWidget.h:64
QFitLinearTransWidget::FillSpecificData
virtual void FillSpecificData()
Definition:
QFitLinearTransWidget.cpp:27
QFitNamedWidget
Definition:
QFitNamedWidget.h:26
TGo4FitLinearTrans.h
QFitLinearTransWidget.h
QFitWidget::GetObject
virtual TObject * GetObject()
Definition:
QFitWidget.cpp:53
QFitNamedWidget::FillSpecificData
virtual void FillSpecificData()
Definition:
QFitNamedWidget.cpp:60
QFitLinearTransWidget::NumAxisSpin_valueChanged
virtual void NumAxisSpin_valueChanged(int)
Definition:
QFitLinearTransWidget.cpp:35
TGo4FitLinearTrans
Definition:
TGo4FitLinearTrans.h:36
QFitLinearTransWidget::GetLinearTrans
virtual TGo4FitLinearTrans * GetLinearTrans()
Definition:
QFitLinearTransWidget.cpp:23
Generated on Fri Oct 26 2018 08:34:53 for GSI Object Oriented Online Offline (Go4) by
1.8.8