Public Slots | Public Member Functions | Protected Member Functions | Protected Attributes

TGo4AnalysisWindow Class Reference

#include <TGo4AnalysisWindow.h>

Inheritance diagram for TGo4AnalysisWindow:
QGo4Widget

List of all members.

Public Slots

void readFromStdout ()
void readFromStderr ()
void RequestTerminate ()
void ClearAnalysisOutput ()
void SaveAnalysisOutput ()
void FileDialog_Macro ()
void PrintHistograms ()
void PrintConditions ()
void PrintEvent ()
void CommandSlot ()
void updateTerminalOutput ()

Public Member Functions

 TGo4AnalysisWindow (QWidget *parent=0, const char *name=0, bool needoutput=false, bool needkillbtn=true)
virtual ~TGo4AnalysisWindow ()
void SetHistorySize (int sz)
void StartAnalysisShell (const char *cmd, const char *workdir=0)
void TerminateAnalysisProcess ()
void AppendOutputBuffer (const QString &value)
void WorkWithUpdateObjectCmd (TGo4Slot *slot)
void WaitForNewObject (bool isobjectforeditor)
bool HasOutput ()

Protected Member Functions

virtual void linkedObjectUpdated (const char *linkname, TObject *obj)
virtual void linkedObjectRemoved (const char *linkname)
virtual void resizeEvent (QResizeEvent *)
void CreateButtons (QHBoxLayout *, bool)
void CreateCmdLine (QHBoxLayout *)

Protected Attributes

QProcess * fAnalysisProcess
QGo4CommandsHistoryfxCmdHist
QString outputBuffer
QTextEdit * fxOutput
unsigned int fiMaxOuputSize
bool fNewObjectForEditor

Detailed Description

Definition at line 28 of file TGo4AnalysisWindow.h.


Constructor & Destructor Documentation

TGo4AnalysisWindow::TGo4AnalysisWindow ( QWidget *  parent = 0,
const char *  name = 0,
bool  needoutput = false,
bool  needkillbtn = true 
)
TGo4AnalysisWindow::~TGo4AnalysisWindow (  )  [virtual]

Member Function Documentation

void TGo4AnalysisWindow::AppendOutputBuffer ( const QString &  value  ) 
void TGo4AnalysisWindow::ClearAnalysisOutput (  )  [slot]

Definition at line 285 of file TGo4AnalysisWindow.cpp.

References fxOutput.

Referenced by CreateButtons().

void TGo4AnalysisWindow::CreateButtons ( QHBoxLayout *  box,
bool  needkillbtn 
) [protected]
void TGo4AnalysisWindow::CreateCmdLine ( QHBoxLayout *  box  )  [protected]
void TGo4AnalysisWindow::FileDialog_Macro (  )  [slot]

Definition at line 327 of file TGo4AnalysisWindow.cpp.

References fxCmdHist.

Referenced by CreateCmdLine().

void TGo4AnalysisWindow::linkedObjectRemoved ( const char *  linkname  )  [protected, virtual]

Reimplemented from QGo4Widget.

Definition at line 391 of file TGo4AnalysisWindow.cpp.

References HasOutput(), and QGo4Widget::ServiceCall().

void TGo4AnalysisWindow::linkedObjectUpdated ( const char *  linkname,
TObject *  obj 
) [protected, virtual]
void TGo4AnalysisWindow::PrintConditions (  )  [slot]

Definition at line 354 of file TGo4AnalysisWindow.cpp.

References CommandSlot(), and fxCmdHist.

Referenced by CreateButtons(), and TGo4MainWindow::editorServiceSlot().

void TGo4AnalysisWindow::PrintEvent (  )  [slot]

Definition at line 362 of file TGo4AnalysisWindow.cpp.

References QGo4Widget::ServiceCall().

Referenced by CreateButtons().

void TGo4AnalysisWindow::PrintHistograms (  )  [slot]

Definition at line 346 of file TGo4AnalysisWindow.cpp.

References CommandSlot(), and fxCmdHist.

Referenced by CreateButtons(), and TGo4MainWindow::editorServiceSlot().

void TGo4AnalysisWindow::readFromStderr (  )  [slot]

Definition at line 239 of file TGo4AnalysisWindow.cpp.

References AppendOutputBuffer(), and fAnalysisProcess.

Referenced by StartAnalysisShell().

void TGo4AnalysisWindow::readFromStdout (  )  [slot]

Definition at line 229 of file TGo4AnalysisWindow.cpp.

References AppendOutputBuffer(), and fAnalysisProcess.

Referenced by StartAnalysisShell().

void TGo4AnalysisWindow::RequestTerminate (  )  [slot]

Definition at line 270 of file TGo4AnalysisWindow.cpp.

References QGo4Widget::ServiceCall().

Referenced by CreateButtons().

void TGo4AnalysisWindow::resizeEvent ( QResizeEvent *  e  )  [protected, virtual]

Definition at line 397 of file TGo4AnalysisWindow.cpp.

References go4sett, and TGo4QSettings::storePanelSize().

void TGo4AnalysisWindow::SaveAnalysisOutput (  )  [slot]

Definition at line 291 of file TGo4AnalysisWindow.cpp.

References fxOutput.

void TGo4AnalysisWindow::SetHistorySize ( int  sz  ) 

Definition at line 187 of file TGo4AnalysisWindow.cpp.

References fiMaxOuputSize.

Referenced by TGo4MainWindow::InputTerminalParametersSlot().

void TGo4AnalysisWindow::StartAnalysisShell ( const char *  cmd,
const char *  workdir = 0 
)
void TGo4AnalysisWindow::TerminateAnalysisProcess (  ) 
void TGo4AnalysisWindow::updateTerminalOutput (  )  [slot]

Definition at line 192 of file TGo4AnalysisWindow.cpp.

References fiMaxOuputSize, fxOutput, and outputBuffer.

Referenced by TGo4AnalysisWindow().

void TGo4AnalysisWindow::WaitForNewObject ( bool  isobjectforeditor  ) 
void TGo4AnalysisWindow::WorkWithUpdateObjectCmd ( TGo4Slot slot  ) 

Member Data Documentation

unsigned int TGo4AnalysisWindow::fiMaxOuputSize [protected]

Definition at line 72 of file TGo4AnalysisWindow.h.

Referenced by SetHistorySize(), TGo4AnalysisWindow(), and updateTerminalOutput().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines