Skip to content

Commit

Permalink
Add to drag and drop the multiple selection in collections
Browse files Browse the repository at this point in the history
  • Loading branch information
scorpio810 committed Jul 27, 2024
1 parent 7d8734e commit 7c5e013
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sources/ElementsCollection/elementscollectionwidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,7 @@ void ElementsCollectionWidget::setUpWidget()
m_tree_view = new ElementsTreeView(this);
m_tree_view->setHeaderHidden(true);
m_tree_view->setIconSize(QSize(50, 50));
m_tree_view->setSelectionMode(QAbstractItemView::ExtendedSelection);
m_tree_view->setDragDropMode(QAbstractItemView::DragDrop);
m_tree_view->setContextMenuPolicy(Qt::CustomContextMenu);
m_tree_view->setAutoExpandDelay(500);
Expand Down

0 comments on commit 7c5e013

Please sign in to comment.