Salome HOME
Issue #1368: Creation of a Qt panel. Persistent mechanism.
[modules/shaper.git] / src / ModuleBase / ModuleBase_IWidgetCreator.h
index cbab144bed2bda4c567efaa159edab5d164afa8e..eac9882635f416b2e0dd52c89c67c5e1277bcd6d 100755 (executable)
@@ -5,6 +5,8 @@
 
 #include "ModuleBase.h"
 
+#include "ModelAPI_Feature.h"
+
 #include <set>
 #include <string>
 #include <memory>
@@ -48,9 +50,11 @@ public:
   /// The default implementation is empty
   /// \param theType a panel type
   /// \param theParent a parent widget
+  /// \param theFeature a feature modified in the panel
   /// \return created widget or null
   virtual QWidget* createPanelByType(const std::string& theType,
-                                     QWidget* theParent);
+                                     QWidget* theParent,
+                                     const FeaturePtr& theFeature);
 
   /// Create page by its type
   /// The default implementation is empty