Salome HOME
Fix for the bug #45: check and warning when the same image is used in 2 arguments.
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_ObjSelector.h
index ba1ff514f8a0f8994ff96846513edf3aaa845053..e44ba07a2e3faad9b78a7d76febb95941fb2e805 100644 (file)
@@ -42,10 +42,18 @@ public:
   virtual ~HYDROGUI_ObjSelector();
 
   void Clear();
+  void SetChecked( const bool );
 
   void SetName( const QString& );
   QString GetName() const;
 
+signals:
+  /** Signal is emitted if the name has already been selected 
+   *  in other selector of the same parent widget. 
+   * @param theName the selected object name
+   */
+  void alreadySelected( const QString& theName );
+
 protected:
   virtual void paintEvent( QPaintEvent* );
   virtual bool hitButton( const QPoint& thePnt ) const;