aboutsummaryrefslogtreecommitdiff
path: root/lib/bookmarks/bookmarksform.ui
diff options
context:
space:
mode:
Diffstat (limited to 'lib/bookmarks/bookmarksform.ui')
-rw-r--r--lib/bookmarks/bookmarksform.ui35
1 files changed, 34 insertions, 1 deletions
diff --git a/lib/bookmarks/bookmarksform.ui b/lib/bookmarks/bookmarksform.ui
index 5d0f269..78902af 100644
--- a/lib/bookmarks/bookmarksform.ui
+++ b/lib/bookmarks/bookmarksform.ui
@@ -53,7 +53,33 @@
</layout>
</item>
<item>
- <widget class="QTreeView" name="treeView"/>
+ <widget class="BookmarksView" name="treeWidget">
+ <property name="editTriggers">
+ <set>QAbstractItemView::NoEditTriggers</set>
+ </property>
+ <property name="dragEnabled">
+ <bool>true</bool>
+ </property>
+ <property name="dragDropMode">
+ <enum>QAbstractItemView::DragDrop</enum>
+ </property>
+ <property name="defaultDropAction">
+ <enum>Qt::MoveAction</enum>
+ </property>
+ <property name="columnCount">
+ <number>2</number>
+ </property>
+ <column>
+ <property name="text">
+ <string notr="true">Title</string>
+ </property>
+ </column>
+ <column>
+ <property name="text">
+ <string>Address</string>
+ </property>
+ </column>
+ </widget>
</item>
<item>
<widget class="QGroupBox" name="bookmark_groupBox">
@@ -105,6 +131,13 @@
</item>
</layout>
</widget>
+ <customwidgets>
+ <customwidget>
+ <class>BookmarksView</class>
+ <extends>QTreeWidget</extends>
+ <header>bookmarksview.h</header>
+ </customwidget>
+ </customwidgets>
<resources/>
<connections/>
</ui>