summaryrefslogtreecommitdiff
path: root/src/modinfodialog.ui
diff options
context:
space:
mode:
authorisanae <14251494+isanae@users.noreply.github.com>2019-06-24 12:49:08 -0400
committerisanae <14251494+isanae@users.noreply.github.com>2019-07-02 10:10:18 -0400
commit4ee9f29cdcb3df2a085e02fa29c8ae3ddbd27f1c (patch)
tree1d5301a98eadee53b20a59a356453e27f0446171 /src/modinfodialog.ui
parentf14f2bad3ba7440d6f36657f32d00c89cae54623 (diff)
performance optimizations: text/ini tabs and advanced conflict list use views and custom models
call update() after feedFiles() to allow some tabs to have post-processing after feedFiles()
Diffstat (limited to 'src/modinfodialog.ui')
-rw-r--r--src/modinfodialog.ui48
1 files changed, 15 insertions, 33 deletions
diff --git a/src/modinfodialog.ui b/src/modinfodialog.ui
index 40b3c7b4..5defcd57 100644
--- a/src/modinfodialog.ui
+++ b/src/modinfodialog.ui
@@ -60,13 +60,16 @@
</widget>
</item>
<item>
- <widget class="QListWidget" name="textFileList">
+ <widget class="QListView" name="textFileList">
<property name="toolTip">
<string>A list of text-files in the mod directory.</string>
</property>
<property name="whatsThis">
<string>A list of text-files in the mod directory like readmes. </string>
</property>
+ <property name="uniformItemSizes">
+ <bool>true</bool>
+ </property>
</widget>
</item>
</layout>
@@ -117,13 +120,16 @@
</widget>
</item>
<item>
- <widget class="QListWidget" name="iniFileList">
+ <widget class="QListView" name="iniFileList">
<property name="toolTip">
<string>This is a list of .ini files in the mod.</string>
</property>
<property name="whatsThis">
<string>This is a list of .ini files in the mod. These are usually used to configure the behaviour of mods if there are configurable parameters.</string>
</property>
+ <property name="uniformItemSizes">
+ <bool>true</bool>
+ </property>
</widget>
</item>
</layout>
@@ -251,6 +257,9 @@ They usually contain optional functionality, see the readme.
Most mods do not have optional esps, so chances are good you are looking at an empty list.</string>
</property>
+ <property name="uniformItemSizes">
+ <bool>true</bool>
+ </property>
</widget>
</item>
</layout>
@@ -375,6 +384,9 @@ Most mods do not have optional esps, so chances are good you are looking at an e
<property name="whatsThis">
<string>These are the mod files that are in the (virtual) data directory of your game and will thus be selectable in the esp list in the main window.</string>
</property>
+ <property name="uniformItemSizes">
+ <bool>true</bool>
+ </property>
</widget>
</item>
</layout>
@@ -477,9 +489,6 @@ text-align: left;</string>
<property name="sortingEnabled">
<bool>true</bool>
</property>
- <property name="animated">
- <bool>true</bool>
- </property>
<property name="columnCount">
<number>2</number>
</property>
@@ -553,9 +562,6 @@ text-align: left;</string>
<property name="sortingEnabled">
<bool>true</bool>
</property>
- <property name="animated">
- <bool>true</bool>
- </property>
<property name="columnCount">
<number>2</number>
</property>
@@ -629,9 +635,6 @@ text-align: left;</string>
<property name="sortingEnabled">
<bool>true</bool>
</property>
- <property name="animated">
- <bool>true</bool>
- </property>
<property name="columnCount">
<number>1</number>
</property>
@@ -696,7 +699,7 @@ text-align: left;</string>
<number>0</number>
</property>
<item>
- <widget class="QTreeWidget" name="conflictsAdvancedList">
+ <widget class="QTreeView" name="conflictsAdvancedList">
<property name="contextMenuPolicy">
<enum>Qt::CustomContextMenu</enum>
</property>
@@ -709,27 +712,6 @@ text-align: left;</string>
<property name="sortingEnabled">
<bool>true</bool>
</property>
- <property name="columnCount">
- <number>3</number>
- </property>
- <attribute name="headerDefaultSectionSize">
- <number>243</number>
- </attribute>
- <column>
- <property name="text">
- <string>Overwrites</string>
- </property>
- </column>
- <column>
- <property name="text">
- <string>File</string>
- </property>
- </column>
- <column>
- <property name="text">
- <string>Overwritten by</string>
- </property>
- </column>
</widget>
</item>
</layout>