Salome HOME
Issue #2482: Process compsolids for hiding faces, do not process the same selected...
[modules/shaper.git] / src / ModuleBase / ModuleBase_ListView.h
index 27c22622d3bd159efdbffcbc60f0cdd5669c1755..9fd0f578a7d09013169b0a2c8bf426dc7f473a6b 100644 (file)
@@ -56,6 +56,10 @@ public:
   /// \param theIndex an item internal index
   void addItem(const QString& theTextValue, const int theIndex);
 
+  /// Returns True if the control already contains an item with the given text
+  /// \param theTextValue tex of item to find
+  bool hasItem(const QString& theTextValue) const;
+
   /// Returns list of internal list view item indices
   /// \param theIndices an output container for indices
   void getSelectedIndices(std::set<int>& theIndices);