GSI Object Oriented Online Offline (Go4)  GO4-6.2.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
TGo4AnalysisConfiguration.h
Go to the documentation of this file.
1 // $Id: TGo4AnalysisConfiguration.h 3322 2021-10-11 14:09:58Z 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 TGO4ANALYSISCONFIGURATION_H
15 #define TGO4ANALYSISCONFIGURATION_H
16 
17 #include "QGo4Widget.h"
18 #include "ui_TGo4AnalysisConfiguration.h"
19 
20 class TGo4ConfigStep;
21 class TGo4ServerProxy;
22 
23 class TGo4AnalysisConfiguration : public QGo4Widget, public Ui::TGo4AnalysisConfiguration
24 {
25  Q_OBJECT
26 
27  public:
28  TGo4AnalysisConfiguration(QWidget *parent = 0, const char* name=0);
29 
30  virtual bool IsAcceptDrag(const char* itemname, TClass* cl, int kind);
31 
32  virtual void DropItem(const char* itemname, TClass* cl, int kind);
33 
34  virtual void linkedObjectUpdated(const char* linkname, TObject* obj);
35 
36  virtual void linkedObjectRemoved(const char* linkname);
37 
38  virtual void WorkWithAnalysis(TGo4ServerProxy* anal);
39 
40  virtual void ResetWidget();
41 
42  virtual void RefreshWidget();
43 
44  virtual QString GetSourcePath();
45 
46  virtual QString GetStorePath();
47 
48  virtual void SetSourcePath(const QString & v);
49 
50  virtual void SetStorePath(const QString & v);
51 
52  int GetNumSteps();
53 
54  void ChangeTabTitle(TGo4ConfigStep* step, int number);
55 
57 
58  TGo4ConfigStep* FindStepConfig(QString name);
59 
60  virtual void SetAutoSaveConfig(QString filename,
61  int interval,
62  int compression,
63  bool enbaled,
64  bool overwrite);
65 
66  virtual void GetAutoSaveConfig(QString& filename,
67  int& interval,
68  int& compression,
69  bool& enbaled,
70  bool& overwrite);
71 
72 
73  virtual void SetAnalysisConfigFile(QString filename);
74 
75  virtual void GetAnalysisConfigFile(QString& filename);
76 
77  virtual void DisplayMbsMonitor(const QString& mbsname );
78 
79  public slots:
80 
81  virtual void RequestAnalysisStatus();
82 
83  virtual void FileDialog_ConfFile();
84 
85  virtual void FileDialog_AutoSave();
86 
87  virtual void LineEdit_AutoSaveFile();
88 
89  virtual void SetCompressionLevel( int t);
90 
91  virtual void LoadConfiguration();
92 
93  virtual void SaveConfiguration();
94 
95  virtual void SubmitConfiguration();
96 
97  virtual void SubmitAndStart();
98 
99  virtual void CloseAnalysis();
100 
101  virtual void SetAutoSaveInterval(int t);
102 
103  virtual void SetAutoSaveOverwrite(bool overwrite);
104 
105  virtual void WriteAutoSave();
106 
107  virtual void EnableAutoSaveSlot( bool disabled);
108 
109 protected:
110 
111  virtual void closeEvent(QCloseEvent* e);
112 
114  QString fSourcePath;
115  QString fStorePath;
116  QString fConfigPath;
117  QString fAutoSavePath;
118 
119 };
120 
121 #endif
virtual bool IsAcceptDrag(const char *itemname, TClass *cl, int kind)
virtual void GetAnalysisConfigFile(QString &filename)
virtual void SetAutoSaveConfig(QString filename, int interval, int compression, bool enbaled, bool overwrite)
TGo4ConfigStep * GetStepConfig(int n)
virtual void SetSourcePath(const QString &v)
virtual void SetAutoSaveOverwrite(bool overwrite)
virtual void linkedObjectRemoved(const char *linkname)
virtual void GetAutoSaveConfig(QString &filename, int &interval, int &compression, bool &enbaled, bool &overwrite)
virtual void closeEvent(QCloseEvent *e)
TGo4AnalysisConfiguration(QWidget *parent=0, const char *name=0)
virtual void DropItem(const char *itemname, TClass *cl, int kind)
TGo4ConfigStep * FindStepConfig(QString name)
virtual void SetStorePath(const QString &v)
virtual void EnableAutoSaveSlot(bool disabled)
virtual void WorkWithAnalysis(TGo4ServerProxy *anal)
virtual void DisplayMbsMonitor(const QString &mbsname)
virtual void linkedObjectUpdated(const char *linkname, TObject *obj)
virtual void SetAnalysisConfigFile(QString filename)
void ChangeTabTitle(TGo4ConfigStep *step, int number)