GSI Object Oriented Online Offline (Go4) GO4-6.4.0
Loading...
Searching...
No Matches
QFitWidget.h
Go to the documentation of this file.
1// $Id$
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 fuer 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// $Id$
15//-----------------------------------------------------------------------
16// The GSI Online Offline Object Oriented (Go4) Project
17// Experiment Data Processing at EE department, GSI
18//-----------------------------------------------------------------------
19// Copyright (C) 2000- GSI Helmholtzzentrum fuer Schwerionenforschung GmbH
20// Planckstr. 1, 64291 Darmstadt, Germany
21// Contact: http://go4.gsi.de
22//-----------------------------------------------------------------------
23// This software can be used under the license agreements as stated
24// in Go4License.txt file which is part of the distribution.
25//-----------------------------------------------------------------------
26
27#ifndef QFITWIDGET_H
28#define QFITWIDGET_H
29
30#include <QWidget>
31
32class TObject;
33class QFitItem;
34class TGo4Fitter;
35class TGo4FitPanel;
36
37#ifdef __GO4DESIGNER__
38#include <QtDesigner/QDesignerExportWidget>
39class QDESIGNER_WIDGET_EXPORT QFitWidget : public QWidget {
40#else
41class QFitWidget : public QWidget {
42#endif
43
44 Q_OBJECT
45
46 public:
47 QFitWidget(QWidget *parent = nullptr, const char *name = nullptr, Qt::WindowFlags fl = Qt::Widget);
49
50 virtual QFitItem* GetItem();
51 virtual TObject *GetObject();
52 virtual TGo4Fitter *GetFitter();
53 virtual void SetItem(TGo4FitPanel* panel, QFitItem* iItem);
54 virtual void FillWidget();
55 virtual void FillSpecificData();
56 virtual void UpdateWidgetItem(bool trace);
57 virtual void SetWidgetItemText(bool trace);
58 virtual void UpdateItemsOfType(int typ, bool allitems = false);
59
60 protected:
62 QFitItem* fxItem{nullptr};
63 bool fbFillWidget{false};
64
65 void contextMenuEvent(QContextMenuEvent* e) override;
66};
67
68#endif
QFitItem * fxItem
Definition QFitWidget.h:62
virtual TObject * GetObject()
bool fbFillWidget
Definition QFitWidget.h:63
virtual void UpdateWidgetItem(bool trace)
virtual void SetWidgetItemText(bool trace)
virtual QFitItem * GetItem()
virtual void FillSpecificData()
virtual TGo4Fitter * GetFitter()
virtual void SetItem(TGo4FitPanel *panel, QFitItem *iItem)
virtual void UpdateItemsOfType(int typ, bool allitems=false)
virtual void FillWidget()
TGo4FitPanel * fxPanel
Definition QFitWidget.h:61
QFitWidget(QWidget *parent=nullptr, const char *name=nullptr, Qt::WindowFlags fl=Qt::Widget)
Central class of Go4Fit package.
Definition TGo4Fitter.h:38