|
OpenMS
2.5.0
|
Go to the documentation of this file.
38 #include <OpenMS/VISUAL/OpenMS_GUIConfig.h>
43 #include <QtCore/QVector>
66 enum TOOLSTATUS {TOOL_READY, TOOL_SCHEDULED, TOOL_RUNNING, TOOL_SUCCESS, TOOL_CRASH, TOOLSTATUS_SIZE};
82 param_name(rhs.param_name),
83 valid_types(rhs.valid_types)
99 return type == IOT_FILE;
103 return param_name.compare(rhs.
param_name) < 0;
120 for (QVector<IOInfo>::const_iterator it = params.begin();
121 it != params.end(); ++it)
123 if (it->type == IOT_LIST)
return true;
148 String getName()
const override;
150 const String& getType()
const;
152 void getInputParameters(QVector<IOInfo>& input_infos)
const;
154 void getOutputParameters(QVector<IOInfo>& output_infos)
const;
156 void paint(QPainter* painter,
const QStyleOptionGraphicsItem* option,
QWidget* widget)
override;
158 QRectF boundingRect()
const override;
160 void setTopoNr(
UInt nr)
override;
162 void reset(
bool reset_all_files =
false)
override;
164 void setParam(
const Param& param);
166 const Param& getParam();
180 String getFullOutputDirectory()
const;
182 String getOutputDir()
const;
186 void openContainingFolder();
188 void openInTOPPView();
190 bool refreshParameters();
192 bool isToolReady()
const;
194 void toggleBreakpoint();
196 virtual void emitToolStarted();
198 bool invertRecylingMode()
override;
203 void executionFinished(
int ec, QProcess::ExitStatus es);
205 void forwardTOPPOutput();
207 void toolStartedSlot();
209 void toolFinishedSlot();
211 void toolCrashedSlot();
213 void toolFailedSlot();
215 virtual void toolScheduledSlot();
217 void inEdgeHasChanged()
override;
219 void outEdgeHasChanged()
override;
230 void toolFailed(
const QString& message =
"");
232 void toppOutputReady(
const QString& out);
238 void mouseDoubleClickEvent(QGraphicsSceneMouseEvent* e)
override;
246 bool doesParamChangeInvalidate_();
248 bool renameOutput_();
250 bool initParam_(
const QString& old_ini_file =
"");
252 void getParameters_(QVector<IOInfo>& io_infos,
bool input_params)
const;
254 void writeParam_(
const Param& param,
const QString& ini_file);
256 QString toolnameWithWhitespacesForFancyWordWrapping_(QPainter* painter,
const QString& str);
259 void smartFileNames_(std::vector<QStringList>& filenames);
272 bool tool_ready_{
true};
274 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:46
The base class of the different vertex classes.
Definition: TOPPASVertex.h:101
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:73
std::vector< RoundPackage > RoundPackages
all information a node needs to process all rounds
Definition: TOPPASVertex.h:165