virtual bool setSelection(QList<ModuleBase_ViewerPrs>& theValues,
const bool theToValidate);
- virtual bool restoreValue()
- {
- return true;
- }
-
/// Returns list of widget controls
/// \return a control list
virtual QList<QWidget*> getControls() 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);