Commit 245bf537 authored by Clément Stenac's avatar Clément Stenac

Multiple selection

parent 88fbf536
...@@ -42,6 +42,7 @@ StandardPLPanel::StandardPLPanel( QWidget *_parent, intf_thread_t *_p_intf, ...@@ -42,6 +42,7 @@ StandardPLPanel::StandardPLPanel( QWidget *_parent, intf_thread_t *_p_intf,
view = new QTreeView( 0 ); view = new QTreeView( 0 );
view->setModel(model); view->setModel(model);
view->header()->resizeSection( 0, 300 ); view->header()->resizeSection( 0, 300 );
view->setSelectionMode( QAbstractItemView::ExtendedSelection );
connect( view, SIGNAL( activated( const QModelIndex& ) ), model, connect( view, SIGNAL( activated( const QModelIndex& ) ), model,
SLOT( activateItem( const QModelIndex& ) ) ); SLOT( activateItem( const QModelIndex& ) ) );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment