Salome HOME
Merge commit '4bda6c883bff2af152b1de8d7f6d4820780c2cd2'
[modules/gui.git] / src / Qtx / QtxTreeView.h
index 66d2ca38663539446c6ff66f274d211270191209..120b562c55e7c423532af6e6b09310a40bfc9054 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2014  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2023  CEA, EDF, OPEN CASCADE
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -55,6 +55,9 @@ public:
 
   virtual void setModel( QAbstractItemModel* );
 
+  virtual void scrollTo(const QModelIndex &index,
+                        QAbstractItemView::ScrollHint hint = QAbstractItemView::EnsureVisible);
+
 protected slots:
   void     onHeaderClicked( int );
   void     rowsAboutToBeRemoved( const QModelIndex&, int, int );