43 class ActionExtension;
279 void setInputComponent(
Component * input);
299 QAction *getQAction();
322 QString getExtensionName()
const;
359 virtual QWidget * getWidget();
362 virtual QPixmap getIcon();
371 bool getAutoUpdateProperties()
const;
374 void setAutoUpdateProperties(
bool);
382 Q_INVOKABLE
virtual Property* getProperty(QString name);
392 virtual bool addParameter(
Property*);
418 void setName(QString name);
426 void setComponent(QString component);
429 void setFamily(QString family);
432 void addTag(QString tag);
435 void setEmbedded(
bool isEmbedded);
438 void setIcon(QPixmap);
547 void preProcessInPipeline();
553 void postProcessInPipeline();
ComponentList aliveBeforeComponents
In case of a pipeline application of the Action (i.e.
Definition: Action.h:534
QStringList getTag() const
the name of the tag called this action
Definition: Action.h:325
QString name
the name of the action
Definition: Action.h:450
QPixmap icon
the Action pixmap icon
Definition: Action.h:471
const char * description
Definition: applications/cepgenerator/main.cpp:37
bool autoUpdateProperties
Should the properties/parameters of this action be automatically updated when the user change somethi...
Definition: Action.h:491
apply() failed : an error occured (usually it means that the apply() was interrupted) ...
Definition: Action.h:223
Action class is an abstract class that enables you to build a action (generally on a component)...
Definition: Action.h:209
bool getEmbedded() const
argument use to know if the widget is embedded or not
Definition: Action.h:330
everything went according to plan
Definition: Action.h:222
ActionExtension * extension
the extension in which this action is declared and registered
Definition: Action.h:468
Definition: Action.cpp:40
ComponentList topLevelSelectedComponents
The list of top level selected components before running the action This list is used to deduce the n...
Definition: Action.h:508
QAction * qAction
the corresponding QAction
Definition: Action.h:474
some (partial) error occured during the application of the algorithm
Definition: Action.h:224
A Component represents something that could be included in the explorer view, the interactive 3D view...
Definition: sdk/libraries/core/component/Component.h:299
QString getName() const
get the name of the action
Definition: Action.h:302
CAMITK_API QList< Component * > ComponentList
A list of Component.
Definition: CamiTKAPI.h:86
#define CAMITK_API
Definition: CamiTKAPI.h:49
This class describes what is a generic Action extension.
Definition: ActionExtension.h:61
QString component
the name of the component class that can be used by this action
Definition: Action.h:456
QString getFamily() const
the name of the family in which this action is associated
Definition: Action.h:317
QString description
the descriptionof the action
Definition: Action.h:453
HistoryItem class describes the entry of an action used in a pipeline, in the history.
Definition: HistoryItem.h:61
ApplyStatus
describes what happened during the application of an algorithm (i.e. results of the apply method) ...
Definition: Action.h:221
HistoryItem * item
Definition: Action.h:503
ComponentList outputComponents
List returned by getOutputComponents()
Definition: Action.h:539
QWidget * actionWidget
the action widget
Definition: Action.h:441
ComponentList targetComponents
The list of valid (regarding the component property) components for which this action is called...
Definition: Action.h:488
QMap< QString, Property * > parameterMap
list of CamiTK property decorating the dynamic properties (action parameters)
Definition: Action.h:477
bool isEmbedded
is the widget embedded or not
Definition: Action.h:465
QString getDescription() const
the description of the action
Definition: Action.h:307
QString getComponent() const
the name of the component class that can be used by this action
Definition: Action.h:312
QString family
the name of the family in which this action is associated
Definition: Action.h:459
QStringList tags
the name of the tag called this action
Definition: Action.h:462
TargetPositionningMethods
Definition: Application.h:67
the action was aborted before completion
Definition: Action.h:225
This class describes a property that can be used in components and actions or any class that needs to...
Definition: Property.h:260