GSI Object Oriented Online Offline (Go4)  GO4-6.1.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
TGo4ParaEdit.h
Go to the documentation of this file.
1 // $Id: TGo4ParaEdit.h 2627 2019-10-01 08:02:45Z 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 #ifndef TGO4PARAEDIT_H
15 #define TGO4PARAEDIT_H
16 
17 #include "QGo4Widget.h"
18 #include "ui_TGo4ParaEdit.h"
19 
20 class QMenuBar;
21 class TGo4Fitter;
22 class TGo4FitPanel;
23 class QStatusBar;
24 class TObject;
25 class TGo4Parameter;
27 class TObjArray;
28 class TClass;
29 
30 class TGo4ParaEdit : public QGo4Widget, public Ui::TGo4ParaEdit
31 {
32  Q_OBJECT
33 
34 public:
35 
37 
38  TGo4ParaEdit(QWidget *parent = 0, const char* name=0);
39  virtual ~TGo4ParaEdit();
40 
41  virtual bool IsAcceptDrag(const char* itemname, TClass* cl, int kind);
42  virtual void DropItem(const char* itemname, TClass* cl, int kind);
43  virtual void linkedObjectUpdated(const char* linkname, TObject* obj);
44  virtual void linkedObjectRemoved( const char * linkname );
45  virtual void WorkWithParameter(const char* itemname, bool isrefresh);
46  virtual void ResetWidget();
47  virtual void RefreshWidget(TGo4Parameter* par);
48  virtual void RefreshWidget(TGo4ParameterStatus* parstatus);
49  virtual void ShowVisibleItems();
50 
51 public slots:
52  virtual void clearTextFields();
53  virtual void ChangedTable( int row, int col );
54  virtual void TableDoubleClick( int row, int col );
55  virtual void ContextMenu( const QPoint& );
56  virtual void ExpandShrinkArray();
57  virtual void IncArrayIndex();
58  virtual void DecArrayIndex();
59  virtual void EditFitter();
60  virtual void GetFitterFromEditor();
61  virtual void saveFile();
62  virtual void RefreshClicked();
63  virtual void ApplyClicked();
64 
65  protected:
67  TObjArray* fItems;
68  QString fItemName;
70 };
71 
72 #endif
virtual ~TGo4ParaEdit()
virtual void linkedObjectRemoved(const char *linkname)
virtual void DropItem(const char *itemname, TClass *cl, int kind)
virtual void ChangedTable(int row, int col)
virtual void GetFitterFromEditor()
virtual void ApplyClicked()
virtual void WorkWithParameter(const char *itemname, bool isrefresh)
virtual void RefreshWidget(TGo4Parameter *par)
QString fItemName
Definition: TGo4ParaEdit.h:68
virtual void linkedObjectUpdated(const char *linkname, TObject *obj)
TGo4ParaEdit(QWidget *parent=0, const char *name=0)
bool fFillingTable
Definition: TGo4ParaEdit.h:69
TObjArray * fItems
Definition: TGo4ParaEdit.h:67
virtual void clearTextFields()
virtual void ExpandShrinkArray()
virtual void saveFile()
virtual void EditFitter()
virtual void IncArrayIndex()
virtual void TableDoubleClick(int row, int col)
virtual bool IsAcceptDrag(const char *itemname, TClass *cl, int kind)
virtual void DecArrayIndex()
virtual void ShowVisibleItems()
virtual void RefreshClicked()
virtual void ResetWidget()
virtual void ContextMenu(const QPoint &)