+ /// Creates a backup of the current values of the attribute
+ /// It should be realized in the specific widget because of different
+ /// parameters of the current attribute
+ /// \param theValid a boolean flag, if restore happens for valid parameters
+ virtual void restoreAttributeValue(const bool theValid);
+
+ /// Fills the attribute with the value of the selected owner
+ /// \param theOwner a selected owner
+ virtual bool setSelectionCustom(const ModuleBase_ViewerPrs& thePrs);
+
+ /// Saves the internal parameters to the given feature
+ /// \return True in success
+ virtual bool storeValueCustom() const
+ {
+ 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);
+
+ private slots:
+ /// Slot on change selection
+ void onSelectionChanged();