X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FPartSet%2FPartSet_WidgetSketchLabel.h;h=2bc8d85d682d04865b9e815d9adbdced64400b2f;hb=857b1f72d9703c46c6c8c9bb239821d314344c86;hp=3eddeb2d2c52a910b48e6e03a3e716586bbc0dbf;hpb=840655e90a46754f2dd37aac6b888ec32eec69d3;p=modules%2Fshaper.git diff --git a/src/PartSet/PartSet_WidgetSketchLabel.h b/src/PartSet/PartSet_WidgetSketchLabel.h index 3eddeb2d2..2bc8d85d6 100644 --- a/src/PartSet/PartSet_WidgetSketchLabel.h +++ b/src/PartSet/PartSet_WidgetSketchLabel.h @@ -56,11 +56,6 @@ Q_OBJECT virtual bool setSelection(QList& theValues, const bool theToValidate); - virtual bool restoreValue() - { - return true; - } - /// Returns list of widget controls /// \return a control list virtual QList getControls() const; @@ -107,9 +102,18 @@ protected: return true; } + virtual bool restoreValueCustom() + { + return true; + } + /// The methiod called when widget is activated virtual void activateCustom(); + /// Erase preview planes, disconnect widget, change the view projection + /// \param thePrs a selected presentation + void updateByPlaneSelected(const ModuleBase_ViewerPrs& thePrs); + protected: /// Activate or deactivate selection void activateSelection(bool toActivate);