GSI Object Oriented Online Offline (Go4)  GO4-5.3.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
TGo4ParaEdit.h
Go to the documentation of this file.
1 // $Id: TGo4ParaEdit.h 489 2009-11-04 12:20:26Z 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 #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 
52 
53  public slots:
54  virtual void clearTextFields();
55  virtual void ChangedTable( int row, int col );
56  virtual void TableDoubleClick( int row, int col );
57  virtual void ContextMenu( const QPoint& );
58  virtual void ExpandShrinkArray();
59  virtual void IncArrayIndex();
60  virtual void DecArrayIndex();
61  virtual void EditFitter();
62  virtual void GetFitterFromEditor();
63  virtual void saveFile();
64  virtual void RefreshClicked();
65  virtual void ApplyClicked();
66 
67  protected:
69  TObjArray* fItems;
70  QString fItemName;
72 
73  };
74 
75 #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:70
virtual void linkedObjectUpdated(const char *linkname, TObject *obj)
TGo4ParaEdit(QWidget *parent=0, const char *name=0)
bool fFillingTable
Definition: TGo4ParaEdit.h:71
TObjArray * fItems
Definition: TGo4ParaEdit.h:69
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 &)