diff options
author | Andrew <forkk@forkk.net> | 2013-03-28 11:33:31 -0500 |
---|---|---|
committer | Andrew <forkk@forkk.net> | 2013-03-28 11:33:31 -0500 |
commit | 168ed3e8e58a8e5065ffa720f8d45f4cee0f2069 (patch) | |
tree | b673669632797eab3fdf5bbf4e9fa471bcf20290 /gui/versionselectdialog.ui | |
parent | ad70e3fd4cda26508f00e9b549c04a5fe8831dac (diff) | |
download | PrismLauncher-168ed3e8e58a8e5065ffa720f8d45f4cee0f2069.tar.gz PrismLauncher-168ed3e8e58a8e5065ffa720f8d45f4cee0f2069.tar.bz2 PrismLauncher-168ed3e8e58a8e5065ffa720f8d45f4cee0f2069.zip |
Implemented version lists.
Further work on this is still needed. Currently there is no sorting or filtering of any kind. In addition,
changes need to be made to fix issues with bad ETags since the current system here is based on MultiMC 4's
version list system before it was fixed.
Diffstat (limited to 'gui/versionselectdialog.ui')
-rw-r--r-- | gui/versionselectdialog.ui | 100 |
1 files changed, 100 insertions, 0 deletions
diff --git a/gui/versionselectdialog.ui b/gui/versionselectdialog.ui new file mode 100644 index 00000000..7b94817a --- /dev/null +++ b/gui/versionselectdialog.ui @@ -0,0 +1,100 @@ +<?xml version="1.0" encoding="UTF-8"?> +<ui version="4.0"> + <class>VersionSelectDialog</class> + <widget class="QDialog" name="VersionSelectDialog"> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>400</width> + <height>300</height> + </rect> + </property> + <property name="windowTitle"> + <string>Dialog</string> + </property> + <layout class="QVBoxLayout" name="verticalLayout"> + <item> + <widget class="QTreeView" name="listView"> + <property name="horizontalScrollBarPolicy"> + <enum>Qt::ScrollBarAlwaysOff</enum> + </property> + <property name="rootIsDecorated"> + <bool>false</bool> + </property> + <property name="itemsExpandable"> + <bool>false</bool> + </property> + <property name="wordWrap"> + <bool>true</bool> + </property> + <attribute name="headerCascadingSectionResizes"> + <bool>true</bool> + </attribute> + <attribute name="headerStretchLastSection"> + <bool>false</bool> + </attribute> + </widget> + </item> + <item> + <layout class="QHBoxLayout" name="horizontalLayout"> + <item> + <widget class="QPushButton" name="refreshButton"> + <property name="toolTip"> + <string>Reloads the version list.</string> + </property> + <property name="text"> + <string>&Refresh</string> + </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> + </item> + </layout> + </widget> + <resources/> + <connections> + <connection> + <sender>buttonBox</sender> + <signal>accepted()</signal> + <receiver>VersionSelectDialog</receiver> + <slot>accept()</slot> + <hints> + <hint type="sourcelabel"> + <x>257</x> + <y>290</y> + </hint> + <hint type="destinationlabel"> + <x>157</x> + <y>274</y> + </hint> + </hints> + </connection> + <connection> + <sender>buttonBox</sender> + <signal>rejected()</signal> + <receiver>VersionSelectDialog</receiver> + <slot>reject()</slot> + <hints> + <hint type="sourcelabel"> + <x>325</x> + <y>290</y> + </hint> + <hint type="destinationlabel"> + <x>286</x> + <y>274</y> + </hint> + </hints> + </connection> + </connections> +</ui> |