tuchulcha  0.10.1
Graphical Workflow Configuration Editor
LogDecorators::Update Class Reference

decorator for update dialog More...

#include <LogDecorators.h>

Inheritance diagram for LogDecorators::Update:

Public Types

enum  StatusCode {
  Invalid = 0, Passed = 1, NoPlugin = 2, Warnings = 4,
  Failed = 6
}
 status code used in log parsing More...
 

Public Member Functions

virtual QStringList arguments () const
 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
 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 QWidget * statusWidget ()
 custom status widget
 
virtual QString title () const
 title string
 
- Public Member Functions inherited from LogDecorators::Decorator
virtual bool ready (QWidget *parent) const
 check if process may be started More...
 

Private Slots

void _appendSummaryRow ()
 append log row with current information
 
void _searchOutput (const QModelIndex &)
 show corresponding log line on selection
 

Private Attributes

QString _curFile
 file name cache
 
QString _curPlugin
 plugin name cache
 
StatusCode _curStatus
 status cache
 
QRegExp _failRegex
 fail regex
 
QRegExp _fileRegex
 file name regexp
 
QRegExp _finishRegex
 plugin unloaded
 
QRegExp _noPluginRegex
 no plugin info
 
QRegExp _passRegex
 plugin passed regexp
 
QStandardItemModel * _result
 update summary
 
QFont _sfFont
 sans-serif font
 
QString _summary
 update summary
 
QFont _ttFont
 typewriter font
 
QTableView * _view
 summary list
 
QRegExp _warnRegex
 no plugin info
 

Additional Inherited Members

- Signals inherited from LogDecorators::Decorator
void filter (QString)
 set search filter
 
void finish ()
 finish signal
 
void message (QString)
 status message
 
- Public Attributes inherited from LogDecorators::Decorator
bool debugOutput
 debug output mode
 

Detailed Description

Definition at line 83 of file LogDecorators.h.

Member Enumeration Documentation

Enumerator
Invalid 

should not occur, initial value

Passed 

success

NoPlugin 

info message: no plugin

Warnings 

warnings occurred

Failed 

Plugin failed.

Definition at line 99 of file LogDecorators.h.

Member Function Documentation

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

Reimplemented from LogDecorators::Decorator.

Definition at line 99 of file LogDecorators.cpp.

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

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

Parameters
linecurrent line

Reimplemented from LogDecorators::Decorator.

Definition at line 232 of file LogDecorators.cpp.


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