#include <QFitWidget.h>
Public Member Functions | |
QFitWidget (QWidget *parent=0, const char *name=0, Qt::WindowFlags fl=0) | |
~QFitWidget () | |
virtual QFitItem * | GetItem () |
virtual TObject * | GetObject () |
virtual TGo4Fitter * | GetFitter () |
virtual void | SetItem (TGo4FitPanel *panel, QFitItem *iItem) |
virtual void | FillWidget () |
virtual void | FillSpecificData () |
virtual void | UpdateWidgetItem (bool trace) |
virtual void | SetWidgetItemText (bool trace) |
virtual void | UpdateItemsOfType (int typ, bool allitems) |
Protected Member Functions | |
virtual void | contextMenuEvent (QContextMenuEvent *e) |
Protected Attributes | |
TGo4FitPanel * | fxPanel |
QFitItem * | fxItem |
bool | fbFillWidget |
Definition at line 41 of file QFitWidget.h.
QFitWidget::QFitWidget | ( | QWidget * | parent = 0 , |
|
const char * | name = 0 , |
|||
Qt::WindowFlags | fl = 0 | |||
) |
Definition at line 26 of file QFitWidget.cpp.
References fbFillWidget, fxItem, and fxPanel.
QFitWidget::~QFitWidget | ( | ) |
Definition at line 37 of file QFitWidget.cpp.
void QFitWidget::contextMenuEvent | ( | QContextMenuEvent * | e | ) | [protected, virtual] |
Definition at line 75 of file QFitWidget.cpp.
References TGo4FitPanel::CurrFitItem, TGo4FitPanel::FillPopupForItem(), fxPanel, and GetItem().
void QFitWidget::FillSpecificData | ( | ) | [virtual] |
Reimplemented in QFitAmplEstimWidget, QFitDataWidget, QFitDependencyWidget, QFitLinearTransWidget, QFitMatrixTransWidget, QFitMinuitResWidget, QFitMinuitWidget, QFitModelFormulaWidget, QFitModelFunctionWidget, QFitModelGauss1Widget, QFitModelGauss2Widget, QFitModelGaussNWidget, QFitModelPolynomWidget, QFitNamedWidget, QFitOutputActionWidget, QFitParCfgWidget, QFitParWidget, QFitPeakFinderWidget, QFitPrintWidget, QFitRangeCutWidget, QFitRangeWidget, QFitSlotWidget, QFitTableWidget, and QFitterWidget.
Definition at line 71 of file QFitWidget.cpp.
Referenced by FillWidget().
void QFitWidget::FillWidget | ( | ) | [virtual] |
Definition at line 64 of file QFitWidget.cpp.
References fbFillWidget, and FillSpecificData().
Referenced by TGo4FitPanel::ArrowChanged(), SetItem(), and TGo4FitPanel::ShowItemAsText().
TGo4Fitter * QFitWidget::GetFitter | ( | ) | [virtual] |
Reimplemented in QFitterWidget.
Definition at line 59 of file QFitWidget.cpp.
References fxPanel, and TGo4FitPanel::GetFitter().
Referenced by QFitDataWidget::NumCalibrSpin_valueChanged().
QFitItem * QFitWidget::GetItem | ( | ) | [virtual] |
Definition at line 48 of file QFitWidget.cpp.
References fxItem.
Referenced by TGo4FitPanel::ChangeObjectName(), contextMenuEvent(), QFitTableWidget::FillSpecificData(), QFitDependencyWidget::FillSpecificData(), QFitDataWidget::FillSpecificData(), QFitRangeCutWidget::GetComp(), QFitRangeCutWidget::GetCutIndex(), QFitRangeWidget::GetNumRange(), GetObject(), QFitParCfgWidget::ParNameEdit_textChanged(), SetWidgetItemText(), TGo4FitPanel::ShowItemAsText(), UpdateItemsOfType(), and UpdateWidgetItem().
TObject * QFitWidget::GetObject | ( | ) | [virtual] |
Definition at line 53 of file QFitWidget.cpp.
References GetItem(), and QFitItem::Object().
Referenced by TGo4FitPanel::ChangeModelPar(), TGo4FitPanel::ChangeObjectTitle(), TGo4FitPanel::FillNamedWidget(), QFitTableWidget::FillSpecificData(), QFitPrintWidget::FillSpecificData(), QFitDependencyWidget::FillSpecificData(), QFitAmplEstimWidget::GetAmplEstim(), QFitRangeWidget::GetComp(), QFitRangeCutWidget::GetCut(), QFitDataWidget::GetData(), QFitDependencyWidget::GetDepen(), QFitterWidget::GetFitter(), QFitModelFormulaWidget::GetFormula(), QFitModelFunctionWidget::GetFunction(), QFitModelGauss1Widget::GetGauss1(), QFitModelGauss2Widget::GetGauss2(), QFitModelGaussNWidget::GetGaussN(), QFitLinearTransWidget::GetLinearTrans(), QFitMatrixTransWidget::GetMatrixTrans(), QFitMinuitWidget::GetMinuit(), QFitOutputActionWidget::GetOutAct(), QFitParWidget::GetPar(), QFitParCfgWidget::GetPar(), QFitPeakFinderWidget::GetPF(), QFitModelPolynomWidget::GetPolynom(), QFitMinuitResWidget::GetResult(), and QFitSlotWidget::GetSlot().
void QFitWidget::SetItem | ( | TGo4FitPanel * | panel, | |
QFitItem * | iItem | |||
) | [virtual] |
Definition at line 41 of file QFitWidget.cpp.
References FillWidget(), fxItem, and fxPanel.
Referenced by TGo4FitPanel::Cmd_ItemPrint(), and TGo4FitPanel::ShowItemAsText().
void QFitWidget::SetWidgetItemText | ( | bool | trace | ) | [virtual] |
Definition at line 97 of file QFitWidget.cpp.
References fxPanel, GetItem(), and TGo4FitPanel::SetItemText().
Referenced by TGo4FitPanel::ChangeObjectName(), QFitDependencyWidget::ExpressionEdt_textChanged(), QFitRangeWidget::GetRangeData(), QFitDependencyWidget::ParamEdit_textChanged(), and QFitParWidget::ValueEdt_textChanged().
void QFitWidget::UpdateItemsOfType | ( | int | typ, | |
bool | allitems | |||
) | [virtual] |
Definition at line 103 of file QFitWidget.cpp.
References fxPanel, GetItem(), and TGo4FitPanel::UpdateItemsOfType().
Referenced by QFitDataWidget::AmplChk_toggled(), QFitModelGaussNWidget::AxisNumberSpin_valueChanged(), QFitModelPolynomWidget::AxisSpin_valueChanged(), TGo4FitPanel::ChangeModelPar(), QFitDataWidget::NumCalibrSpin_valueChanged(), QFitModelFunctionWidget::NumParSpin_valueChanged(), and QFitModelFormulaWidget::NumParSpin_valueChanged().
void QFitWidget::UpdateWidgetItem | ( | bool | trace | ) | [virtual] |
Definition at line 91 of file QFitWidget.cpp.
References fxPanel, GetItem(), and TGo4FitPanel::UpdateItem().
Referenced by QFitMatrixTransWidget::NumAxisSpin_valueChanged(), and QFitDataWidget::NumCalibrSpin_valueChanged().
bool QFitWidget::fbFillWidget [protected] |
Definition at line 64 of file QFitWidget.h.
Referenced by QFitModelWidget::AmplChk_toggled(), QFitDataWidget::AmplChk_toggled(), QFitModelGauss2Widget::Axis1Spin_valueChanged(), QFitModelGauss2Widget::Axis2Spin_valueChanged(), QFitModelGaussNWidget::AxisNumberSpin_valueChanged(), QFitModelGauss1Widget::AxisNumSpin_valueChanged(), QFitModelPolynomWidget::AxisSpin_valueChanged(), QFitModelGaussNWidget::AxisTable_valueChanged(), QFitDataWidget::BinsLimitEdt_textChanged(), QFitModelWidget::BuffersChk_toggled(), QFitPeakFinderWidget::ClearModelsChk_toggled(), QFitOutputActionWidget::CommandCombo_activated(), QFitPeakFinderWidget::DataNameEdt_textChanged(), QFitParWidget::EpsilonChk_toggled(), QFitParCfgWidget::EpsilonEdit_textChanged(), QFitParWidget::EpsilonEdt_textChanged(), QFitParWidget::ErrorEdt_textChanged(), QFitRangeCutWidget::ExcludeCutChk_toggled(), QFitModelFormulaWidget::ExprEdt_textChanged(), QFitDependencyWidget::ExpressionEdt_textChanged(), FillWidget(), QFitPeakFinderWidget::FindersTab_currentChanged(), QFitterWidget::FitFunctionTypeCmb_activated(), QFitParWidget::FixedChk_toggled(), QFitModelFunctionWidget::FuncNameEdt_textChanged(), QFitRangeWidget::GetRangeData(), QFitModelWidget::GroupSpin_valueChanged(), QFitAmplEstimWidget::Iterations_valueChanged(), QFitModelFunctionWidget::LibNameEdt_textChanged(), QFitPeakFinderWidget::MaxWidthEdt_textChanged(), QFitPeakFinderWidget::MinWidthEdt_textChanged(), QFitNamedWidget::NameEdt_textChanged(), QFitPeakFinderWidget::NoiseFactorEdit_textChanged(), QFitPeakFinderWidget::NoiseMinEdit_textChanged(), QFitMatrixTransWidget::NumAxisSpin_valueChanged(), QFitLinearTransWidget::NumAxisSpin_valueChanged(), QFitDataWidget::NumCalibrSpin_valueChanged(), QFitModelFunctionWidget::NumParSpin_valueChanged(), QFitModelFormulaWidget::NumParSpin_valueChanged(), QFitRangeCutWidget::NumPointsSpin_valueChanged(), QFitOutputActionWidget::OptionsEdit_textChanged(), QFitDependencyWidget::ParamEdit_textChanged(), QFitParCfgWidget::ParFixedChk_toggled(), QFitParCfgWidget::ParNameEdit_textChanged(), QFitPeakFinderWidget::PolynSpin_valueChanged(), QFitWidget(), QFitParWidget::RangeChk_toggled(), QFitParCfgWidget::RangeMaxEdit_textChanged(), QFitParWidget::RangeMaxEdt_textChanged(), QFitParCfgWidget::RangeMinEdit_textChanged(), QFitParWidget::RangeMinEdt_textChanged(), QFitRangeWidget::RangeTypCmb_activated(), QFitSlotWidget::RequirementChk_toggled(), QFitSlotWidget::SaveCmb_activated(), QFitDataWidget::SigmaCmb_activated(), QFitDataWidget::SigmaEdt_textChanged(), QFitPeakFinderWidget::SumUpSpin_valueChanged(), QFitPeakFinderWidget::ThresholdEdt_textChanged(), QFitNamedWidget::TitleEdt_textChanged(), QFitDataWidget::UseBinsChk_toggled(), QFitDataWidget::UseBuffersChk_toggled(), QFitPeakFinderWidget::UsePolynChk_toggled(), QFitParWidget::ValueEdt_textChanged(), QFitPeakFinderWidget::WidthEdit_textChanged(), and QFitRangeCutWidget::XYTable_valueChanged().
QFitItem* QFitWidget::fxItem [protected] |
Definition at line 63 of file QFitWidget.h.
Referenced by GetItem(), QFitWidget(), and SetItem().
TGo4FitPanel* QFitWidget::fxPanel [protected] |
Definition at line 62 of file QFitWidget.h.
Referenced by QFitModelWidget::AmplChk_toggled(), QFitModelWidget::BuffersChk_toggled(), contextMenuEvent(), QFitSlotWidget::FillSpecificData(), QFitNamedWidget::FillSpecificData(), GetFitter(), QFitModelWidget::GroupSpin_valueChanged(), QFitNamedWidget::NameEdt_textChanged(), QFitWidget(), SetItem(), SetWidgetItemText(), QFitNamedWidget::TitleEdt_textChanged(), UpdateItemsOfType(), and UpdateWidgetItem().