Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

TGo4AnalysisWindow Class Reference

#include <TGo4AnalysisWindow.h>

Inheritance diagram for TGo4AnalysisWindow:

QGo4Widget List of all members.

Public Slots

void readFromStdout ()
void readFromStderr ()
void scrollToTop ()
void RequestTerminate ()
void ClearAnalysisOutput ()
void SaveAnalysisOutput ()
void HistActivated (const QString &str)
void FileDialog_Macro ()
void PrintHistograms ()
void PrintConditions ()
void PrintEvent ()
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 *text)
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)
void CreateButtons (QHBoxLayout *, bool)
void CreateCmdLine (QHBoxLayout *)

Protected Attributes

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

Constructor & Destructor Documentation

TGo4AnalysisWindow::TGo4AnalysisWindow QWidget *  parent = 0,
const char *  name = 0,
bool  needoutput = false,
bool  needkillbtn = true
 

Definition at line 43 of file TGo4AnalysisWindow.cpp.

References CreateButtons(), CreateCmdLine(), FALSE, fAnalysisProcess, fiMaxOuputSize, fNewObjectForEditor, fxCmdHist, fxOutput, TGo4QSettings::getTermHistorySize(), go4sett, outputBuffer, QGo4Widget::setCanDestroyWidget(), TRUE, and updateTerminalOutput().

TGo4AnalysisWindow::~TGo4AnalysisWindow  )  [virtual]
 

Definition at line 172 of file TGo4AnalysisWindow.cpp.

References QGo4Widget::Browser().


Member Function Documentation

void TGo4AnalysisWindow::SetHistorySize int  sz  ) 
 

Definition at line 185 of file TGo4AnalysisWindow.cpp.

References fiMaxOuputSize.

Referenced by TGo4MainWindow::InputTerminalParametersSlot().

void TGo4AnalysisWindow::StartAnalysisShell const char *  text  ) 
 

Definition at line 257 of file TGo4AnalysisWindow.cpp.

References fAnalysisProcess, readFromStderr(), readFromStdout(), and TerminateAnalysisProcess().

Referenced by TGo4MainWindow::LaunchClientSlot().

void TGo4AnalysisWindow::TerminateAnalysisProcess  ) 
 

Definition at line 278 of file TGo4AnalysisWindow.cpp.

References AppendOutputBuffer(), and fAnalysisProcess.

Referenced by StartAnalysisShell(), and TGo4MainWindow::TerminateAnalysis().

void TGo4AnalysisWindow::AppendOutputBuffer const QString &  value  ) 
 

Definition at line 245 of file TGo4AnalysisWindow.cpp.

References outputBuffer.

Referenced by readFromStderr(), readFromStdout(), TGo4MainWindow::TerminateAnalysis(), and TerminateAnalysisProcess().

void TGo4AnalysisWindow::WorkWithUpdateObjectCmd TGo4Slot slot  ) 
 

Definition at line 371 of file TGo4AnalysisWindow.cpp.

References QGo4Widget::AddLink().

Referenced by TGo4MainWindow::AddAnalysisProxy(), and TGo4MainWindow::UpdateDockAnalysisWindow().

void TGo4AnalysisWindow::WaitForNewObject bool  isobjectforeditor  ) 
 

Definition at line 377 of file TGo4AnalysisWindow.cpp.

References fNewObjectForEditor.

Referenced by TGo4MainWindow::CreateNewConditionSlot(), TGo4MainWindow::CreateNewDynEntrySlot(), and TGo4MainWindow::CreateNewHistSlot().

bool TGo4AnalysisWindow::HasOutput  ) 
 

Definition at line 179 of file TGo4AnalysisWindow.cpp.

References fxOutput.

Referenced by TGo4MainWindow::AddAnalysisProxy(), CreateButtons(), CreateCmdLine(), linkedObjectRemoved(), TGo4MainWindow::ToggleAnalysisWindow(), and TGo4MainWindow::UpdateDockAnalysisWindow().

void TGo4AnalysisWindow::readFromStdout  )  [slot]
 

Definition at line 226 of file TGo4AnalysisWindow.cpp.

References AppendOutputBuffer(), and fAnalysisProcess.

Referenced by StartAnalysisShell().

void TGo4AnalysisWindow::readFromStderr  )  [slot]
 

Definition at line 236 of file TGo4AnalysisWindow.cpp.

References AppendOutputBuffer(), and fAnalysisProcess.

Referenced by StartAnalysisShell().

void TGo4AnalysisWindow::scrollToTop  )  [slot]
 

Definition at line 251 of file TGo4AnalysisWindow.cpp.

References fxOutput.

void TGo4AnalysisWindow::RequestTerminate  )  [slot]
 

Definition at line 273 of file TGo4AnalysisWindow.cpp.

References QGo4Widget::ServiceCall().

Referenced by CreateButtons().

void TGo4AnalysisWindow::ClearAnalysisOutput  )  [slot]
 

