Salome HOME
Edit created feature after noMoreWidgets. Restart the creation operation by click...
[modules/shaper.git] / src / ModuleBase / ModuleBase_ModelWidget.h
index d09e824c1118ea22c6b2e92a6eb3ca8cdf43cbce..175305244a2ca1aaaca441766dcc5e152e8659b7 100644 (file)
@@ -80,7 +80,7 @@ Q_OBJECT
   /// Set the given wrapped value to the current widget
   /// This value should be processed in the widget according to the needs
   /// \param theValues the wrapped selection values
-  /// \param toValidate the boolean value whether the value should be checked by filters
+  /// \param theToValidate the boolean value whether the value should be checked by filters
   virtual bool setSelection(QList<ModuleBase_ViewerPrs>& theValues,
                             const bool theToValidate)
   {
@@ -137,6 +137,7 @@ Q_OBJECT
   }
 
   /// Set feature which is processing by active operation
+  /// \param theFeature a feature object
   /// \param theToStoreValue a value about necessity to store the widget value to the feature
   void setFeature(const FeaturePtr& theFeature, const bool theToStoreValue = false);
 
@@ -215,13 +216,13 @@ protected slots:
  protected:
 
   /// The attribute name of the model feature
-  std::string myAttributeID; 
+  std::string myAttributeID;
 
   /// Name of parent
-  std::string myParentId;    
+  std::string myParentId;
 
   /// A feature which is processing by active operation
-  FeaturePtr myFeature;      
+  FeaturePtr myFeature;
 
   /// Flag which shows that current operation is in editing mode
   bool myIsEditing; 
@@ -232,10 +233,10 @@ protected slots:
 
 private:
   /// Value should be computed on execute, like radius for circle's constraint (can not be zero)
-  bool myIsComputedDefault; 
-                        
+  bool myIsComputedDefault;
+
   /// the default value, which is defined in the XML for this attribute    
-  std::string myDefaultValue; 
+  std::string myDefaultValue;
 
   /// the reset state. If it is false, the reset method of the widget is not performed
   bool myUseReset;