/// Set the given wrapped value to the current widget
/// This value should be processed in the widget according to the needs
/// \param theValues the wrapped selection values
/// Set the given wrapped value to the current widget
/// This value should be processed in the widget according to the needs
/// \param theValues the wrapped selection values
virtual bool setSelection(QList<ModuleBase_ViewerPrs>& theValues,
const bool theToValidate);
/// Checks the widget validity. By default, it returns true.
virtual bool setSelection(QList<ModuleBase_ViewerPrs>& theValues,
const bool theToValidate);
/// Checks the widget validity. By default, it returns true.
/// a shape. If the attribute do not uses the shape, it is empty
virtual QList<ModuleBase_ViewerPrs> getAttributeSelection() const;
/// a shape. If the attribute do not uses the shape, it is empty
virtual QList<ModuleBase_ViewerPrs> getAttributeSelection() const;
/// Converts the XML defined type choice to the validator type
/// For example, the "Edges" is converted to "edge"
/// Converts the XML defined type choice to the validator type
/// For example, the "Edges" is converted to "edge"
/// Variable of GeomSelection
int mySelectionCount; // number of elements in the attribute selection list when store
/// Variable of GeomSelection
int mySelectionCount; // number of elements in the attribute selection list when store