GSI Object Oriented Online Offline (Go4)  GO4-5.3.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
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 
25  return dynamic_cast<TGo4FitMatrixTrans*> (GetObject());
26 }
27 
31  if (trans)
32  NumAxisSpin->setValue(trans->GetNumAxis());
33 }
34 
36  if (!fbFillWidget && GetMatrixTrans()) {
37  GetMatrixTrans()->SetNumAxis(num);
38  UpdateWidgetItem(true);
39  }
40 }
void SetNumAxis(Int_t NumAxis)
QFitMatrixTransWidget(QWidget *parent=0, const char *name=0)
virtual void NumAxisSpin_valueChanged(int)
bool fbFillWidget
Definition: QFitWidget.h:64
virtual TObject * GetObject()
Definition: QFitWidget.cpp:53
virtual void FillSpecificData()
virtual TGo4FitMatrixTrans * GetMatrixTrans()
virtual void UpdateWidgetItem(bool trace)
Definition: QFitWidget.cpp:91