Initial comit to use drag and drop

This commit is contained in:
joshua
2021-04-09 11:48:40 +02:00
parent df07f373d8
commit d3ad490b84
6 changed files with 163 additions and 18 deletions

View File

@@ -32,7 +32,16 @@
</widget>
</item>
<item row="1" column="0" colspan="2">
<widget class="QTreeWidget" name="m_terminal_strip_tw">
<widget class="TerminalStripTreeWidget" name="m_terminal_strip_tw">
<property name="dragEnabled">
<bool>false</bool>
</property>
<property name="dragDropMode">
<enum>QAbstractItemView::InternalMove</enum>
</property>
<property name="autoExpandDelay">
<number>500</number>
</property>
<property name="animated">
<bool>true</bool>
</property>
@@ -45,6 +54,13 @@
</item>
</layout>
</widget>
<customwidgets>
<customwidget>
<class>TerminalStripTreeWidget</class>
<extends>QTreeWidget</extends>
<header location="global">terminalstriptreewidget.h</header>
</customwidget>
</customwidgets>
<resources/>
<connections/>
</ui>