Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

/Go4GUI/TGo4AnalysisWindow.h

Go to the documentation of this file.
00001 //---------------------------------------------------------------
00002 //        Go4 Release Package v2.10-5 (build 21005) 
00003 //                      03-Nov-2005
00004 //---------------------------------------------------------------
00005 //       The GSI Online Offline Object Oriented (Go4) Project
00006 //       Experiment Data Processing at DVEE department, GSI
00007 //---------------------------------------------------------------
00008 //
00009 //Copyright (C) 2000- Gesellschaft f. Schwerionenforschung, GSI
00010 //                    Planckstr. 1, 64291 Darmstadt, Germany
00011 //Contact:            http://go4.gsi.de
00012 //----------------------------------------------------------------
00013 //This software can be used under the license agreements as stated
00014 //in Go4License.txt file which is part of the distribution.
00015 //----------------------------------------------------------------
00016 #ifndef TGO4ANALYSISWINDOW_H
00017 #define TGO4ANALYSISWINDOW_H
00018 
00025 #include "qwidget.h"
00026 
00027 class TGo4GUIRegistry;
00028 class QGridLayout;
00029 class QProcess;
00030 class QToolButton;
00031 class QComandsHistory;
00032 class QTimer;
00033 class QTextEdit;
00034 
00035 class TGo4AnalysisWindow : public QWidget
00036 {
00037     Q_OBJECT
00038 
00039 public:
00040     TGo4AnalysisWindow( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
00041     virtual  ~TGo4AnalysisWindow();
00042 
00043     QString terminalOutputText();
00044 
00045 public slots:
00046    void readFromStdout();
00047     void readFromStderr();
00048     void scrollToTop();
00049     void StartAnalysisShell(const char* text);
00050     void RequestTerminate();
00051     void Terminate();
00052     void clearOutput();
00053 //    void ExeRemMacro();
00054     void HistActivated(const QString& str);
00055     void FileDialog_Macro();
00056     void PrintHistograms();
00057     void PrintConditions();
00058     void PrintEvent();
00059 
00060     void updateTerminalOutput();
00061     void ReadHistorySize();
00062 
00063   protected:
00064 
00065     QGridLayout* TGo4AnalysisWindowLayout;
00066     QProcess *proc;
00067     QProcess *Killproc;
00068     QToolButton *KillProcess;
00069     QToolButton* MacroSearch;
00070     QToolButton* ClearButton;
00071     QToolButton* PrintHistoButton;
00072     QToolButton* PrintConnyButton;
00073     QToolButton* PrintEventButton;
00074     TGo4GUIRegistry *fxTGo4GUIRegistry;
00075     QComandsHistory *fxCmdHist;
00076     QTimer *UpdateTimer;
00077     QString outputBuffer;
00078     QTextEdit* fxOutput;
00079     unsigned int fiMaxOuputSize;
00081     bool fbLocalClient;
00082 };
00083 
00084 #endif // TGO4ANALYSISWINDOW_H
00085 
00086 
00087 
00088 
00089 //----------------------------END OF GO4 SOURCE FILE ---------------------

Generated on Tue Nov 8 10:55:59 2005 for Go4-v2.10-5 by doxygen1.2.15