Salome HOME
Issue #2024 - Redesign of circle and arc of circle: fill Reference Attribute
[modules/shaper.git] / src / ModuleBase / ModuleBase_ModelWidget.h
index 25db7bcfce3ca4be4388b04609374bb89eeebc8d..fcd2ad508b81e1218ea686d5031162f8c49cbee6 100644 (file)
@@ -93,6 +93,10 @@ Q_OBJECT
   /// \return the boolean result
   bool isUseReset() const { return myUseReset; }
 
+  /// Returns this parameter value in the xml file
+  /// \return the boolean result
+  bool isModifiedInEdit() const { return myIsModifiedInEdit; }
+
   /// Returns this widget value state
   /// \return the enumeration result
   ValueState getValueState() const { return myState; }
@@ -359,6 +363,9 @@ private:
   /// an XML internal state
   bool myIsInternal;
 
+  // an XML state, the value is not stored into model if the widget is in edit mode
+  bool myIsModifiedInEdit;
+
   /// the reset state. If it is false, the reset method of the widget is not performed
   bool myUseReset;
   /// blocked flag of modification of the value state