summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorisanae <14251494+isanae@users.noreply.github.com>2020-02-01 02:35:52 -0500
committerisanae <14251494+isanae@users.noreply.github.com>2020-02-04 03:33:22 -0500
commit85a9f810a0ecbf10facc8b8b070eda6f13a65d6b (patch)
tree941488694a0868f9efdc11f4d20f9e2c6f87b5cc /src
parentc6c01f86c64a3a9fa666dddec860e52d388e5e97 (diff)
moved refresh and checkboxes to the top
Diffstat (limited to 'src')
-rw-r--r--src/mainwindow.ui89
1 files changed, 51 insertions, 38 deletions
diff --git a/src/mainwindow.ui b/src/mainwindow.ui
index 62425d8c..f0887f56 100644
--- a/src/mainwindow.ui
+++ b/src/mainwindow.ui
@@ -1056,53 +1056,37 @@ p, li { white-space: pre-wrap; }
<number>6</number>
</property>
<item>
- <widget class="QPushButton" name="btnRefreshData">
- <property name="toolTip">
- <string>refresh data-directory overview</string>
- </property>
- <property name="whatsThis">
- <string>Refresh the overview. This may take a moment.</string>
- </property>
- <property name="text">
- <string>Refresh</string>
- </property>
- <property name="icon">
- <iconset resource="resources.qrc">
- <normaloff>:/MO/gui/resources/view-refresh.png</normaloff>:/MO/gui/resources/view-refresh.png</iconset>
- </property>
- </widget>
- </item>
- <item>
- <layout class="QHBoxLayout" name="horizontalLayout_2">
+ <layout class="QHBoxLayout" name="horizontalLayout_12">
<item>
- <widget class="QTreeView" name="dataTree">
- <property name="contextMenuPolicy">
- <enum>Qt::CustomContextMenu</enum>
+ <widget class="QPushButton" name="btnRefreshData">
+ <property name="toolTip">
+ <string>refresh data-directory overview</string>
</property>
<property name="whatsThis">
- <string>This is an overview of your data directory as visible to the game (and tools). </string>
+ <string>Refresh the overview. This may take a moment.</string>
</property>
- <property name="alternatingRowColors">
- <bool>true</bool>
+ <property name="text">
+ <string>Refresh</string>
</property>
- <property name="selectionMode">
- <enum>QAbstractItemView::ExtendedSelection</enum>
+ <property name="icon">
+ <iconset resource="resources.qrc">
+ <normaloff>:/MO/gui/resources/view-refresh.png</normaloff>:/MO/gui/resources/view-refresh.png</iconset>
</property>
- <property name="uniformRowHeights">
- <bool>true</bool>
+ </widget>
+ </item>
+ <item>
+ <spacer name="horizontalSpacer_4">
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
</property>
- <property name="sortingEnabled">
- <bool>true</bool>
+ <property name="sizeHint" stdset="0">
+ <size>
+ <width>40</width>
+ <height>20</height>
+ </size>
</property>
- <attribute name="headerMinimumSectionSize">
- <number>400</number>
- </attribute>
- </widget>
+ </spacer>
</item>
- </layout>
- </item>
- <item>
- <layout class="QHBoxLayout" name="horizontalLayout_12">
<item>
<widget class="QCheckBox" name="conflictsCheckBox">
<property name="toolTip">
@@ -1134,6 +1118,35 @@ p, li { white-space: pre-wrap; }
</item>
</layout>
</item>
+ <item>
+ <layout class="QHBoxLayout" name="horizontalLayout_2">
+ <item>
+ <widget class="QTreeView" name="dataTree">
+ <property name="contextMenuPolicy">
+ <enum>Qt::CustomContextMenu</enum>
+ </property>
+ <property name="whatsThis">
+ <string>This is an overview of your data directory as visible to the game (and tools). </string>
+ </property>
+ <property name="alternatingRowColors">
+ <bool>true</bool>
+ </property>
+ <property name="selectionMode">
+ <enum>QAbstractItemView::ExtendedSelection</enum>
+ </property>
+ <property name="uniformRowHeights">
+ <bool>true</bool>
+ </property>
+ <property name="sortingEnabled">
+ <bool>true</bool>
+ </property>
+ <attribute name="headerMinimumSectionSize">
+ <number>400</number>
+ </attribute>
+ </widget>
+ </item>
+ </layout>
+ </item>
</layout>
</widget>
<widget class="QWidget" name="savesTab">