Salome HOME
Fix for the issue #593: do not remove naming attribute, but use TNaming_Builder for...
[modules/shaper.git] / src / XGUI / XGUI_ObjectsBrowser.h
index e5965b0ddf8e934838be9146eaaf447aa3957fcf..ade333a350bca37f89174408fd64a7d3d9a2a23c 100644 (file)
@@ -73,7 +73,8 @@ Q_OBJECT
   }
 
   //! Returns list of currently selected objects
-  QObjectPtrList selectedObjects() const;
+  //! \param theIndexes - output list of corresponded indexes (can be NULL)
+  QObjectPtrList selectedObjects(QModelIndexList* theIndexes = 0) const;
 
   /// Set selected list of objects
   /// \param theObjects list of objects to select
@@ -110,6 +111,9 @@ signals:
   //! Emited on context menu request
   void contextMenuRequested(QContextMenuEvent* theEvent);
 
+  //! Segnal is emitted when user cliks by mouse in header label of object browser
+  void headerMouseDblClicked(const QModelIndex&);
+
  protected:
    /// Redefinition of virtual method
   virtual bool eventFilter(QObject* obj, QEvent* theEvent);