Salome HOME
Set default value for case id attribute of Paged Containers (like Toolbox)
[modules/shaper.git] / src / ModuleBase / ModuleBase_ModelWidget.h
index 6d3437fe18c91f703c4a5087cab1539f059c60c1..8adb5bc7682306b89c2037bff1b43af353ecc8a0 100644 (file)
@@ -158,6 +158,9 @@ signals:
   void focusOutWidget(ModuleBase_ModelWidget* theWidget);
 
  protected:
+  /// Sets default value of widget. Nornaly, widget should fetch this value 
+  /// from the xml. However, some widgets derived widgets could define it
+  void setDefaultValue(const std::string& theValue);
   /// \brief Set the attribute name
   /// \param theAttribute the string value with attribute name
   void setAttributeID(const std::string& theAttribute)