Salome HOME
Fix for the issue #2753 : error when dump/load script
[modules/shaper.git] / src / ModuleBase / ModuleBase_WidgetMultiSelector.h
index be8bfee91b49e97f17b64547ae34905ea152ba91..4c2898107e52197f3cc3f1a899462ff0514ae699 100755 (executable)
@@ -37,6 +37,7 @@
 #include <QMap>
 
 class QWidget;
+class QCheckBox;
 //class QComboBox;
 class ModuleBase_ListView;
 class ModuleBase_IWorkshop;
@@ -111,6 +112,9 @@ class MODULEBASE_EXPORT ModuleBase_WidgetMultiSelector : public ModuleBase_Widge
   /// \param theActionType type of action. It can be ActionUndo or ActionRedo.
   virtual QList<ActionInfo> actionsList(ModuleBase_ActionType theActionType) const;
 
+  /// The slot is called when user press Ok or OkPlus buttons in the parent property panel
+  virtual void onFeatureAccepted();
+
 public slots:
   /// Slot is called on selection type changed
   void onSelectionTypeChanged();
@@ -127,6 +131,10 @@ protected slots:
   /// Slot is called on selection of list of selected items
   void onListSelection();
 
+  void onListActivated();
+
+  void onSameTopology(bool theOn);
+
 protected:
   /// Returns true if the event is processed. The default implementation is empty, returns false.
   virtual bool processDelete();
@@ -239,6 +247,11 @@ protected:
 
   /// Position in a container of selected values
   int myCurrentHistoryIndex;
+
+  bool myIsFirst;
+  std::string myDefMode;
+
+  QCheckBox* myGeomCheck;
 };
 
 #endif /* MODULEBASE_WIDGETFILESELECTOR_H_ */