X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModuleBase%2FModuleBase_IOperation.h;h=5c753c728067ff1a0978a2405291262957a908d3;hb=f8d51abf2ab6024a974d42c139f7650ccf0ef774;hp=4af5c227f6abe858f23262cd958fab9cc3e2cd2a;hpb=fb6327a29cb44836388e29ef7d06137fad863a49;p=modules%2Fshaper.git diff --git a/src/ModuleBase/ModuleBase_IOperation.h b/src/ModuleBase/ModuleBase_IOperation.h index 4af5c227f..5c753c728 100644 --- a/src/ModuleBase/ModuleBase_IOperation.h +++ b/src/ModuleBase/ModuleBase_IOperation.h @@ -13,11 +13,13 @@ #include #include +#include #include class ModelAPI_Document; class ModuleBase_OperationDescription; +class ModuleBase_ModelWidget; /*! \class ModuleBase_IOperation @@ -68,6 +70,12 @@ public: /// \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 theWidgets); + signals: void started(); /// the operation is started void aborted(); /// the operation is aborted @@ -106,9 +114,6 @@ public slots: 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;