]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/ModuleBase/ModuleBase_ModelWidget.h
Salome HOME
Add tools
[modules/shaper.git] / src / ModuleBase / ModuleBase_ModelWidget.h
index cad3f174ca4166c214b8571c2c3f58b31d409789..bc01dc9a28d682bafe37c69d444d8db64ca906e5 100644 (file)
@@ -44,9 +44,6 @@ Q_OBJECT
   {
   }
 
-  //TODO: nds stabilization hotfix
-  virtual void disconnectSignals() {};
-
   /// Fills the widget with default values
   /// \return true if the widget current value is reset
   virtual bool reset() { return false; };
@@ -207,6 +204,10 @@ protected:
   /// The method called when widget is activated
   virtual void activateCustom() {};
 
+  /// Sends a message about block/unblock viewer updating
+  /// \param theValue a boolean value
+  static void blockUpdateViewer(const bool theValue);
+
 protected slots:
   /// Processing of values changed in model widget by store the current value to the feature
   void onWidgetValuesChanged();
@@ -214,13 +215,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; 
@@ -231,10 +232,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;