Commit 9225ec11 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: allow multiple selection in iconView

parent ec86ab4e
......@@ -97,10 +97,12 @@ PlIconView::PlIconView( PLModel *model, QWidget *parent ) : QListView( parent )
setViewMode( QListView::IconMode );
setMovement( QListView::Static );
setResizeMode( QListView::Adjust );
setGridSize( QSize( 100, 100 ) );
setGridSize( QSize( RECT_SIZE, RECT_SIZE ) );
setUniformItemSizes( true );
setSpacing( ITEMS_SPACING );
setWrapping( true );
setSelectionMode( QAbstractItemView::ExtendedSelection );
setAcceptDrops( true );
PlListViewItemDelegate *pl = new PlListViewItemDelegate();
setItemDelegate( pl );
......
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