Drag and drop layers in the layer manager

This commit is contained in:
Dan Paulat 2023-10-15 09:09:47 -05:00
parent 14d6912014
commit ec2663aee6
3 changed files with 153 additions and 4 deletions

View file

@ -37,6 +37,15 @@
</property>
<item>
<widget class="QTreeView" name="layerTreeView">
<property name="dragEnabled">
<bool>true</bool>
</property>
<property name="dragDropMode">
<enum>QAbstractItemView::InternalMove</enum>
</property>
<property name="defaultDropAction">
<enum>Qt::MoveAction</enum>
</property>
<property name="alternatingRowColors">
<bool>true</bool>
</property>