summaryrefslogtreecommitdiffstats
path: root/gui/LegacyModEditDialog.ui
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2013-08-18 20:52:17 +0200
committerPetr Mrázek <peterix@gmail.com>2013-08-18 20:52:17 +0200
commitc92ad7dcf86f2e5e71d71a68e24e79fbdeceb56d (patch)
tree7be301a5123e216a41646f9639ec887609497a87 /gui/LegacyModEditDialog.ui
parent253067c782955380bbf66ac0475dc954375b1ff4 (diff)
downloadMultiMC-c92ad7dcf86f2e5e71d71a68e24e79fbdeceb56d.tar
MultiMC-c92ad7dcf86f2e5e71d71a68e24e79fbdeceb56d.tar.gz
MultiMC-c92ad7dcf86f2e5e71d71a68e24e79fbdeceb56d.tar.lz
MultiMC-c92ad7dcf86f2e5e71d71a68e24e79fbdeceb56d.tar.xz
MultiMC-c92ad7dcf86f2e5e71d71a68e24e79fbdeceb56d.zip
Drag and Drop, mod management.
Diffstat (limited to 'gui/LegacyModEditDialog.ui')
-rw-r--r--gui/LegacyModEditDialog.ui40
1 files changed, 19 insertions, 21 deletions
diff --git a/gui/LegacyModEditDialog.ui b/gui/LegacyModEditDialog.ui
index d55c3e1c..c219e7c2 100644
--- a/gui/LegacyModEditDialog.ui
+++ b/gui/LegacyModEditDialog.ui
@@ -16,9 +16,6 @@
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QTabWidget" name="tabWidget">
- <property name="acceptDrops">
- <bool>false</bool>
- </property>
<property name="currentIndex">
<number>0</number>
</property>
@@ -28,12 +25,12 @@
</attribute>
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
- <widget class="QListView" name="jarModsListView">
- <property name="acceptDrops">
- <bool>true</bool>
+ <widget class="ModListView" name="jarModsTreeView">
+ <property name="verticalScrollBarPolicy">
+ <enum>Qt::ScrollBarAlwaysOn</enum>
</property>
- <property name="dragDropMode">
- <enum>QAbstractItemView::DropOnly</enum>
+ <property name="horizontalScrollBarPolicy">
+ <enum>Qt::ScrollBarAlwaysOff</enum>
</property>
</widget>
</item>
@@ -55,6 +52,9 @@
</item>
<item>
<widget class="QPushButton" name="addForgeBtn">
+ <property name="enabled">
+ <bool>false</bool>
+ </property>
<property name="text">
<string>MCForge</string>
</property>
@@ -97,10 +97,7 @@
</attribute>
<layout class="QHBoxLayout" name="horizontalLayout_3">
<item>
- <widget class="QListView" name="coreModsListView">
- <property name="acceptDrops">
- <bool>true</bool>
- </property>
+ <widget class="ModListView" name="coreModsTreeView">
<property name="dragDropMode">
<enum>QAbstractItemView::DropOnly</enum>
</property>
@@ -152,7 +149,7 @@
</attribute>
<layout class="QHBoxLayout" name="horizontalLayout_2">
<item>
- <widget class="QListView" name="mlModListView">
+ <widget class="ModListView" name="mlModTreeView">
<property name="acceptDrops">
<bool>true</bool>
</property>
@@ -210,19 +207,13 @@
</attribute>
<layout class="QHBoxLayout" name="horizontalLayout_4">
<item>
- <widget class="QListView" name="texPackListView">
+ <widget class="ModListView" name="texPackTreeView">
<property name="acceptDrops">
<bool>true</bool>
</property>
- <property name="dragEnabled">
- <bool>false</bool>
- </property>
<property name="dragDropMode">
<enum>QAbstractItemView::DropOnly</enum>
</property>
- <property name="defaultDropAction">
- <enum>Qt::IgnoreAction</enum>
- </property>
</widget>
</item>
<item>
@@ -270,12 +261,19 @@
<item>
<widget class="QDialogButtonBox" name="buttonBox">
<property name="standardButtons">
- <set>QDialogButtonBox::Close</set>
+ <set>QDialogButtonBox::Close|QDialogButtonBox::Reset</set>
</property>
</widget>
</item>
</layout>
</widget>
+ <customwidgets>
+ <customwidget>
+ <class>ModListView</class>
+ <extends>QTreeView</extends>
+ <header>gui/ModListView.h</header>
+ </customwidget>
+ </customwidgets>
<resources/>
<connections/>
</ui>