Salome HOME
Construction elements are auxiliary entities:
authornds <natalia.donis@opencascade.com>
Tue, 3 Mar 2015 14:34:14 +0000 (17:34 +0300)
committernds <natalia.donis@opencascade.com>
Tue, 3 Mar 2015 14:34:14 +0000 (17:34 +0300)
commit4637d06f671c4748c8af8318bb50065c6f66860e
treef629ff3b04f2a36ae87101acf7106db227f4054c
parente7cf89a65ed906e2dca9736e3b448f2a3e219950
Construction elements are auxiliary entities:

a boolean flag in the sketch feature,
customize sketch feature presentation by the color change.

Important modification: it was decided to use non-obligatory xml constructions to set the no-focus policy for the attribute.
Otherwise during a segment-line creation, it is not enough to select two points, the check box control has a focus after them.
src/ModuleBase/ModuleBase_ModelWidget.cpp
src/ModuleBase/ModuleBase_ModelWidget.h
src/PartSet/PartSet_WidgetSketchLabel.h
src/SketchPlugin/SketchPlugin_Feature.h
src/SketchPlugin/SketchPlugin_Line.cpp
src/SketchPlugin/SketchPlugin_Plugin.cpp
src/SketchPlugin/plugin-Sketch.xml