aboutsummaryrefslogtreecommitdiff
path: root/src/mainwindow.ui
diff options
context:
space:
mode:
authorFelix (xq) Queißner <git@mq32.de>2020-06-29 20:17:42 +0200
committerFelix (xq) Queißner <git@mq32.de>2020-06-29 20:17:42 +0200
commit8e910f26a28b1b1beae363e6c19f39224f74e2e8 (patch)
tree282b768b54c0966578944a5b2cd717ba0fe58cfa /src/mainwindow.ui
parentdcba6f90718d3f009380ad2b2994790866b881e2 (diff)
downloadkristall-8e910f26a28b1b1beae363e6c19f39224f74e2e8.tar.gz
Paves road for new favourite system: Refactors the favourites into tree structure instead of flat list.
Diffstat (limited to 'src/mainwindow.ui')
-rw-r--r--src/mainwindow.ui12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/mainwindow.ui b/src/mainwindow.ui
index 886bd89..2904969 100644
--- a/src/mainwindow.ui
+++ b/src/mainwindow.ui
@@ -120,7 +120,17 @@
<number>0</number>
</property>
<item>
- <widget class="QListView" name="favourites_view"/>
+ <widget class="QTreeView" name="favourites_view">
+ <property name="dragDropMode">
+ <enum>QAbstractItemView::InternalMove</enum>
+ </property>
+ <property name="defaultDropAction">
+ <enum>Qt::MoveAction</enum>
+ </property>
+ <attribute name="headerVisible">
+ <bool>false</bool>
+ </attribute>
+ </widget>
</item>
</layout>
</widget>