Definition at line 288 of file TGo4AnalysisWindow.cpp.

References fxOutput.

Referenced by CreateButtons().

void TGo4AnalysisWindow::SaveAnalysisOutput  )  [slot]
 

Definition at line 294 of file TGo4AnalysisWindow.cpp.

References fxOutput, and TRUE.

void TGo4AnalysisWindow::HistActivated const QString &  str  )  [slot]
 

Definition at line 313 of file TGo4AnalysisWindow.cpp.

References QGo4CommandsHistory::EnterPressed(), TGo4AnalysisProxy::ExecuteLine(), fxCmdHist, QGo4Widget::GetAnalysis(), and QGo4CommandsHistory::ResetEnterPressed().

Referenced by CreateCmdLine(), PrintConditions(), and PrintHistograms().

void TGo4AnalysisWindow::FileDialog_Macro  )  [slot]
 

Definition at line 333 of file TGo4AnalysisWindow.cpp.

References fxCmdHist.

Referenced by CreateCmdLine().

void TGo4AnalysisWindow::PrintHistograms  )  [slot]
 

Definition at line 348 of file TGo4AnalysisWindow.cpp.

References fxCmdHist, HistActivated(), and QGo4CommandsHistory::SetEnterPressed().

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

void TGo4AnalysisWindow::PrintConditions  )  [slot]
 

Definition at line 357 of file TGo4AnalysisWindow.cpp.

References fxCmdHist, HistActivated(), and QGo4CommandsHistory::SetEnterPressed().

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

void TGo4AnalysisWindow::PrintEvent  )  [slot]
 

Definition at line 366 of file TGo4AnalysisWindow.cpp.

References QGo4Widget::ServiceCall().

Referenced by CreateButtons().

void TGo4AnalysisWindow::updateTerminalOutput  )  [slot]
 

Definition at line 190 of file TGo4AnalysisWindow.cpp.

References FALSE, fiMaxOuputSize, fxOutput, and outputBuffer.

Referenced by TGo4AnalysisWindow().

void TGo4AnalysisWindow::linkedObjectUpdated const char *  linkname,
TObject *  obj
[protected, virtual]
 

Reimplemented from QGo4Widget.

Definition at line 382 of file TGo4AnalysisWindow.cpp.

References QGo4Widget::Browser(), QGo4Widget::EditItem(), fNewObjectForEditor, TGo4AnalysisObjectResult::GetObjectFullName(), and QGo4Widget::InformThatObjectCreated().

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

Reimplemented from QGo4Widget.

Definition at line 395 of file TGo4AnalysisWindow.cpp.

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

void TGo4AnalysisWindow::CreateButtons QHBoxLayout *  ,
bool 
[protected]
 

Definition at line 114 of file TGo4AnalysisWindow.cpp.

References ClearAnalysisOutput(), HasOutput(), PrintConditions(), PrintEvent(), PrintHistograms(), and RequestTerminate().

Referenced by TGo4AnalysisWindow().

void TGo4AnalysisWindow::CreateCmdLine QHBoxLayout *   )  [protected]
 

Definition at line 94 of file TGo4AnalysisWindow.cpp.

References FileDialog_Macro(), fxCmdHist, HasOutput(), and HistActivated().

Referenced by TGo4AnalysisWindow().


Member Data Documentation

QProcess* TGo4AnalysisWindow::fAnalysisProcess [protected]
 

Definition at line 69 of file TGo4AnalysisWindow.h.

Referenced by readFromStderr(), readFromStdout(), StartAnalysisShell(), TerminateAnalysisProcess(), and TGo4AnalysisWindow().

QGo4CommandsHistory* TGo4AnalysisWindow::fxCmdHist [protected]
 

Definition at line 70 of file TGo4AnalysisWindow.h.

Referenced by CreateCmdLine(), FileDialog_Macro(), HistActivated(), PrintConditions(), PrintHistograms(), and TGo4AnalysisWindow().

QString TGo4AnalysisWindow::outputBuffer [protected]
 

Definition at line 71 of file TGo4AnalysisWindow.h.

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

QTextEdit* TGo4AnalysisWindow::fxOutput [protected]
 

Definition at line 72 of file TGo4AnalysisWindow.h.

Referenced by ClearAnalysisOutput(), HasOutput(), SaveAnalysisOutput(), scrollToTop(), TGo4AnalysisWindow(), and updateTerminalOutput().

unsigned int TGo4AnalysisWindow::fiMaxOuputSize [protected]
 

Definition at line 73 of file TGo4AnalysisWindow.h.

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

bool TGo4AnalysisWindow::fNewObjectForEditor [protected]
 

Definition at line 74 of file TGo4AnalysisWindow.h.

Referenced by linkedObjectUpdated(), TGo4AnalysisWindow(), and WaitForNewObject().


The documentation for this class was generated from the following files:
Generated on Fri Nov 28 13:00:28 2008 for Go4-v3.04-1 by  doxygen 1.4.2