Salome HOME
HYDRO bug 17: add HYDRO version in About dialog.
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_ObjSelector.h
index 7327df516017f2cbb64f01df7297e69048297342..ba1ff514f8a0f8994ff96846513edf3aaa845053 100644 (file)
@@ -23,6 +23,8 @@
 #ifndef HYDROGUI_OBJSELECTOR_H
 #define HYDROGUI_OBJSELECTOR_H
 
+#include <HYDROData_Object.h>
+
 #include <QAbstractButton>
 
 class QToolButton;
@@ -34,11 +36,14 @@ class HYDROGUI_ObjSelector : public QAbstractButton
   Q_OBJECT
 
 public:
-  HYDROGUI_ObjSelector( HYDROGUI_Module* theModule, QWidget* theParent );
+  HYDROGUI_ObjSelector( HYDROGUI_Module* theModule,
+                        const ObjectKind theObjectKind,
+                        QWidget* theParent );
   virtual ~HYDROGUI_ObjSelector();
 
   void Clear();
 
+  void SetName( const QString& );
   QString GetName() const;
 
 protected:
@@ -51,6 +56,8 @@ protected slots:
 
 private:
   HYDROGUI_Module* myModule;
+  ObjectKind myObjectKind;
+
   QToolButton* myBtn;
   QLineEdit* myObjName;
 };