mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-17 20:50:34 +01:00
Element collection : improve drag and drop behavior
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4325 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -115,6 +115,9 @@ void ElementsCollectionWidget::setUpWidget()
|
||||
m_tree_view->setIconSize(QSize(50, 50));
|
||||
m_tree_view->setDragDropMode(QAbstractItemView::DragDrop);
|
||||
m_tree_view->setContextMenuPolicy(Qt::CustomContextMenu);
|
||||
m_tree_view->setAutoExpandDelay(500);
|
||||
m_tree_view->setAnimated(true);
|
||||
m_tree_view->setVerticalScrollMode(QAbstractItemView::ScrollPerPixel);
|
||||
m_main_vlayout->addWidget(m_tree_view);
|
||||
|
||||
//Setup the progress bar
|
||||
|
||||
Reference in New Issue
Block a user