// Set final definitions if they are necessary
//propertyPanelDefined(aOperation);
+ // the sketch manager should return the true state in canBeDisplayed, so it is correct
+ // to switch the property panel value changed flag for this
+ mySketchMgr->onValuesChangedInPropertyPanel();
/// Commit sketcher operations automatically
aOperation->commit();
}
/// Process sketch plane selected event
void onPlaneSelected(const std::shared_ptr<GeomAPI_Pln>& thePln);
+ /// Listens the value changed signal and display the current operation feature
+ void onValuesChangedInPropertyPanel();
private slots:
/// Process the enter mouse to the view port. If the current operation is a create of
/// a nested sketch feature, it hides the feature in the viewer
void onLeaveViewPort();
- void onValuesChangedInPropertyPanel();
void onMousePressed(ModuleBase_IViewWindow*, QMouseEvent*);
void onMouseReleased(ModuleBase_IViewWindow*, QMouseEvent*);
void onMouseMoved(ModuleBase_IViewWindow*, QMouseEvent*);