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