add drag-drop reordering for maps in groups

This commit is contained in:
garak
2023-02-13 17:44:56 -05:00
parent a14e70ef53
commit 0ec8f4fee5
9 changed files with 242 additions and 39 deletions

View File

@@ -154,7 +154,7 @@
</layout>
</item>
<item>
<widget class="QTreeView" name="mapList">
<widget class="MapTree" name="mapList">
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Expanding">
<horstretch>0</horstretch>
@@ -289,7 +289,7 @@
</layout>
</item>
<item>
<widget class="QTreeView" name="areaList">
<widget class="MapTree" name="areaList">
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Expanding">
<horstretch>0</horstretch>
@@ -424,7 +424,7 @@
</layout>
</item>
<item>
<widget class="QTreeView" name="layoutList">
<widget class="MapTree" name="layoutList">
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Expanding">
<horstretch>0</horstretch>
@@ -3607,6 +3607,11 @@
<extends>QWidget</extends>
<header>mapview.h</header>
</customwidget>
<customwidget>
<class>MapTree</class>
<extends>QTreeView</extends>
<header>maplistmodels.h</header>
</customwidget>
</customwidgets>
<resources>
<include location="../resources/images.qrc"/>