12 #include <OpenMS/VISUAL/OpenMS_GUIConfig.h>
41 void paint(QPainter * painter,
const QStyleOptionGraphicsItem * option,
QWidget * widget)
override;
45 void reset(
bool reset_all_files =
false)
override;
83 static bool copy_(
const QString & from,
const QString & to);
85 int files_written_ = 0;
A more convenient string class.
Definition: String.h:34
A vertex representing an output file list.
Definition: TOPPASOutputFileListVertex.h:25
TOPPASOutputFileListVertex & operator=(const TOPPASOutputFileListVertex &rhs)
Assignment operator.
void reset(bool reset_all_files=false) override
const QString & getOutputFolderName() const
return the output folder where results are written
TOPPASOutputFileListVertex()=default
Default constructor.
void inEdgeHasChanged() override
TOPPASOutputFileListVertex(const TOPPASOutputFileListVertex &rhs)
Copy constructor.
String getFullOutputDirectory() const
Returns the full directory (including preceding output path as selected by user)
void openContainingFolder() const
Opens the folders of the output files.
String getOutputDir() const
Returns the directory where the output files are stored.
QString output_folder_name_
Definition: TOPPASOutputFileListVertex.h:81
~TOPPASOutputFileListVertex() override=default
Destructor.
void outputFileWritten(const String &file)
Emitted when an output file was written.
static bool copy_(const QString &from, const QString &to)
STATIC(!) function which calls QFile::copy(); needs to be static, since we need to pass a function po...
String getName() const override
returns "OutputVertex"
void setOutputFolderName(const QString &name)
void mouseDoubleClickEvent(QGraphicsSceneMouseEvent *) override
opens the folder containing the output data
QRectF boundingRect() const override
Returns the bounding rectangle of this item.
String createOutputDir() const
Creates the output directory for this node.
void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget) override
void setTopoNr(UInt nr) override
Sets the topological sort number and removes invalidated tmp files.
void run() override
Called when the parent node has finished execution.
void outputFolderNameChanged()
Emitted when user has changed the output folder name (i.e. output dir needs to be newly created and p...
The base class of the different vertex classes.
Definition: TOPPASVertex.h:77
unsigned int UInt
Unsigned integer type.
Definition: Types.h:68
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:22