-protected:
- /// Returns the attribute name
- /// \returns the string value
- void setAttributeID(const std::string& theAttribute) { myAttributeID = theAttribute; }
+ protected:
+ /// \brief Set the attribute name
+ /// \param theAttribute the string value with attribute name
+ void setAttributeID(const std::string& theAttribute)
+ {
+ myAttributeID = theAttribute;
+ }
+
+ /// Saves the internal parameters to the given feature. Emits signals before and after store
+ /// \return True in success
+ bool storeValue();
+
+ /// Saves the internal parameters to the given feature
+ /// \return True in success
+ virtual bool storeValueCustom() const = 0;
+
+ /// The methiod called when widget is activated
+ virtual void activateCustom() {};
+
+ /// Sends Update and Redisplay for the given object
+ /// \param theObj is updating object
+ void updateObject(ObjectPtr theObj) const;
+
+ /// Sends Move event for the given object
+ /// \param theObj is object for moving
+ void moveObject(ObjectPtr theObj) const;
+
+protected slots:
+ /// Processing of values changed in model widget by store the current value to the feature
+ void onWidgetValuesChanged();
+
+ protected:
+
+ /// The attribute name of the model feature
+ std::string myAttributeID;
+
+ /// Name of parent
+ std::string myParentId;
+
+ /// A feature which is processing by active operation
+ FeaturePtr myFeature;