Salome HOME
HYDROGUI_Wizard has been refactored and now uses QStackedWidget instead of QWizard.
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_ObjSelector.h
index f3853d741e36cbc57b82c68f52eb36c7005b206b..717d700106646f4ff3b597b366b29da6a05a0a2b 100644 (file)
@@ -23,6 +23,8 @@
 #ifndef HYDROGUI_OBJSELECTOR_H
 #define HYDROGUI_OBJSELECTOR_H
 
+#include <HYDROData_Object.h>
+
 #include <QAbstractButton>
 
 class QToolButton;
@@ -34,10 +36,13 @@ 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 SetChecked( const bool );
 
   void SetName( const QString& );
   QString GetName() const;
@@ -52,6 +57,8 @@ protected slots:
 
 private:
   HYDROGUI_Module* myModule;
+  ObjectKind myObjectKind;
+
   QToolButton* myBtn;
   QLineEdit* myObjName;
 };