]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Allow Object browser's sections to be movable
authorvsr <vsr@opencascade.com>
Tue, 7 Oct 2008 12:11:48 +0000 (12:11 +0000)
committervsr <vsr@opencascade.com>
Tue, 7 Oct 2008 12:11:48 +0000 (12:11 +0000)
src/Qtx/QtxTreeView.cxx

index ea2289616d90e9ae1b18d347a15261b39234397f..6cf3ca533b7f264e36b3bb30c8f6127b639c3ab2 100644 (file)
@@ -178,6 +178,7 @@ QtxTreeView::QtxTreeView( QWidget* parent )
 : QTreeView( parent )
 {
   setHeader( new Header( false, this ) );
+  header()->setMovable( true );
 }
 
 /*!
@@ -189,6 +190,7 @@ QtxTreeView::QtxTreeView( const bool enableSortMenu, QWidget* parent )
 : QTreeView( parent )
 {
   setHeader( new Header( enableSortMenu, this ) );
+  header()->setMovable( true );
 }
 
 /*!