summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAL <26797547+Al12rs@users.noreply.github.com>2020-02-23 22:11:18 +0100
committerAL <26797547+Al12rs@users.noreply.github.com>2020-02-23 22:11:18 +0100
commit22f8698e0b75db06be166c653edb17e6808f8672 (patch)
treef73ea4680518b26bde73a099aa28f932fb65d384 /src
parent5208bf525183eadf8235f620f3e081f1c9541eb9 (diff)
Moved filters back to the bottom
Diffstat (limited to 'src')
-rw-r--r--src/mainwindow.ui240
1 files changed, 181 insertions, 59 deletions
diff --git a/src/mainwindow.ui b/src/mainwindow.ui
index b54d54f8..ffa2460f 100644
--- a/src/mainwindow.ui
+++ b/src/mainwindow.ui
@@ -775,6 +775,15 @@ p, li { white-space: pre-wrap; }
<string>Plugins</string>
</attribute>
<layout class="QVBoxLayout" name="verticalLayout_4">
+ <property name="spacing">
+ <number>2</number>
+ </property>
+ <property name="topMargin">
+ <number>6</number>
+ </property>
+ <property name="bottomMargin">
+ <number>0</number>
+ </property>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_7">
<item>
@@ -795,20 +804,17 @@ p, li { white-space: pre-wrap; }
</widget>
</item>
<item>
- <widget class="MOBase::LineEditClear" name="espFilterEdit">
- <property name="toolTip">
- <string>Filter the list of plugins.</string>
- </property>
- <property name="whatsThis">
- <string>Filter the list of plugins.</string>
- </property>
- <property name="text">
- <string/>
+ <spacer name="horizontalSpacer_3">
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
</property>
- <property name="placeholderText">
- <string>Filter</string>
+ <property name="sizeHint" stdset="0">
+ <size>
+ <width>40</width>
+ <height>20</height>
+ </size>
</property>
- </widget>
+ </spacer>
</item>
<item>
<widget class="QPushButton" name="restoreButton">
@@ -942,6 +948,39 @@ p, li { white-space: pre-wrap; }
</attribute>
</widget>
</item>
+ <item>
+ <layout class="QHBoxLayout" name="horizontalLayout_10">
+ <item>
+ <spacer name="horizontalSpacer_2">
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ <property name="sizeHint" stdset="0">
+ <size>
+ <width>40</width>
+ <height>20</height>
+ </size>
+ </property>
+ </spacer>
+ </item>
+ <item>
+ <widget class="MOBase::LineEditClear" name="espFilterEdit">
+ <property name="toolTip">
+ <string>Filter the list of plugins.</string>
+ </property>
+ <property name="whatsThis">
+ <string>Filter the list of plugins.</string>
+ </property>
+ <property name="text">
+ <string/>
+ </property>
+ <property name="placeholderText">
+ <string>Filter</string>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </item>
</layout>
</widget>
<widget class="QWidget" name="bsaTab">
@@ -952,6 +991,15 @@ p, li { white-space: pre-wrap; }
<string>Archives</string>
</attribute>
<layout class="QVBoxLayout" name="verticalLayout_9">
+ <property name="spacing">
+ <number>2</number>
+ </property>
+ <property name="topMargin">
+ <number>6</number>
+ </property>
+ <property name="bottomMargin">
+ <number>0</number>
+ </property>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_9" stretch="0">
<item>
@@ -1010,6 +1058,15 @@ p, li { white-space: pre-wrap; }
<string>Data</string>
</attribute>
<layout class="QVBoxLayout" name="verticalLayout_5">
+ <property name="spacing">
+ <number>2</number>
+ </property>
+ <property name="topMargin">
+ <number>6</number>
+ </property>
+ <property name="bottomMargin">
+ <number>0</number>
+ </property>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_12">
<item>
@@ -1030,15 +1087,48 @@ p, li { white-space: pre-wrap; }
</widget>
</item>
<item>
- <widget class="QLineEdit" name="dataTabFilter">
- <property name="toolTip">
- <string>Filter the Data tree.</string>
+ <spacer name="horizontalSpacer_4">
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ <property name="sizeHint" stdset="0">
+ <size>
+ <width>40</width>
+ <height>20</height>
+ </size>
+ </property>
+ </spacer>
+ </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>Filter the Data tree.</string>
+ <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>
</widget>
</item>
+ </layout>
+ </item>
+ <item>
+ <layout class="QHBoxLayout" name="horizontalLayout_13" stretch="1,1,2">
<item>
<widget class="QCheckBox" name="dataTabShowOnlyConflicts">
<property name="toolTip">
@@ -1068,29 +1158,13 @@ p, li { white-space: pre-wrap; }
</property>
</widget>
</item>
- </layout>
- </item>
- <item>
- <layout class="QHBoxLayout" name="horizontalLayout_2">
<item>
- <widget class="QTreeView" name="dataTree">
- <property name="contextMenuPolicy">
- <enum>Qt::CustomContextMenu</enum>
+ <widget class="QLineEdit" name="dataTabFilter">
+ <property name="toolTip">
+ <string>Filter the Data tree.</string>
</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>
+ <string>Filter the Data tree.</string>
</property>
</widget>
</item>
@@ -1103,6 +1177,15 @@ p, li { white-space: pre-wrap; }
<string>Saves</string>
</attribute>
<layout class="QVBoxLayout" name="verticalLayout_3">
+ <property name="spacing">
+ <number>2</number>
+ </property>
+ <property name="topMargin">
+ <number>6</number>
+ </property>
+ <property name="bottomMargin">
+ <number>0</number>
+ </property>
<item>
<widget class="QListWidget" name="savegameList">
<property name="contextMenuPolicy">
@@ -1138,8 +1221,17 @@ p, li { white-space: pre-wrap; }
<string>Downloads</string>
</attribute>
<layout class="QVBoxLayout" name="verticalLayout_7">
+ <property name="spacing">
+ <number>2</number>
+ </property>
+ <property name="topMargin">
+ <number>6</number>
+ </property>
+ <property name="bottomMargin">
+ <number>0</number>
+ </property>
<item>
- <layout class="QHBoxLayout" name="horizontalLayout" stretch="0,0,0">
+ <layout class="QHBoxLayout" name="horizontalLayout" stretch="0,0">
<item>
<widget class="QPushButton" name="btnRefreshDownloads">
<property name="toolTip">
@@ -1158,30 +1250,17 @@ p, li { white-space: pre-wrap; }
</widget>
</item>
<item>
- <widget class="MOBase::LineEditClear" name="downloadFilterEdit">
- <property name="toolTip">
- <string>Filter the list of downloads.</string>
+ <spacer name="horizontalSpacer_7">
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
</property>
- <property name="whatsThis">
- <string>Filter the list of downloads.</string>
- </property>
- <property name="placeholderText">
- <string>Filter</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QCheckBox" name="showHiddenBox">
- <property name="toolTip">
- <string>Show downloads marked as hidden.</string>
- </property>
- <property name="whatsThis">
- <string>Show downloads marked as hidden.</string>
- </property>
- <property name="text">
- <string>Hidden files</string>
+ <property name="sizeHint" stdset="0">
+ <size>
+ <width>40</width>
+ <height>20</height>
+ </size>
</property>
- </widget>
+ </spacer>
</item>
</layout>
</item>
@@ -1235,6 +1314,49 @@ p, li { white-space: pre-wrap; }
</item>
</layout>
</item>
+ <item>
+ <layout class="QHBoxLayout" name="horizontalLayout_16" stretch="1,1,2">
+ <item>
+ <widget class="QCheckBox" name="showHiddenBox">
+ <property name="toolTip">
+ <string>Show downloads marked as hidden.</string>
+ </property>
+ <property name="whatsThis">
+ <string>Show downloads marked as hidden.</string>
+ </property>
+ <property name="text">
+ <string>Hidden files</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <spacer name="horizontalSpacer_6">
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ <property name="sizeHint" stdset="0">
+ <size>
+ <width>40</width>
+ <height>20</height>
+ </size>
+ </property>
+ </spacer>
+ </item>
+ <item>
+ <widget class="MOBase::LineEditClear" name="downloadFilterEdit">
+ <property name="toolTip">
+ <string>Filter the list of downloads.</string>
+ </property>
+ <property name="whatsThis">
+ <string>Filter the list of downloads.</string>
+ </property>
+ <property name="placeholderText">
+ <string>Filter</string>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </item>
</layout>
</widget>
</widget>