+ void keyReleased(QKeyEvent* theEvent);
+
+ /// The signal about the widget is get focus
+ /// \param theWidget the model base widget
+ void focusInWidget(ModuleBase_ModelWidget* theWidget);
+
+ /// The signal about the widget is lost focus
+ /// \param theWidget the model base widget
+ void focusOutWidget(ModuleBase_ModelWidget* theWidget);
+
+ protected:
+ /// \brief Set the attribute name
+ /// \param theAttribute the string value with attribute name
+ void setAttributeID(const std::string& theAttribute)
+ {
+ myAttributeID = theAttribute;
+ }
+
+ /// 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:
+
+ /// 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;
+
+ /// Value should be computed on execute, like radius for circle's constraint (can not be zero)
+ bool myIsComputedDefault;
+
+ /// the default value is defined in the XML for this attribute
+ bool myIsValueDefault;
+ /// Flag which shows that current operation is in editing mode
+ bool myIsEditing;