GSI Object Oriented Online Offline (Go4)  GO4-6.2.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
QFitWidget.h
Go to the documentation of this file.
1 // $Id: QFitWidget.h 2882 2020-06-09 08:58:34Z 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 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: QFitWidget.h 2882 2020-06-09 08:58:34Z linev $
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 
32 class TObject;
33 class QFitItem;
34 class TGo4Fitter;
35 class TGo4FitPanel;
36 
37 #ifdef __GO4DESIGNER__
38 #include <QtDesigner/QDesignerExportWidget>
39 class QDESIGNER_WIDGET_EXPORT QFitWidget : public QWidget {
40 #else
41 class QFitWidget : public QWidget {
42 #endif
43 
44  Q_OBJECT
45 
46  public:
47  QFitWidget( QWidget* parent = 0, const char* name = 0, Qt::WindowFlags fl = Qt::Widget );
48  ~QFitWidget();
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);
59 
60  protected:
64 
65  virtual void contextMenuEvent(QContextMenuEvent* e);
66 };
67 
68 #endif
QFitItem * fxItem
Definition: QFitWidget.h:62
bool fbFillWidget
Definition: QFitWidget.h:63
TGo4FitPanel * fxPanel
Definition: QFitWidget.h:61