X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FPartSet%2FPartSet_WidgetPoint2dDistance.h;h=0ad39f03cda875779d7f4c54de9eefb706db925e;hb=32208dedf0b2b5bd50b5b86c464f37a8e0eb07d0;hp=c6597a0aa80e5f206b195eaaab3eaae1d3ded47f;hpb=423c10234142d14d0d5de89383f2f96a4ec5930f;p=modules%2Fshaper.git diff --git a/src/PartSet/PartSet_WidgetPoint2dDistance.h b/src/PartSet/PartSet_WidgetPoint2dDistance.h index c6597a0aa..0ad39f03c 100644 --- a/src/PartSet/PartSet_WidgetPoint2dDistance.h +++ b/src/PartSet/PartSet_WidgetPoint2dDistance.h @@ -10,7 +10,7 @@ #include "PartSet.h" #include "PartSet_MouseProcessor.h" -#include +#include #include @@ -36,7 +36,7 @@ class QMouseEvent; * * \endcode */ -class PARTSET_EXPORT PartSet_WidgetPoint2dDistance : public ModuleBase_WidgetDoubleValue, +class PARTSET_EXPORT PartSet_WidgetPoint2dDistance : public ModuleBase_WidgetLabelValue, public PartSet_MouseProcessor { Q_OBJECT @@ -97,6 +97,10 @@ protected: virtual double computeValue(const std::shared_ptr& theFirstPnt, const std::shared_ptr& theCurrentPnt); + /// Saves the internal parameters to the given feature + /// \return True in success + virtual bool storeValueCustom(); + protected: /// A reference to workshop ModuleBase_IWorkshop* myWorkshop;