aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/General/library/librarywidget.ui
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2021-01-03 18:15:21 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2021-01-03 18:15:21 +0000
commit773c8c68cf30960a2dd6e67561dd40bd766930bc (patch)
tree9a546efa6cb418890adcc73d7925a90907fd3eea /src/plugins/General/library/librarywidget.ui
parent48c7312f4ba78ccf2947a9b4b0e6fd2bcdcb3066 (diff)
downloadqmmp-773c8c68cf30960a2dd6e67561dd40bd766930bc.tar.gz
qmmp-773c8c68cf30960a2dd6e67561dd40bd766930bc.tar.bz2
qmmp-773c8c68cf30960a2dd6e67561dd40bd766930bc.zip
library: drag and drop support
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@9616 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/General/library/librarywidget.ui')
-rw-r--r--src/plugins/General/library/librarywidget.ui9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/plugins/General/library/librarywidget.ui b/src/plugins/General/library/librarywidget.ui
index 830180bb5..54c9b0b71 100644
--- a/src/plugins/General/library/librarywidget.ui
+++ b/src/plugins/General/library/librarywidget.ui
@@ -25,6 +25,15 @@
</property>
<item>
<widget class="QTreeView" name="treeView">
+ <property name="dragEnabled">
+ <bool>true</bool>
+ </property>
+ <property name="dragDropMode">
+ <enum>QAbstractItemView::DragOnly</enum>
+ </property>
+ <property name="selectionMode">
+ <enum>QAbstractItemView::ExtendedSelection</enum>
+ </property>
<attribute name="headerVisible">
<bool>false</bool>
</attribute>