Home  · Classes  · Annotated Classes  · Modules  · Members  · Namespaces  · Related Pages
Public Slots | Signals | Public Member Functions | Static Protected Member Functions | Protected Attributes

TOPPASOutputFileListVertex Class Reference
[TOPPAS]

A vertex representing an output file list. More...

#include <OpenMS/VISUAL/TOPPASOutputFileListVertex.h>

Inheritance diagram for TOPPASOutputFileListVertex:
TOPPASVertex QObject QGraphicsItem

List of all members.

Public Slots

virtual void inEdgeHasChanged ()
 Called by an incoming edge when it has changed.

Signals

void outputFileWritten (const String &file)
 Emitted when an output file was written.

Public Member Functions

 TOPPASOutputFileListVertex ()
 Default constructor.
 TOPPASOutputFileListVertex (const TOPPASOutputFileListVertex &rhs)
 Copy constructor.
virtual ~TOPPASOutputFileListVertex ()
 Destructor.
TOPPASOutputFileListVertexoperator= (const TOPPASOutputFileListVertex &rhs)
 Assignment operator.
virtual String getName () const
 returns "OutputVertex"
virtual void paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget)
 Paints the item.
virtual QRectF boundingRect () const
 Returns the bounding rectangle of this item.
virtual QPainterPath shape () const
 Returns a more precise shape.
virtual void reset (bool reset_all_files=false)
 Resets the status.
virtual void run ()
 Called when the parent node has finished execution.
String getFullOutputDirectory () const
 Returns the full directory (including preceding output path as selected by user).
String getOutputDir () const
 Returns the directory where the output files are stored.
String createOutputDir ()
 Creates the output directory for this node.
virtual void setTopoNr (UInt nr)
 Sets the topological sort number and removes invalidated tmp files.
void openContainingFolder ()
 Opens the folders of the output files.

Static Protected Member Functions

static bool copy_ (const QString &from, const QString &to)

Protected Attributes

int files_written_
int files_total_

Detailed Description

A vertex representing an output file list.


Constructor & Destructor Documentation

Default constructor.

Copy constructor.

virtual ~TOPPASOutputFileListVertex (  )  [virtual]

Destructor.


Member Function Documentation

virtual QRectF boundingRect (  )  const [virtual]

Returns the bounding rectangle of this item.

Implements TOPPASVertex.

static bool copy_ ( const QString &  from,
const QString &  to 
) [static, protected]
String createOutputDir (  ) 

Creates the output directory for this node.

String getFullOutputDirectory (  )  const

Returns the full directory (including preceding output path as selected by user).

virtual String getName (  )  const [virtual]

returns "OutputVertex"

Implements TOPPASVertex.

String getOutputDir (  )  const

Returns the directory where the output files are stored.

virtual void inEdgeHasChanged (  )  [virtual, slot]

Called by an incoming edge when it has changed.

Reimplemented from TOPPASVertex.

void openContainingFolder (  ) 

Opens the folders of the output files.

TOPPASOutputFileListVertex& operator= ( const TOPPASOutputFileListVertex rhs  ) 

Assignment operator.

void outputFileWritten ( const String file  )  [signal]

Emitted when an output file was written.

virtual void paint ( QPainter *  painter,
const QStyleOptionGraphicsItem *  option,
QWidget widget 
) [virtual]

Paints the item.

Implements TOPPASVertex.

virtual void reset ( bool  reset_all_files = false  )  [virtual]

Resets the status.

Reimplemented from TOPPASVertex.

virtual void run (  )  [virtual]

Called when the parent node has finished execution.

Reimplemented from TOPPASVertex.

virtual void setTopoNr ( UInt  nr  )  [virtual]

Sets the topological sort number and removes invalidated tmp files.

Reimplemented from TOPPASVertex.

virtual QPainterPath shape (  )  const [virtual]

Returns a more precise shape.

Implements TOPPASVertex.


Member Data Documentation

int files_total_ [protected]
int files_written_ [protected]

OpenMS / TOPP release 1.10.0 Documentation generated on Thu Mar 7 2013 09:42:58 using doxygen 1.7.1