tuchulcha  0.10.1
Graphical Workflow Configuration Editor
LogDecorators::Decorator Class Referenceabstract

log decorator base class to handle different kinds of log dialogs More...

#include <LogDecorators.h>

Inheritance diagram for LogDecorators::Decorator:

Signals

void filter (QString)
 set search filter
 
void finish ()
 finish signal
 
void message (QString)
 status message
 

Public Member Functions

virtual QStringList arguments () const =0
 determine command line arguments
 
virtual QString desc () const
 description string
 
virtual QString filenameHint () const
 hint for filename on save dialog
 
virtual void finishProcessing ()
 inform about finished processing
 
virtual QString helpAnchor ()
 html anchor on help page
 
virtual QString logFileName () const =0
 logfile name for output logging
 
virtual QStringList postStartCommands (QWidget *parent) const
 commands sent to the proccess after start More...
 
virtual void processLine (QString line)
 decorator hook to allow log line parsing More...
 
virtual bool ready (QWidget *parent) const
 check if process may be started More...
 
virtual QWidget * statusWidget ()
 custom status widget
 
virtual QString title () const
 title string
 

Public Attributes

bool debugOutput
 debug output mode
 

Detailed Description

Definition at line 40 of file LogDecorators.h.

Member Function Documentation

QStringList LogDecorators::Decorator::postStartCommands ( QWidget *  parent) const
virtual
Parameters
parentparent widget (for dialog/message boxes)
Returns
list of (interactive) commands

Reimplemented in LogDecorators::RunWorkflow, LogDecorators::UpdateDynamics, and LogDecorators::Update.

Definition at line 65 of file LogDecorators.cpp.

void LogDecorators::Decorator::processLine ( QString  line)
virtual

e.g. to detect finishing (to emit the corresponding signal)

Parameters
linecurrent line

Reimplemented in LogDecorators::RunWorkflow, and LogDecorators::Update.

Definition at line 46 of file LogDecorators.cpp.

bool LogDecorators::Decorator::ready ( QWidget *  parent) const
virtual
Parameters
parentparent widget (for dialog/message boxes)
Return values
falseprocess may not be started

Reimplemented in LogDecorators::RunWorkflow.

Definition at line 61 of file LogDecorators.cpp.


The documentation for this class was generated from the following files: