summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAL <26797547+Al12rs@users.noreply.github.com>2020-02-29 15:02:15 +0100
committerAL <26797547+Al12rs@users.noreply.github.com>2020-02-29 15:02:15 +0100
commit979889edfe61cd12de3764cd31868cef748b52c4 (patch)
treebf1b651e95df2e1659b8a82465d6ed2bb0293fce /src
parent99ac2c0e9a5f7e5707beb894f3c2933a1d803b7b (diff)
Made all lists uniform row heights for performance and alternate row color
Diffstat (limited to 'src')
-rw-r--r--src/mainwindow.ui9
-rw-r--r--src/modinfodialog.ui33
2 files changed, 42 insertions, 0 deletions
diff --git a/src/mainwindow.ui b/src/mainwindow.ui
index 83aba71a..466bd7bd 100644
--- a/src/mainwindow.ui
+++ b/src/mainwindow.ui
@@ -1224,6 +1224,9 @@ p, li { white-space: pre-wrap; }
<property name="selectionBehavior">
<enum>QAbstractItemView::SelectRows</enum>
</property>
+ <property name="uniformItemSizes">
+ <bool>true</bool>
+ </property>
</widget>
</item>
</layout>
@@ -1316,6 +1319,9 @@ p, li { white-space: pre-wrap; }
<property name="indentation">
<number>0</number>
</property>
+ <property name="uniformRowHeights">
+ <bool>true</bool>
+ </property>
<property name="itemsExpandable">
<bool>false</bool>
</property>
@@ -1538,6 +1544,9 @@ p, li { white-space: pre-wrap; }
<property name="contextMenuPolicy">
<enum>Qt::CustomContextMenu</enum>
</property>
+ <property name="alternatingRowColors">
+ <bool>true</bool>
+ </property>
<property name="rootIsDecorated">
<bool>false</bool>
</property>
diff --git a/src/modinfodialog.ui b/src/modinfodialog.ui
index a1c12622..869ae04e 100644
--- a/src/modinfodialog.ui
+++ b/src/modinfodialog.ui
@@ -67,6 +67,9 @@
<property name="whatsThis">
<string>A list of text-files in the mod directory like readmes. </string>
</property>
+ <property name="alternatingRowColors">
+ <bool>true</bool>
+ </property>
<property name="uniformItemSizes">
<bool>true</bool>
</property>
@@ -130,6 +133,9 @@
<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="alternatingRowColors">
+ <bool>true</bool>
+ </property>
<property name="uniformItemSizes">
<bool>true</bool>
</property>
@@ -349,6 +355,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="alternatingRowColors">
+ <bool>true</bool>
+ </property>
<property name="uniformItemSizes">
<bool>true</bool>
</property>
@@ -476,6 +485,9 @@ Most mods do not have optional esps, so chances are good you are looking at an e
<property name="whatsThis">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;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.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
+ <property name="alternatingRowColors">
+ <bool>true</bool>
+ </property>
<property name="uniformItemSizes">
<bool>true</bool>
</property>
@@ -572,6 +584,9 @@ text-align: left;</string>
<property name="contextMenuPolicy">
<enum>Qt::CustomContextMenu</enum>
</property>
+ <property name="alternatingRowColors">
+ <bool>true</bool>
+ </property>
<property name="selectionMode">
<enum>QAbstractItemView::ExtendedSelection</enum>
</property>
@@ -629,6 +644,9 @@ text-align: left;</string>
<property name="contextMenuPolicy">
<enum>Qt::CustomContextMenu</enum>
</property>
+ <property name="alternatingRowColors">
+ <bool>true</bool>
+ </property>
<property name="selectionMode">
<enum>QAbstractItemView::ExtendedSelection</enum>
</property>
@@ -686,6 +704,9 @@ text-align: left;</string>
<property name="contextMenuPolicy">
<enum>Qt::CustomContextMenu</enum>
</property>
+ <property name="alternatingRowColors">
+ <bool>true</bool>
+ </property>
<property name="selectionMode">
<enum>QAbstractItemView::ExtendedSelection</enum>
</property>
@@ -758,6 +779,9 @@ text-align: left;</string>
<property name="contextMenuPolicy">
<enum>Qt::CustomContextMenu</enum>
</property>
+ <property name="alternatingRowColors">
+ <bool>true</bool>
+ </property>
<property name="selectionMode">
<enum>QAbstractItemView::ExtendedSelection</enum>
</property>
@@ -867,6 +891,12 @@ text-align: left;</string>
<layout class="QVBoxLayout" name="verticalLayout_7">
<item>
<widget class="QTreeWidget" name="categories">
+ <property name="alternatingRowColors">
+ <bool>true</bool>
+ </property>
+ <property name="uniformRowHeights">
+ <bool>true</bool>
+ </property>
<attribute name="headerVisible">
<bool>false</bool>
</attribute>
@@ -1261,6 +1291,9 @@ p, li { white-space: pre-wrap; }
<property name="defaultDropAction">
<enum>Qt::MoveAction</enum>
</property>
+ <property name="alternatingRowColors">
+ <bool>true</bool>
+ </property>
<property name="selectionMode">
<enum>QAbstractItemView::ExtendedSelection</enum>
</property>