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