]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/ModuleBase/ModuleBase_WidgetMultiSelector.h
Salome HOME
updated copyright message
[modules/shaper.git] / src / ModuleBase / ModuleBase_WidgetMultiSelector.h
index f34e18ef568e40ffacf0ad776ebf6a952e3d7111..a4c2f75f01bd51407b154c2e067b5827a38ea234 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2019  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2023  CEA, EDF
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -37,7 +37,8 @@
 
 class QWidget;
 class QCheckBox;
-//class QComboBox;
+class QPushButton;
+class QVBoxLayout;
 class ModuleBase_ListView;
 class ModuleBase_IWorkshop;
 class ModuleBase_ChoiceCtrl;
@@ -115,6 +116,11 @@ class MODULEBASE_EXPORT ModuleBase_WidgetMultiSelector : public ModuleBase_Widge
   /// The slot is called when user press Ok or OkPlus buttons in the parent property panel
   virtual void onFeatureAccepted();
 
+  /// Returns True if data of its feature was modified during operation
+  virtual bool isModified() const;
+
+  virtual void setReadOnly(bool isReadOnly);
+
 public slots:
   /// Slot is called on selection type changed
   void onSelectionTypeChanged();
@@ -176,7 +182,7 @@ protected:
   virtual QIntList shapeTypes() const;
 
   /// Set current shape type for selection
-  void setCurrentShapeType(const int theShapeType);
+  void setCurrentShapeType(const QString& theShapeType);
 
   /// Return the attribute values wrapped in a list of viewer presentations
   /// \return a list of viewer presentations, which contains an attribute result and
@@ -253,12 +259,15 @@ protected:
   bool myIsFirst;
   std::string myDefMode;
 
+  QVBoxLayout* myMainLayout;
   QCheckBox* myGeomCheck;
   ModuleBase_FilterStarter* myFiltersWgt;
+  QPushButton* myShowOnlyBtn;
 
   QObjectPtrList myVisibleObjects;
   QStringList myAllowedObjects;
   QStringList myTmpAllowed;
+  std::string myUseFilters;
 };
 
 #endif /* MODULEBASE_WIDGETFILESELECTOR_H_ */