743af4769e
Version patches get a lot of new flags that determine which actions are allowed Version page respects the flags Customize, revert and edit for version patches Builting patches can be customized
279 lines
8.2 KiB
XML
279 lines
8.2 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>VersionPage</class>
|
|
<widget class="QWidget" name="VersionPage">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>693</width>
|
|
<height>575</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>Package Versions</string>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
<property name="leftMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="topMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="rightMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="bottomMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<item>
|
|
<widget class="QTabWidget" name="tabWidget">
|
|
<property name="currentIndex">
|
|
<number>0</number>
|
|
</property>
|
|
<widget class="QWidget" name="tab">
|
|
<attribute name="title">
|
|
<string>Tab 1</string>
|
|
</attribute>
|
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
|
<item>
|
|
<widget class="ModListView" name="packageView">
|
|
<property name="verticalScrollBarPolicy">
|
|
<enum>Qt::ScrollBarAlwaysOn</enum>
|
|
</property>
|
|
<property name="horizontalScrollBarPolicy">
|
|
<enum>Qt::ScrollBarAlwaysOff</enum>
|
|
</property>
|
|
<property name="headerHidden">
|
|
<bool>false</bool>
|
|
</property>
|
|
<attribute name="headerVisible">
|
|
<bool>true</bool>
|
|
</attribute>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<layout class="QVBoxLayout" name="verticalLayout_4">
|
|
<item>
|
|
<widget class="QLabel" name="label">
|
|
<property name="text">
|
|
<string>Selection</string>
|
|
</property>
|
|
<property name="alignment">
|
|
<set>Qt::AlignCenter</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="changeVersionBtn">
|
|
<property name="toolTip">
|
|
<string>Change version of the selected package.</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Change version</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="moveUpBtn">
|
|
<property name="toolTip">
|
|
<string>Make the selected package apply sooner.</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Move up</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="moveDownBtn">
|
|
<property name="toolTip">
|
|
<string>Make the selected package apply later.</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Move down</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="removeBtn">
|
|
<property name="toolTip">
|
|
<string>Remove selected package from the instance.</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Remove</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="LineSeparator" name="separator_4" native="true"/>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="label_10">
|
|
<property name="text">
|
|
<string>Edit</string>
|
|
</property>
|
|
<property name="alignment">
|
|
<set>Qt::AlignCenter</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="customizeBtn">
|
|
<property name="toolTip">
|
|
<string>Customize selected package.</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Customize</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="editBtn">
|
|
<property name="toolTip">
|
|
<string>Edit selected package.</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Edit</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="revertBtn">
|
|
<property name="toolTip">
|
|
<string>Revert the selected package to default.</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Revert</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="LineSeparator" name="separator" native="true"/>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="label_2">
|
|
<property name="text">
|
|
<string>Install</string>
|
|
</property>
|
|
<property name="alignment">
|
|
<set>Qt::AlignCenter</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="forgeBtn">
|
|
<property name="toolTip">
|
|
<string>Install the Minecraft Forge package.</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Install Forge</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="liteloaderBtn">
|
|
<property name="toolTip">
|
|
<string>Install the LiteLoader package.</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Install LiteLoader</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="jarmodBtn">
|
|
<property name="toolTip">
|
|
<string>Add a mod into the Minecraft jar file.</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Add jar mod</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="LineSeparator" name="widget" native="true"/>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="label_5">
|
|
<property name="text">
|
|
<string>List</string>
|
|
</property>
|
|
<property name="alignment">
|
|
<set>Qt::AlignCenter</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="resetOrderBtn">
|
|
<property name="toolTip">
|
|
<string>Reset apply order of packages.</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Reset order</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="reloadBtn">
|
|
<property name="toolTip">
|
|
<string>Reload all packages.</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Reload</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer name="verticalSpacer_7">
|
|
<property name="orientation">
|
|
<enum>Qt::Vertical</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>20</width>
|
|
<height>40</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<customwidgets>
|
|
<customwidget>
|
|
<class>ModListView</class>
|
|
<extends>QTreeView</extends>
|
|
<header>widgets/ModListView.h</header>
|
|
</customwidget>
|
|
<customwidget>
|
|
<class>LineSeparator</class>
|
|
<extends>QWidget</extends>
|
|
<header>widgets/LineSeparator.h</header>
|
|
<container>1</container>
|
|
</customwidget>
|
|
</customwidgets>
|
|
<tabstops>
|
|
<tabstop>tabWidget</tabstop>
|
|
<tabstop>packageView</tabstop>
|
|
<tabstop>changeVersionBtn</tabstop>
|
|
<tabstop>moveUpBtn</tabstop>
|
|
<tabstop>moveDownBtn</tabstop>
|
|
<tabstop>removeBtn</tabstop>
|
|
<tabstop>customizeBtn</tabstop>
|
|
<tabstop>editBtn</tabstop>
|
|
<tabstop>revertBtn</tabstop>
|
|
<tabstop>forgeBtn</tabstop>
|
|
<tabstop>liteloaderBtn</tabstop>
|
|
<tabstop>jarmodBtn</tabstop>
|
|
<tabstop>resetOrderBtn</tabstop>
|
|
<tabstop>reloadBtn</tabstop>
|
|
</tabstops>
|
|
<resources/>
|
|
<connections/>
|
|
</ui>
|