 |
OpenMS
3.0.0
|
|
Go to the documentation of this file.
38 #include <OpenMS/VISUAL/OpenMS_GUIConfig.h>
44 #include <QtCore/QVector>
67 enum TOOLSTATUS {TOOL_READY, TOOL_SCHEDULED, TOOL_RUNNING, TOOL_SUCCESS, TOOL_CRASH, TOOLSTATUS_SIZE};
83 param_name(rhs.param_name),
84 valid_types(rhs.valid_types)
100 return type == IOT_FILE;
104 return param_name.compare(rhs.
param_name) < 0;
121 for (QVector<IOInfo>::const_iterator it = params.begin();
122 it != params.end(); ++it)
124 if (it->type == IOT_LIST)
return true;
149 String getName()
const override;
151 const String& getType()
const;
153 void getInputParameters(QVector<IOInfo>& input_infos)
const;
155 void getOutputParameters(QVector<IOInfo>& output_infos)
const;
157 void paint(QPainter* painter,
const QStyleOptionGraphicsItem* option,
QWidget* widget)
override;
159 QRectF boundingRect()
const override;
161 void setTopoNr(
UInt nr)
override;
163 void reset(
bool reset_all_files =
false)
override;
165 void setParam(
const Param& param);
167 const Param& getParam();
181 String getFullOutputDirectory()
const;
183 String getOutputDir()
const;
187 void openContainingFolder()
const;
189 void openInTOPPView();
191 bool refreshParameters();
193 bool isToolReady()
const;
195 void toggleBreakpoint();
197 virtual void emitToolStarted();
199 bool invertRecylingMode()
override;
204 void executionFinished(
int ec, QProcess::ExitStatus es);
206 void forwardTOPPOutput();
208 void toolStartedSlot();
210 void toolFinishedSlot();
212 void toolCrashedSlot();
214 void toolFailedSlot();
216 virtual void toolScheduledSlot();
218 void inEdgeHasChanged()
override;
220 void outEdgeHasChanged()
override;
231 void toolFailed(
const QString& message =
"");
233 void toppOutputReady(
const QString& out);
239 void mouseDoubleClickEvent(QGraphicsSceneMouseEvent* e)
override;
247 bool doesParamChangeInvalidate_();
249 bool renameOutput_();
251 bool initParam_(
const QString& old_ini_file =
"");
253 void getParameters_(QVector<IOInfo>& io_infos,
bool input_params)
const;
255 void writeParam_(
const Param& param,
const QString& ini_file);
257 QString toolnameWithWhitespacesForFancyWordWrapping_(QPainter* painter,
const QString& str);
260 void smartFileNames_(std::vector<QStringList>& filenames);
273 bool tool_ready_{
true};
275 bool breakpoint_set_{
false};
A container for all visual items of a TOPPAS workflow.
Definition: TOPPASScene.h:85
A more convenient string class.
Definition: String.h:58
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47
The base class of the different vertex classes.
Definition: TOPPASVertex.h:100
std::vector< String > StringList
Vector of String.
Definition: ListUtils.h:70
unsigned int UInt
Unsigned integer type.
Definition: Types.h:94
Management and storage of parameters / INI files.
Definition: Param.h:69
std::vector< RoundPackage > RoundPackages
all information a node needs to process all rounds
Definition: TOPPASVertex.h:164