Salome HOME
Use choice control for groups
[modules/shaper.git] / src / ModuleBase / ModuleBase_WidgetMultiSelector.h
index 74b0ff510ea36567495b8204b91dbfb30d0653ae..ca4830e67f3c3cd1e5a00607fda7d8cbd0782a17 100755 (executable)
 
 class QWidget;
 class QListWidget;
-class QComboBox;
+//class QComboBox;
 class ModuleBase_IWorkshop;
 class QAction;
+class ModuleBase_ChoiceCtrl;
 
 
 /**
@@ -218,8 +219,10 @@ protected:
   /// List control
   QListWidget* myListControl;
 
-  /// Combobox of types
-  QComboBox* myTypeCombo;
+  QStringList myShapeTypes;
+
+  /// Control for types
+  ModuleBase_ChoiceCtrl* myTypeCtrl;
 
   /// Provides correspondance between Result object and its shape
   typedef QPair<ResultPtr, GeomShapePtr> GeomSelection;