fix(ui): make CF and MR modpack dialogs more consistent

This commit is contained in:
Sefa Eyeoglu 2022-05-20 22:46:35 +02:00
parent 6542f5f15a
commit 3b4b34b369
No known key found for this signature in database
GPG Key ID: C10411294912A422
2 changed files with 63 additions and 52 deletions

View File

@ -6,41 +6,50 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>2445</width> <width>800</width>
<height>685</height> <height>600</height>
</rect> </rect>
</property> </property>
<layout class="QGridLayout" name="gridLayout"> <layout class="QGridLayout" name="gridLayout">
<item row="4" column="0" colspan="2"> <item row="0" column="0">
<layout class="QGridLayout" name="gridLayout_4" columnstretch="0,0,0" rowminimumheight="0" columnminimumwidth="0,0,0"> <widget class="QLabel" name="label_2">
<item row="0" column="2"> <property name="font">
<widget class="QComboBox" name="versionSelectionBox"/> <font>
</item> <italic>true</italic>
<item row="0" column="1"> </font>
<widget class="QLabel" name="label"> </property>
<property name="text"> <property name="text">
<string>Version selected:</string> <string>Note: CurseForge's API is very unreliable. CurseForge and some mod authors have disallowed downloading mods in third-party applications like PolyMC. As such, you may need to manually download some mods to be able to install a modpack.</string>
</property> </property>
<property name="alignment"> <property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> <set>Qt::AlignCenter</set>
</property> </property>
</widget> <property name="wordWrap">
</item> <bool>true</bool>
<item row="0" column="0">
<widget class="QComboBox" name="sortByBox"/>
</item>
</layout>
</item>
<item row="1" column="0">
<widget class="QLineEdit" name="searchEdit">
<property name="placeholderText">
<string>Search and filter...</string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="3" column="0" colspan="2"> <item row="1" column="0">
<layout class="QGridLayout" name="gridLayout_3"> <layout class="QHBoxLayout">
<item row="1" column="0"> <item>
<widget class="QLineEdit" name="searchEdit">
<property name="placeholderText">
<string>Search and filter...</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="searchButton">
<property name="text">
<string>Search</string>
</property>
</widget>
</item>
</layout>
</item>
<item row="2" column="0">
<layout class="QHBoxLayout">
<item>
<widget class="QListView" name="packView"> <widget class="QListView" name="packView">
<property name="horizontalScrollBarPolicy"> <property name="horizontalScrollBarPolicy">
<enum>Qt::ScrollBarAlwaysOff</enum> <enum>Qt::ScrollBarAlwaysOff</enum>
@ -56,7 +65,7 @@
</property> </property>
</widget> </widget>
</item> </item>
<item row="1" column="1"> <item>
<widget class="QTextBrowser" name="packDescription"> <widget class="QTextBrowser" name="packDescription">
<property name="openExternalLinks"> <property name="openExternalLinks">
<bool>true</bool> <bool>true</bool>
@ -68,30 +77,29 @@
</item> </item>
</layout> </layout>
</item> </item>
<item row="1" column="1"> <item row="3" column="0">
<widget class="QPushButton" name="searchButton"> <layout class="QHBoxLayout">
<property name="text"> <item>
<string>Search</string> <widget class="QComboBox" name="sortByBox"/>
</property> </item>
</widget> <item>
</item> <widget class="QLabel" name="label">
<item row="0" column="0"> <property name="text">
<widget class="QLabel" name="label_2"> <string>Version selected:</string>
<property name="font"> </property>
<font> <property name="alignment">
<italic>true</italic> <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</font> </property>
</property> </widget>
<property name="text"> </item>
<string>WARNING: CurseForge's API is very unreliable and low quality. Also, some mod authors have disabled the ability for third party apps (like PolyMC) to download their mods. As such, you may need to manually download some mods to be able to use the modpack.</string> <item>
</property> <widget class="QComboBox" name="versionSelectionBox"/>
</widget> </item>
</layout>
</item> </item>
</layout> </layout>
</widget> </widget>
<tabstops> <tabstops>
<tabstop>searchEdit</tabstop>
<tabstop>searchButton</tabstop>
<tabstop>packView</tabstop> <tabstop>packView</tabstop>
<tabstop>packDescription</tabstop> <tabstop>packDescription</tabstop>
<tabstop>sortByBox</tabstop> <tabstop>sortByBox</tabstop>

View File

@ -6,8 +6,8 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>837</width> <width>800</width>
<height>685</height> <height>600</height>
</rect> </rect>
</property> </property>
<layout class="QVBoxLayout"> <layout class="QVBoxLayout">
@ -24,6 +24,9 @@
<property name="alignment"> <property name="alignment">
<set>Qt::AlignCenter</set> <set>Qt::AlignCenter</set>
</property> </property>
<property name="wordWrap">
<bool>true</bool>
</property>
</widget> </widget>
</item> </item>
<item> <item>