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_TwoImagesDlg.h
index 8ac3bce73c226095aacdda5918c9306f5f48c5e4..76dbe97c99f4950445095ab25571370ea8f77bed 100644 (file)
@@ -58,9 +58,18 @@ public:
   bool                       getSelectedObjects( QString& theName1,
                                                  QString& theName2 ) const;
 
+  void                       setPreselectedObject( const QString& theName );
+
   void                       setColor( const QColor& theColor );
   QColor                     getColor() 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 slots:
   void                       onModifySelectedImage( bool theState );