#include <QObject>
#include <QString>
+#include <QList>
#include <boost/shared_ptr.hpp>
class ModelAPI_Document;
class ModuleBase_OperationDescription;
+class ModuleBase_ModelWidget;
/*!
\class ModuleBase_IOperation
/// \param theOperation the previous running operation
virtual bool isGranted(ModuleBase_IOperation* theOperation) const;
+ /// Sets a list of model widgets, according to the operation feature xml definition
+ /// \param theXmlRepresentation an xml feature definition
+ /// \param theWidgets a list of widgets
+ void setModelWidgets(const std::string& theXmlRepresentation,
+ QList<ModuleBase_ModelWidget*> theWidgets);
+
signals:
void started(); /// the operation is started
void aborted(); /// the operation is aborted
void setRunning(bool theState);
// Data model methods.
- /// Stores a real value in model.
- /// \param theValue - to store
- virtual void storeReal(double theValue) = 0;
/// Stores a custom value in model.
virtual void storeCustomValue() = 0;