]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/XGUI/XGUI_Displayer.h
Salome HOME
An improvement to deselect a value in a shape selector control in the same way as...
[modules/shaper.git] / src / XGUI / XGUI_Displayer.h
index b2860a24069e7f77d7b5afccb2ce12a4643bc064..7c66603442255abb3fcad566f4401481cd81f92b 100644 (file)
@@ -85,6 +85,8 @@ class XGUI_EXPORT XGUI_Displayer: public QObject
    */
   void setSelected(const QObjectPtrList& theFeatures, bool isUpdateViewer = true);
 
+  void setSelected(const  QList<ModuleBase_ViewerPrs>& theValues, bool isUpdateViewer = true);
+
 
   /// Unselect all objects
   void clearSelected();
@@ -126,7 +128,7 @@ class XGUI_EXPORT XGUI_Displayer: public QObject
   bool enableUpdateViewer(const bool isEnabled);
 
   /// Updates the viewer
-  void updateViewer();
+  void updateViewer() const;
 
   /// Searches the interactive object by feature
   /// \param theObject the object or presentable feature
@@ -200,7 +202,7 @@ class XGUI_EXPORT XGUI_Displayer: public QObject
   /// Set color on presentation of an object if it is displayed
   /// \param theObject an object 
   /// \param theColor a color which has to be set
-  /// \param theUpdate update viewer flag
+  /// \param toUpdate update viewer flag
   /// \return previously defined color on the object
   QColor setObjectColor(ObjectPtr theObject, const QColor& theColor, bool toUpdate = true);