26#ifndef __HOTPLUG_ACTION__
27#define __HOTPLUG_ACTION__
58 virtual bool event(QEvent* e)
override;
90 bool initializationPending;
#define CAMITK_API
Definition CamiTKAPI.h:66
VariantDataModel encapsulates QVariant and can be used as a model for any type of QVariant supported ...
Definition VariantDataModel.h:122
ApplyStatus
describes what happened during the application of an algorithm (i.e. results of the apply method)
Definition Action.h:231
Action(ActionExtension *)
Default Constructor: the ActionExtension is needed.
Definition Action.cpp:43
An ActionExtension that can be created on the fly from a camitk extension file.
Definition HotPlugActionExtension.h:44
virtual QWidget * getWidget() override=0
Calls user-defined targetDefined() and getUI().
virtual bool needsUpdate()
if this method returns true, update() should be called.
Definition HotPlugAction.cpp:78
virtual bool init()=0
calls user-defined init()
virtual bool event(QEvent *e) override
manage property change immediately
Definition HotPlugAction.cpp:89
virtual void parameterChangedEvent(QString parameterName)=0
called when a parameter was changed by an event reimplemented in inherited class
HotPlugAction(HotPlugActionExtension *actionExtension, const VariantDataModel &data)
Default Constructor.
Definition HotPlugAction.cpp:43
virtual Action::ApplyStatus apply() override=0
this method is automatically called when the action is triggered.
virtual ~HotPlugAction()=default
Default Destructor.
virtual bool update()
update the action from the source code.
Definition HotPlugAction.cpp:83
HotPlugActionExtension * hotPlugExtension
where the action is managed
Definition HotPlugAction.h:86
This class describes a property that can be used in components and actions or any class that needs to...
Definition Property.h:306