2013-02-02 00:37:36 +05:30
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<ui version="4.0">
|
|
|
|
<class>NewInstanceDialog</class>
|
|
|
|
<widget class="QDialog" name="NewInstanceDialog">
|
|
|
|
<property name="windowModality">
|
|
|
|
<enum>Qt::ApplicationModal</enum>
|
|
|
|
</property>
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>0</x>
|
|
|
|
<y>0</y>
|
2015-04-11 16:00:18 +05:30
|
|
|
<width>277</width>
|
|
|
|
<height>404</height>
|
2013-02-02 00:37:36 +05:30
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
<property name="windowTitle">
|
|
|
|
<string>New Instance</string>
|
|
|
|
</property>
|
|
|
|
<property name="windowIcon">
|
2014-11-09 01:47:28 +05:30
|
|
|
<iconset>
|
2013-02-02 00:37:36 +05:30
|
|
|
<normaloff>:/icons/toolbar/new</normaloff>:/icons/toolbar/new</iconset>
|
|
|
|
</property>
|
|
|
|
<property name="modal">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
|
|
<item>
|
|
|
|
<layout class="QHBoxLayout" name="iconBtnLayout">
|
|
|
|
<item>
|
|
|
|
<spacer name="iconBtnLeftSpacer">
|
|
|
|
<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="QToolButton" name="iconButton">
|
|
|
|
<property name="iconSize">
|
|
|
|
<size>
|
|
|
|
<width>80</width>
|
|
|
|
<height>80</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<spacer name="iconBtnRightSpacer">
|
|
|
|
<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>
|
|
|
|
<widget class="QLineEdit" name="instNameTextBox">
|
|
|
|
<property name="placeholderText">
|
|
|
|
<string>Name</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="Line" name="line">
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Qt::Horizontal</enum>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
2015-04-11 16:00:18 +05:30
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
|
|
|
<item>
|
2014-11-09 01:47:28 +05:30
|
|
|
<widget class="QLabel" name="labelVersion_3">
|
|
|
|
<property name="text">
|
2015-02-13 02:31:20 +05:30
|
|
|
<string>&Group:</string>
|
2014-11-09 01:47:28 +05:30
|
|
|
</property>
|
|
|
|
<property name="buddy">
|
|
|
|
<cstring>groupBox</cstring>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2015-04-11 16:00:18 +05:30
|
|
|
<item>
|
2014-11-09 01:47:28 +05:30
|
|
|
<widget class="QComboBox" name="groupBox">
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="editable">
|
|
|
|
<bool>true</bool>
|
2013-02-02 00:37:36 +05:30
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2015-04-11 16:00:18 +05:30
|
|
|
</layout>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<layout class="QGridLayout" name="gridLayout">
|
|
|
|
<item row="4" column="2">
|
|
|
|
<widget class="QToolButton" name="modpackBtn">
|
2015-02-13 02:31:20 +05:30
|
|
|
<property name="enabled">
|
|
|
|
<bool>false</bool>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
2015-04-11 16:00:18 +05:30
|
|
|
<string>...</string>
|
2015-02-13 02:31:20 +05:30
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2015-04-11 16:00:18 +05:30
|
|
|
<item row="4" column="0" colspan="2">
|
|
|
|
<widget class="QLineEdit" name="modpackEdit">
|
2015-02-13 02:31:20 +05:30
|
|
|
<property name="enabled">
|
|
|
|
<bool>false</bool>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
2015-04-11 16:00:18 +05:30
|
|
|
<string>http://</string>
|
2015-02-13 02:31:20 +05:30
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2015-04-11 16:00:18 +05:30
|
|
|
<item row="2" column="0" colspan="2">
|
|
|
|
<widget class="QLineEdit" name="versionTextBox">
|
|
|
|
<property name="readOnly">
|
2015-02-13 02:31:20 +05:30
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2015-04-11 16:00:18 +05:30
|
|
|
<item row="2" column="2">
|
|
|
|
<widget class="QToolButton" name="btnChangeVersion">
|
|
|
|
<property name="text">
|
|
|
|
<string>...</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="3" column="0" colspan="3">
|
2015-02-13 02:31:20 +05:30
|
|
|
<widget class="QRadioButton" name="modpackBox">
|
|
|
|
<property name="text">
|
2015-04-11 16:00:18 +05:30
|
|
|
<string>Impor&t Modpack (local file or link):</string>
|
2015-02-13 02:31:20 +05:30
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2015-04-11 16:00:18 +05:30
|
|
|
<item row="1" column="0" colspan="3">
|
|
|
|
<widget class="QRadioButton" name="versionBox">
|
|
|
|
<property name="text">
|
|
|
|
<string>Vani&lla Minecraft (select version):</string>
|
|
|
|
</property>
|
|
|
|
<property name="checked">
|
2015-02-13 02:31:20 +05:30
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2013-02-02 00:37:36 +05:30
|
|
|
</layout>
|
|
|
|
</item>
|
2013-05-04 01:11:37 +05:30
|
|
|
<item>
|
|
|
|
<spacer name="verticalSpacer">
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Qt::Vertical</enum>
|
|
|
|
</property>
|
|
|
|
<property name="sizeHint" stdset="0">
|
|
|
|
<size>
|
|
|
|
<width>20</width>
|
|
|
|
<height>40</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
</spacer>
|
|
|
|
</item>
|
2013-02-02 00:37:36 +05:30
|
|
|
<item>
|
|
|
|
<widget class="Line" name="line_2">
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Qt::Horizontal</enum>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QDialogButtonBox" name="buttonBox">
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Qt::Horizontal</enum>
|
|
|
|
</property>
|
|
|
|
<property name="standardButtons">
|
|
|
|
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
2015-04-11 16:00:18 +05:30
|
|
|
<tabstops>
|
|
|
|
<tabstop>instNameTextBox</tabstop>
|
|
|
|
<tabstop>groupBox</tabstop>
|
|
|
|
<tabstop>versionBox</tabstop>
|
|
|
|
<tabstop>versionTextBox</tabstop>
|
|
|
|
<tabstop>btnChangeVersion</tabstop>
|
|
|
|
<tabstop>modpackBox</tabstop>
|
|
|
|
<tabstop>modpackEdit</tabstop>
|
|
|
|
<tabstop>modpackBtn</tabstop>
|
|
|
|
<tabstop>iconButton</tabstop>
|
|
|
|
</tabstops>
|
|
|
|
<resources/>
|
2013-02-02 00:37:36 +05:30
|
|
|
<connections>
|
|
|
|
<connection>
|
|
|
|
<sender>buttonBox</sender>
|
|
|
|
<signal>accepted()</signal>
|
|
|
|
<receiver>NewInstanceDialog</receiver>
|
|
|
|
<slot>accept()</slot>
|
|
|
|
<hints>
|
|
|
|
<hint type="sourcelabel">
|
2015-02-13 02:31:20 +05:30
|
|
|
<x>257</x>
|
|
|
|
<y>333</y>
|
2013-02-02 00:37:36 +05:30
|
|
|
</hint>
|
|
|
|
<hint type="destinationlabel">
|
|
|
|
<x>157</x>
|
|
|
|
<y>274</y>
|
|
|
|
</hint>
|
|
|
|
</hints>
|
|
|
|
</connection>
|
|
|
|
<connection>
|
|
|
|
<sender>buttonBox</sender>
|
|
|
|
<signal>rejected()</signal>
|
|
|
|
<receiver>NewInstanceDialog</receiver>
|
|
|
|
<slot>reject()</slot>
|
|
|
|
<hints>
|
|
|
|
<hint type="sourcelabel">
|
2015-02-13 02:31:20 +05:30
|
|
|
<x>325</x>
|
|
|
|
<y>333</y>
|
2013-02-02 00:37:36 +05:30
|
|
|
</hint>
|
|
|
|
<hint type="destinationlabel">
|
|
|
|
<x>286</x>
|
|
|
|
<y>274</y>
|
|
|
|
</hint>
|
|
|
|
</hints>
|
|
|
|
</connection>
|
2015-02-13 02:31:20 +05:30
|
|
|
<connection>
|
|
|
|
<sender>modpackBox</sender>
|
|
|
|
<signal>toggled(bool)</signal>
|
|
|
|
<receiver>modpackEdit</receiver>
|
|
|
|
<slot>setEnabled(bool)</slot>
|
|
|
|
<hints>
|
|
|
|
<hint type="sourcelabel">
|
|
|
|
<x>81</x>
|
|
|
|
<y>229</y>
|
|
|
|
</hint>
|
|
|
|
<hint type="destinationlabel">
|
|
|
|
<x>236</x>
|
|
|
|
<y>221</y>
|
|
|
|
</hint>
|
|
|
|
</hints>
|
|
|
|
</connection>
|
|
|
|
<connection>
|
|
|
|
<sender>modpackBox</sender>
|
|
|
|
<signal>toggled(bool)</signal>
|
|
|
|
<receiver>modpackBtn</receiver>
|
|
|
|
<slot>setEnabled(bool)</slot>
|
|
|
|
<hints>
|
|
|
|
<hint type="sourcelabel">
|
|
|
|
<x>129</x>
|
|
|
|
<y>225</y>
|
|
|
|
</hint>
|
|
|
|
<hint type="destinationlabel">
|
|
|
|
<x>328</x>
|
|
|
|
<y>229</y>
|
|
|
|
</hint>
|
|
|
|
</hints>
|
|
|
|
</connection>
|
|
|
|
<connection>
|
|
|
|
<sender>versionBox</sender>
|
|
|
|
<signal>toggled(bool)</signal>
|
|
|
|
<receiver>versionTextBox</receiver>
|
|
|
|
<slot>setEnabled(bool)</slot>
|
|
|
|
<hints>
|
|
|
|
<hint type="sourcelabel">
|
|
|
|
<x>93</x>
|
|
|
|
<y>195</y>
|
|
|
|
</hint>
|
|
|
|
<hint type="destinationlabel">
|
|
|
|
<x>213</x>
|
|
|
|
<y>191</y>
|
|
|
|
</hint>
|
|
|
|
</hints>
|
|
|
|
</connection>
|
|
|
|
<connection>
|
|
|
|
<sender>versionBox</sender>
|
|
|
|
<signal>toggled(bool)</signal>
|
|
|
|
<receiver>btnChangeVersion</receiver>
|
|
|
|
<slot>setEnabled(bool)</slot>
|
|
|
|
<hints>
|
|
|
|
<hint type="sourcelabel">
|
|
|
|
<x>104</x>
|
|
|
|
<y>198</y>
|
|
|
|
</hint>
|
|
|
|
<hint type="destinationlabel">
|
|
|
|
<x>322</x>
|
|
|
|
<y>192</y>
|
|
|
|
</hint>
|
|
|
|
</hints>
|
|
|
|
</connection>
|
2013-02-02 00:37:36 +05:30
|
|
|
</connections>
|
|
|
|
</ui>
|