14 #ifndef TGO4FITPANEL_H
15 #define TGO4FITPANEL_H
18 #include "ui_TGo4FitPanel.h"
42 class QDragEnterEvent;
72 TGo4FitGuiArrow(Double_t x1, Double_t y1, Double_t x2, Double_t y2, Float_t arrowsize, Option_t* option);
91 virtual void Delete(Option_t* option=
"");
93 virtual void ExecuteEvent(Int_t event, Int_t px, Int_t py);
116 TGo4FitPanel( QWidget* parent = 0,
const char* name = 0 );
119 virtual bool IsAcceptDrag(
const char* itemname, TClass * cl,
int kind );
120 virtual void DropOnPanel( QDropEvent* event,
const char * itemname, TClass * cl,
int kind );
211 virtual void FillModelTypesList(QMenu* menu, QSignalMapper* map,
int id,
bool extend);
323 bool LinesView, TObjArray * TableList,
394 #endif // TGO4FITPANEL_H
virtual bool ShowItem(QFitItem *item, bool force)
virtual void MainFindBtn_clicked()
virtual void Cmd_RememberPar(QFitItem *item)
virtual TGo4FitData * Wiz_SelectedData()
virtual void MainAttachBtn_clicked()
virtual void Cmd_AddNewData(QFitItem *item, int id)
virtual void ArrowChanged(TGo4FitGuiArrow *arr)
virtual void UpdateWizModelsList(bool changestack)
virtual void Button_SimpleClear()
virtual void Cmd_AddDependency(QFitItem *item)
virtual void PF_MinWidthEdt_returnPressed()
virtual void UpdatePFAmplLbl()
bool fbSaveWithReferences
virtual void Smp_PolynomBtn_clicked()
virtual TPad * FindPadForSlot(TGo4FitSlot *slot)
virtual void Cmd_DrawData(QFitItem *item)
virtual void Cmd_DeleteAllData(QFitItem *item)
TGo4FitGuiArrow * fxOther
virtual void Cmd_AddRangeCondition(QFitItem *item, int id)
virtual void Cmd_DeleteDependencies(QFitItem *item)
virtual bool UpdateObjectReferenceInSlot(TGo4FitSlot *slot, bool createlink)
virtual bool FillPopupForItem(QFitItem *item, QMenu *menu, QSignalMapper *map)
virtual TGo4Fitter * CloneFitter()
virtual void Cmd_MemorizePar(QFitItem *item)
virtual TPad * FindPadWhereModel(TGo4FitModel *model)
virtual void Fitter_UpdateReferences()
virtual void Button_WorkWithPanel()
virtual void UpdateWizardPage()
virtual void Wiz_RebuildDataBtn_clicked()
virtual void Wiz_ModelBufChk_toggled(bool zn)
virtual void RemoveFitterLink()
virtual void RemoveItemWidget()
bool fbUseSamePanelForDraw
virtual void UpdatePFRelNoiseLbl()
virtual void linkedObjectUpdated(const char *linkname, TObject *obj)
virtual void PF_WidthEdit_returnPressed()
virtual void changeEvent(QEvent *event)
virtual void WorkWithFitterInSlot(TGo4Slot *slot)
virtual bool FillPopupForSlot(TGo4FitSlot *slot, QMenu *menu, QSignalMapper *map)
virtual void SetItemText(QFitItem *item, bool trace)
virtual void ChangeObjectName(QFitNamedWidget *w, const char *newname)
virtual void Cmd_DeleteOutputActions(QFitItem *item)
virtual void Cmd_DeleteDependency(QFitItem *item)
virtual void UpdateItemsOfType(int typ, QFitItem *parent)
virtual void Cmd_DeleteActions(QFitItem *item)
virtual void Smp_ClearBtn_clicked()
virtual void Fitter_New()
virtual void Cmd_DeleteModels(QFitItem *item)
virtual void Wiz_DataListSelect(QListWidgetItem *)
virtual void UpdateWizPaint(int mode)
virtual void Button_PeakFinder()
virtual void FillSlotsList(QFitItem *parent, const TObjArray *lst, TObject *owner)
virtual TPad * ActivePad()
virtual void UpdateWizModelsBtns()
virtual void UpdateWizDataBtns()
virtual void ClearObjectReferenceInSlots()
virtual void Wiz_DataList_doubleClicked(QListWidgetItem *)
virtual void Fitter_SaveToBrowser()
void SetForRange(TGo4FitComponent *Comp, Int_t num, Double_t rangey, Double_t shiftx)
virtual bool IsAcceptDrag(const char *itemname, TClass *cl, int kind)
virtual TGo4Fitter * GetFitter()
virtual void Wiz_ModelListSelect(QListWidgetItem *)
virtual void Delete(Option_t *option="")
virtual void CreateDataFor(TGo4ViewPanel *panel, TPad *pad, TGo4Fitter *fitter)
void SetForPosition(TGo4FitModel *model, TGo4FitGuiArrow *forwidth, Double_t iLineAmpl)
virtual void Wiz_AddModelBtn_clicked()
virtual void Wiz_ShowAllMod_toggled(bool zn)
virtual void Smp_GaussianBtn_clicked()
virtual void Cmd_DeletePar(QFitItem *item)
virtual QString Wiz_GetSlotSourceInfo(TGo4FitSlot *slot)
virtual void Wiz_TakeCurrentRange()
virtual void FitterMenuItemSelected(int id)
virtual void Cmd_DeleteData(QFitItem *item)
virtual void LocateModel(TGo4FitModel *model, TGo4FitData *data, bool usepad)
virtual void Cmd_AddNewAction(QFitItem *item, int id)
virtual void Fitter_PrintParameters()
virtual void Wiz_GetModelInfo(TGo4FitModel *model, QString *info)
virtual void focusInEvent(QFocusEvent *event)
virtual void UpdateItemMenu()
virtual void PF_MinNoiseEdit_returnPressed()
virtual void Wiz_DataSlotsTable_contextMenuRequested(const QPoint &pnt)
virtual void PaintFitter(TGo4Fitter *fitter, QFitItem *item, bool update)
virtual void Cmd_DeletePars(QFitItem *item)
virtual void ChangeViewType(int id)
virtual void Cmd_UpdateAllSlots(QFitItem *item)
virtual void Cmd_CreateFitter()
virtual bool UpdateObjectReferenceInSlots()
virtual void Button_SimpleFit(int nmodel)
virtual void AboutToShowViewMenu()
TGo4FitComponent * fxComp
void SetForWidth(TGo4FitModel *model, TGo4FitGuiArrow *forposition)
virtual void UpdateExtendedPage()
TObjArray * fxParsTableList
virtual void ChangeModelPar(QFitModelWidget *w, int npar, int value)
virtual void Cmd_ClearFitter()
virtual bool ShowItemAsText(QFitItem *item, bool force)
virtual void FillNamedWidget(QFitNamedWidget *w)
virtual TGo4Fitter * CreateFitterFor(TGo4ViewPanel *panel, TPad *pad, const char *name)
virtual TGo4FitData * CreateData(int id, const char *name)
virtual void MainDrawBtn_clicked()
virtual void Cmd_DeleteAction(QFitItem *item)
virtual void Fitter_RollbackParameters()
virtual void Cmd_MoveAction(QFitItem *item, int dir)
QWidget * fxCurrentItemWidget
virtual void Cmd_RemoveModel(TGo4FitModel *model)
virtual void PF_MinWidthEdt_textChanged(const QString &str)
virtual void Smp_LorenzBtn_clicked()
virtual void Cmd_ExecuteActions(QFitItem *item, bool expert)
virtual bool Wiz_RemoveData()
virtual bool ShowItemAsGraph(QFitItem *item, bool force)
virtual void Cmd_RemoveRangeCondition(QFitItem *item)
virtual void UpdateWizDataList()
virtual bool PaintRange(TGo4FitComponent *comp, int nrange, TPad *pad, QFitItem *item)
virtual void PF_MaxWidthEdt_returnPressed()
virtual int GetPadIndexForSlot(TGo4FitSlot *slot)
virtual void Button_PerformFit()
TGo4FitComponent * GetComp()
virtual void Wiz_DelDataBtn_clicked()
virtual TPad * FindPadWhereData(TGo4FitData *data)
virtual bool PaintModel(TGo4FitModel *model, TPad *pad, QFitItem *item)
virtual void Button_FitterDraw(TGo4FitData *selecteddata)
virtual void Wiz_FitNameEdt_textChanged(const QString &name)
virtual void DropOnPanel(QDropEvent *event, const char *itemname, TClass *cl, int kind)
virtual void Cmd_ItemPrint(QFitItem *item)
virtual void PF_WidthEdit_textChanged(const QString &str)
virtual void Wiz_ParTable_valueChanged(int nrow, int ncol)
virtual void Cmd_DeleteMinuitResult(QFitItem *item)
virtual void Fitter_UseWorkspace()
void SetItem(QFitItem *item, TGo4FitPanel *panel)
virtual void Wiz_ModelList_itemChanged(QListWidgetItem *)
Bool_t IsAssignTo(TObject *obj)
virtual void DeleteModelWithPrimit(TGo4FitGuiArrow *arr)
virtual TGo4ViewPanel * ActivePanel()
virtual void Wiz_PFSetupBtn_clicked()
virtual TGo4FitModel * Wiz_SelectedModel()
virtual void Wiz_DataBufChk_toggled(bool zn)
virtual void FillDataTypesList(QMenu *menu, QSignalMapper *map, int id)
virtual void PF_SumUpSpin_valueChanged(int num)
virtual void PF_RelNoiseSlider_valueChanged(int zn)
virtual void Fitter_NewForActivePad(bool overwrite)
QSignalMapper * FitterMap
TGo4FitModel * GetModel()
virtual void PF_MaxWidthEdt_textChanged(const QString &str)
virtual void Wiz_AddDataBtn_clicked()
virtual void SetFitter(TGo4Fitter *)
virtual void Cmd_ClearAssigments(QFitItem *item)
virtual void Cmd_SaveFitter(bool ask)
virtual void Cmd_ExecuteAction(QFitItem *item)
virtual TGo4FitData * Wiz_CreateNewData(int id)
virtual void Cmd_RememberPars(QFitItem *item)
virtual QFitItem * FindItem(TObject *obj, int ObjectType, QFitItem *parent)
virtual void UpdateItem(QFitItem *item, bool trace)
virtual void AboutToShowItemMenu()
virtual TPad * FindPadWhereComp(TGo4FitComponent *comp)
virtual void Cmd_DeleteAssosiatedModels(QFitItem *item)
virtual void PF_RelNoiseSlider_sliderReleased()
virtual void PF_AmplSlider_sliderReleased()
virtual void ChangeObjectTitle(QFitNamedWidget *w, const char *newtitle)
virtual void linkedObjectRemoved(const char *linkname)
virtual void MainFitBtn_clicked()
virtual void FillModelTypesList(QMenu *menu, QSignalMapper *map, int id, bool extend)
virtual TGo4FitModel * Wiz_CreateNewModel(int id)
TGo4ViewPanel * fxActivePanel
virtual void Wiz_BackgroundChk_toggled(bool chk)
virtual void Cmd_MemorizePars(QFitItem *item)
virtual void CloseDrawPanel()
virtual void PF_MinNoiseEdit_textChanged(const QString &str)
virtual void Wiz_UseAmplEstimChk_toggled(bool chk)
virtual void LineParsChk_toggled(bool)
virtual void Wiz_DataUseRangeBtn_clicked()
virtual void FillParsWidget()
virtual void Wiz_DrawDataBtn_clicked()
virtual void MainParsBtn_clicked()
virtual void ExecutePopupForSlot(QFitItem *item, TGo4FitSlot *slot, int id)
virtual bool PaintModelsFor(TGo4Fitter *fitter, TGo4FitData *data, QFitItem *item, bool update)
virtual void Wiz_MigradIterSpin_valueChanged(int num)
virtual void ItemMenuItemSelected(int id)
virtual void AboutToShowSettMenu()
virtual void Cmd_AddNewPar(QFitItem *item)
virtual void panelSlot(TGo4ViewPanel *, TPad *, int)
virtual ~TGo4FitGuiArrow()
virtual void UpdateWizStackWidget()
virtual void FitList_currentItemChanged(QTreeWidgetItem *, QTreeWidgetItem *)
virtual void Wiz_PFPolynSpin_valueChanged(int zn)
virtual void Wiz_UseSelectedRange()
virtual void Wiz_DelModelBtn_clicked()
virtual void Cmd_CloneModel(QFitItem *item)
virtual void UpdateActivePage()
virtual void Wiz_FitFuncCmb_activated(int typ)
virtual void Cmd_DeleteModel(QFitItem *item)
TGo4FitPanel(QWidget *parent=0, const char *name=0)
virtual void Wiz_PFUsePolynChk_toggled(bool zn)
virtual TGo4FitPeakFinder * GetPeakFinder(bool autocreate)
virtual void UpdateSimplePage()
virtual void Fitter_Delete()
virtual void FillDependencyList(QFitItem *parent)
virtual void FitItemDeleted(QFitItem *item)
virtual void ParsTable_valueChanged(int nrow, int ncol)
virtual void ParsTableChanged(QTableWidget *table, int nrow, int ncol, bool LinesView, TObjArray *TableList, bool updatepaint)
virtual void RemovePrimitives()
virtual TGo4FitModel * CreateModel(int id, const char *namebase, TGo4Fitter *fitter, TGo4FitData *data)
virtual void CreateFitSlotLink(TGo4FitSlot *slot, const char *itemname)
virtual void PF_AmplSlider_valueChanged(int zn)
virtual bool WorkingWithPanel()
virtual void Wiz_MinSetupBtn_clicked()
virtual void RemoveDrawObjects()
virtual void FillParsTable(QTableWidget *table, TGo4Fitter *fitter, TGo4FitModel *model, bool LinesView, TObjArray *TableList)
virtual QFitItem * GetFitterItem()
virtual bool WorkingWithOnlyPad()
virtual void Cmd_ClearAssigment(QFitItem *item)
virtual void FindersTab_currentChanged(int)
virtual void Wiz_RebuildDataList()
virtual void AboutToShowFitterMenu()
virtual int DefineModelWidgetType(TObject *obj)
virtual void Smp_ExponentBtn_clicked()
bool fbRecalculateGaussWidth
virtual void FillParsList(QFitItem *item)
virtual void ExecuteEvent(Int_t event, Int_t px, Int_t py)
virtual void UpdateStatusBar(const char *info)
virtual void Cmd_CreateAppropriateFitter()
virtual void Cmd_AddNewModel(QFitItem *item, int id)
virtual void FitList_customContextMenuRequested(const QPoint &)
virtual void Wiz_DataClearRangesBtn_clicked()
virtual void linkedRemoved(TGo4Slot *slot, TObject *obj)
virtual void WorkWithFitter(const char *itemname, TGo4ViewPanel *panel, TPad *pad)
virtual void ChangeSettings(int id)
virtual void ShowPanelPage(int id)
virtual void Cmd_DeleteFitter()
virtual void Wiz_ModelList_doubleClicked(QListWidgetItem *)
virtual void Wiz_CloneModelBtn_clicked()
virtual void Cmd_AssignModelToData(QFitItem *item, int id)
TGo4ViewPanel * fxDrawNewPanel
virtual void Cmd_RemoveRangeConditions(QFitItem *item)
virtual void Cmd_AssignModelToAllData(QFitItem *item)