GSI Object Oriented Online Offline (Go4)  GO4-5.3.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
QFitWidget.h
Go to the documentation of this file.
1 // $Id: QFitWidget.h 1149 2014-01-29 17:00:48Z 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 // $Id: QFitWidget.h 1149 2014-01-29 17:00:48Z 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 für 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 WIN32
38 class QFitWidget : public QWidget {
39 #else
40 #include <QtDesigner/QDesignerExportWidget>
41 class QDESIGNER_WIDGET_EXPORT QFitWidget : public QWidget {
42 #endif
43 
44 
45  Q_OBJECT
46 
47  public:
48  QFitWidget( QWidget* parent = 0, const char* name = 0, Qt::WindowFlags fl = 0 );
49  ~QFitWidget();
50 
51  virtual QFitItem* GetItem();
52  virtual TObject* GetObject();
53  virtual TGo4Fitter* GetFitter();
54  virtual void SetItem(TGo4FitPanel* panel, QFitItem* iItem);
55  virtual void FillWidget();
56  virtual void FillSpecificData();
57  virtual void UpdateWidgetItem(bool trace);
58  virtual void SetWidgetItemText(bool trace);
59  virtual void UpdateItemsOfType(int typ, bool allitems);
60 
61  protected:
65 
66  virtual void contextMenuEvent(QContextMenuEvent* e);
67 };
68 
69 #endif
70 
virtual void FillSpecificData()
Definition: QFitWidget.cpp:71
QFitWidget(QWidget *parent=0, const char *name=0, Qt::WindowFlags fl=0)
Definition: QFitWidget.cpp:26
virtual void SetItem(TGo4FitPanel *panel, QFitItem *iItem)
Definition: QFitWidget.cpp:41
QFitItem * fxItem
Definition: QFitWidget.h:63
bool fbFillWidget
Definition: QFitWidget.h:64
virtual void SetWidgetItemText(bool trace)
Definition: QFitWidget.cpp:97
virtual void FillWidget()
Definition: QFitWidget.cpp:64
virtual void contextMenuEvent(QContextMenuEvent *e)
Definition: QFitWidget.cpp:75
virtual TObject * GetObject()
Definition: QFitWidget.cpp:53
virtual QFitItem * GetItem()
Definition: QFitWidget.cpp:48
virtual TGo4Fitter * GetFitter()
Definition: QFitWidget.cpp:59
virtual void UpdateItemsOfType(int typ, bool allitems)
Definition: QFitWidget.cpp:103
TGo4FitPanel * fxPanel
Definition: QFitWidget.h:62
virtual void UpdateWidgetItem(bool trace)
Definition: QFitWidget.cpp:91