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

TOPPASInputFileListVertex Class Reference
[TOPPAS]

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

#include <OpenMS/VISUAL/TOPPASInputFileListVertex.h>

Inheritance diagram for TOPPASInputFileListVertex:
TOPPASVertex QObject QGraphicsItem

List of all members.

Public Slots

virtual void outEdgeHasChanged ()
 Called by an outgoing edge when it has changed.

Public Member Functions

 TOPPASInputFileListVertex ()
 Default constructor.
 TOPPASInputFileListVertex (const QStringList &files)
 Constructor.
 TOPPASInputFileListVertex (const TOPPASInputFileListVertex &rhs)
 Copy constructor.
virtual ~TOPPASInputFileListVertex ()
 Destructor.
TOPPASInputFileListVertexoperator= (const TOPPASInputFileListVertex &rhs)
 Assignment operator.
virtual String getName () const
 returns "InputVertex"
void setFilenames (const QStringList &files)
 Sets the list of files.
virtual void run ()
 Starts all tools below this node.
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.
bool fileNamesValid ()
 Checks if the given list of file names is valid.
void showFilesDialog ()
 Shows the dialog for editing the files.
void openContainingFolder ()
 Opens the folders of the input files.
const QString & getKey ()
 Returns the key (for applying resources from a resource file).
void setKey (const QString &key)
 Sets the key (for applying resources from a resource file).

Protected Member Functions

reimplemented Qt events

void mouseDoubleClickEvent (QGraphicsSceneMouseEvent *e)

Protected Attributes

QString key_
 The key of this input node (for applying resources from a resource file).

Detailed Description

A vertex representing an input file list.


Constructor & Destructor Documentation

Default constructor.

TOPPASInputFileListVertex ( const QStringList &  files  ) 

Constructor.

Copy constructor.

virtual ~TOPPASInputFileListVertex (  )  [virtual]

Destructor.


Member Function Documentation

virtual QRectF boundingRect (  )  const [virtual]

Returns the bounding rectangle of this item.

Implements TOPPASVertex.

bool fileNamesValid (  ) 

Checks if the given list of file names is valid.

const QString& getKey (  ) 

Returns the key (for applying resources from a resource file).

virtual String getName (  )  const [virtual]

returns "InputVertex"

Implements TOPPASVertex.

void mouseDoubleClickEvent ( QGraphicsSceneMouseEvent *  e  )  [protected]

Reimplemented from TOPPASVertex.

void openContainingFolder (  ) 

Opens the folders of the input files.

TOPPASInputFileListVertex& operator= ( const TOPPASInputFileListVertex rhs  ) 

Assignment operator.

virtual void outEdgeHasChanged (  )  [virtual, slot]

Called by an outgoing edge when it has changed.

Reimplemented from TOPPASVertex.

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

Paints the item.

Implements TOPPASVertex.

virtual void run (  )  [virtual]

Starts all tools below this node.

Reimplemented from TOPPASVertex.

void setFilenames ( const QStringList &  files  ) 

Sets the list of files.

void setKey ( const QString &  key  ) 

Sets the key (for applying resources from a resource file).

virtual QPainterPath shape (  )  const [virtual]

Returns a more precise shape.

Implements TOPPASVertex.

void showFilesDialog (  ) 

Shows the dialog for editing the files.


Member Data Documentation

QString key_ [protected]

The key of this input node (for applying resources from a resource file).


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