Salome HOME
refs #497: redesign of HYDRO main menu.
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_ObjComboBox.h
index c06e41d15ab7ae39163d50929d84e52d513c630d..96889e0102f5755036675b2781becbb6d5ce5751 100644 (file)
 #define HYDROGUI_OBJCOMBOBOX_H
 
 #include <HYDROData_Entity.h>
-
-#include <QComboBox.h>
+#include <QComboBox>
 
 class HYDROGUI_Module;
 class HYDROGUI_ObjComboBoxFilter;
-
 class SUIT_SelectionMgr;
 
 class HYDROGUI_ObjComboBox : public QWidget
@@ -59,6 +57,8 @@ private slots:
     void                        onSelectionChanged();
     void                        onIndexChanged( int );
 
+    void                        updateSelection();
+
 protected:
     QStringList                 objectNames() const;
     SUIT_SelectionMgr*          selectionMgr() const;
@@ -76,6 +76,7 @@ public:
     HYDROGUI_ObjComboBoxFilter() {};
     virtual ~HYDROGUI_ObjComboBoxFilter() {};
 
+    virtual bool isActive( HYDROGUI_ObjComboBox* ) const { return true; };
     virtual bool isOk( const Handle(HYDROData_Entity)& ) const = 0;
 };