OpenMS
TOPPASOutputFolderVertex.h
Go to the documentation of this file.
1 // Copyright (c) 2002-present, The OpenMS Team -- EKU Tuebingen, ETH Zurich, and FU Berlin
2 // SPDX-License-Identifier: BSD-3-Clause
3 //
4 // --------------------------------------------------------------------------
5 // $Maintainer: Chris Bielow $
6 // $Authors: Chris Bielow $
7 // --------------------------------------------------------------------------
8 
9 #pragma once
10 
11 // OpenMS_GUI config
12 #include <OpenMS/VISUAL/OpenMS_GUIConfig.h>
13 
15 
16 namespace OpenMS
17 {
23  class OPENMS_GUI_DLLAPI TOPPASOutputFolderVertex :
24  public TOPPASOutputVertex
25  {
26  Q_OBJECT
27 
28 public:
29  virtual std::unique_ptr<TOPPASVertex> clone() const override;
31  String getName() const override;
32  // documented in base class
33  void paint(QPainter * painter, const QStyleOptionGraphicsItem * option, QWidget * widget) override;
34  // documented in base class
35  QRectF boundingRect() const override;
36 
38  void run() override;
39  };
40 } //namespace OpenMS
A more convenient string class.
Definition: String.h:34
A vertex representing an output folder.
Definition: TOPPASOutputFolderVertex.h:25
virtual std::unique_ptr< TOPPASVertex > clone() const override
Make a copy of this vertex on the heap and return a pointer to it (useful for copying nodes)
String getName() const override
returns "OutputFolderVertex"
QRectF boundingRect() const override
Returns the bounding rectangle of this item.
void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget) override
void run() override
Called when the parent node has finished execution.
A vertex representing an output, either folder or files(s)
Definition: TOPPASOutputVertex.h:24
Main OpenMS namespace.
Definition: openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19