mirror of
https://github.com/isledecomp/isle-portable.git
synced 2025-08-03 15:47:34 -04:00

* Add Launch Game option to config tool * Rename executable from "config" to "isle-config" * Add error popup if unable to find game executable * Use one QMessageBox for both Win and *nix Create one QMessageBox object to use for both Windows and non-Windows platforms. Additionally, set all relevant text during creation of QMessageBox, and show Warning icon as part of message box. * Add tooltips to save, launch, and exit buttons * Change "Launch Game" to "Save and Launch" * Remove unnecessary Windows-specific code
574 lines
18 KiB
XML
574 lines
18 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>MainDialog</class>
|
|
<widget class="QDialog" name="MainDialog">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>575</width>
|
|
<height>600</height>
|
|
</rect>
|
|
</property>
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>Configure LEGO Island</string>
|
|
</property>
|
|
<property name="windowIcon">
|
|
<iconset resource="config.qrc">
|
|
<normaloff>:/lego1.png</normaloff>:/lego1.png</iconset>
|
|
</property>
|
|
<layout class="QHBoxLayout" name="horizontalLayout" stretch="0,1">
|
|
<item>
|
|
<widget class="QLabel" name="sharkImageLabel">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>143</width>
|
|
<height>383</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>16777215</width>
|
|
<height>16777215</height>
|
|
</size>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Jaws.</string>
|
|
</property>
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
<property name="pixmap">
|
|
<pixmap resource="config.qrc">:/shark.png</pixmap>
|
|
</property>
|
|
<property name="scaledContents">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="alignment">
|
|
<set>Qt::AlignCenter</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QWidget" name="settingsWidget" native="true">
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
<item>
|
|
<widget class="QWidget" name="dataPaths" native="true">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>0</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
<layout class="QGridLayout" name="gridLayout_2">
|
|
<property name="topMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="bottomMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<item row="5" column="2">
|
|
<widget class="QPushButton" name="savePathOpen">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>55</width>
|
|
<height>16777215</height>
|
|
</size>
|
|
</property>
|
|
<property name="text">
|
|
<string>Open</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="2">
|
|
<widget class="QPushButton" name="dataPathOpen">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>55</width>
|
|
<height>16777215</height>
|
|
</size>
|
|
</property>
|
|
<property name="text">
|
|
<string>Open</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="5" column="0">
|
|
<widget class="QLabel" name="savePathLabel">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Minimum" vsizetype="Preferred">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="text">
|
|
<string>Save Path:</string>
|
|
</property>
|
|
<property name="textFormat">
|
|
<enum>Qt::PlainText</enum>
|
|
</property>
|
|
<property name="alignment">
|
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="1">
|
|
<widget class="QLineEdit" name="dataPath">
|
|
<property name="toolTip">
|
|
<string>Path to the game data files. Set this to the CD image root.</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="5" column="1">
|
|
<widget class="QLineEdit" name="savePath">
|
|
<property name="toolTip">
|
|
<string>Folder where save files are kept.</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="0">
|
|
<widget class="QLabel" name="dataPathLabel">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Minimum" vsizetype="Preferred">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="text">
|
|
<string>Data Path:</string>
|
|
</property>
|
|
<property name="textFormat">
|
|
<enum>Qt::PlainText</enum>
|
|
</property>
|
|
<property name="alignment">
|
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QWidget" name="QualityOptionsHolder" native="true">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>0</width>
|
|
<height>80</height>
|
|
</size>
|
|
</property>
|
|
<layout class="QGridLayout" name="gridLayout">
|
|
<property name="leftMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="rightMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<item row="0" column="3">
|
|
<widget class="QGroupBox" name="modelQualityGroup">
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>16777215</width>
|
|
<height>120</height>
|
|
</size>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Set 3D model detail level.</string>
|
|
</property>
|
|
<property name="title">
|
|
<string>Island Model Quality</string>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout_6">
|
|
<item>
|
|
<widget class="QRadioButton" name="modelQualityLowRadioButton">
|
|
<property name="text">
|
|
<string>Low</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QRadioButton" name="modelQualityMediumRadioButton">
|
|
<property name="text">
|
|
<string>Medium</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QRadioButton" name="modelQualityHighRadioButton">
|
|
<property name="text">
|
|
<string>High</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="2">
|
|
<widget class="QGroupBox" name="maxLoDGroup">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>0</width>
|
|
<height>70</height>
|
|
</size>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Maximum Level of Detail (LOD). A higher setting will cause higher quality textures to be drawn regardless of distance.</string>
|
|
</property>
|
|
<property name="title">
|
|
<string>Maximum LOD</string>
|
|
</property>
|
|
<property name="alignment">
|
|
<set>Qt::AlignCenter</set>
|
|
</property>
|
|
<layout class="QHBoxLayout" name="horizontalLayout_7">
|
|
<item>
|
|
<widget class="QSlider" name="maxLoDSlider">
|
|
<property name="maximum">
|
|
<number>50</number>
|
|
</property>
|
|
<property name="singleStep">
|
|
<number>5</number>
|
|
</property>
|
|
<property name="pageStep">
|
|
<number>10</number>
|
|
</property>
|
|
<property name="value">
|
|
<number>35</number>
|
|
</property>
|
|
<property name="tracking">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="tickPosition">
|
|
<enum>QSlider::TicksBothSides</enum>
|
|
</property>
|
|
<property name="tickInterval">
|
|
<number>10</number>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="2">
|
|
<widget class="QGroupBox" name="textureQualityGroup">
|
|
<property name="toolTip">
|
|
<string>Set texture detail level.</string>
|
|
</property>
|
|
<property name="title">
|
|
<string>Island Texture Quality</string>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout_5">
|
|
<property name="topMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="bottomMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<item>
|
|
<widget class="QRadioButton" name="textureQualityFastRadioButton">
|
|
<property name="text">
|
|
<string>Fast</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QRadioButton" name="textureQualityHighRadioButton">
|
|
<property name="text">
|
|
<string>High</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="3">
|
|
<widget class="QGroupBox" name="maxActorsGroup">
|
|
<property name="toolTip">
|
|
<string>Maximum number of LEGO actors to exist in the world at a time. The game will gradually increase the number of actors until this maximum is reached and while performance is acceptable.</string>
|
|
</property>
|
|
<property name="title">
|
|
<string>Maximum Actors (5..40)</string>
|
|
</property>
|
|
<property name="alignment">
|
|
<set>Qt::AlignCenter</set>
|
|
</property>
|
|
<layout class="QHBoxLayout" name="horizontalLayout_8">
|
|
<item>
|
|
<widget class="QSlider" name="maxActorsSlider">
|
|
<property name="minimum">
|
|
<number>5</number>
|
|
</property>
|
|
<property name="maximum">
|
|
<number>40</number>
|
|
</property>
|
|
<property name="singleStep">
|
|
<number>5</number>
|
|
</property>
|
|
<property name="value">
|
|
<number>20</number>
|
|
</property>
|
|
<property name="sliderPosition">
|
|
<number>20</number>
|
|
</property>
|
|
<property name="tracking">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="tickPosition">
|
|
<enum>QSlider::TicksBothSides</enum>
|
|
</property>
|
|
<property name="tickInterval">
|
|
<number>5</number>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QWidget" name="checkboxWidget" native="true">
|
|
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
|
<item>
|
|
<widget class="QCheckBox" name="sound3DCheckBox">
|
|
<property name="toolTip">
|
|
<string>Enable 3D positional audio effects.</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>3D Sound</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QCheckBox" name="musicCheckBox">
|
|
<property name="toolTip">
|
|
<string>Enable in-game background music.</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Music</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QCheckBox" name="joystickCheckBox">
|
|
<property name="toolTip">
|
|
<string>Enable joystick and gamepad support for LEGO Island.</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Use Joystick</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QCheckBox" name="fullscreenCheckBox">
|
|
<property name="toolTip">
|
|
<string>Toggle fullscreen display mode.</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Fullscreen</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QGroupBox" name="advancedGroup">
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>16777215</width>
|
|
<height>225</height>
|
|
</size>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>3D graphics device used to render the game.</string>
|
|
</property>
|
|
<property name="title">
|
|
<string/>
|
|
</property>
|
|
<property name="alignment">
|
|
<set>Qt::AlignCenter</set>
|
|
</property>
|
|
<property name="flat">
|
|
<bool>false</bool>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout_2">
|
|
<property name="leftMargin">
|
|
<number>6</number>
|
|
</property>
|
|
<property name="topMargin">
|
|
<number>6</number>
|
|
</property>
|
|
<property name="rightMargin">
|
|
<number>6</number>
|
|
</property>
|
|
<property name="bottomMargin">
|
|
<number>6</number>
|
|
</property>
|
|
<item>
|
|
<widget class="QLabel" name="direct3DDevicesLabel">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>0</width>
|
|
<height>25</height>
|
|
</size>
|
|
</property>
|
|
<property name="text">
|
|
<string>Direct 3D Devices</string>
|
|
</property>
|
|
<property name="alignment">
|
|
<set>Qt::AlignCenter</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QListWidget" name="devicesList">
|
|
<property name="enabled">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Minimum">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>16777215</width>
|
|
<height>125</height>
|
|
</size>
|
|
</property>
|
|
<property name="editTriggers">
|
|
<set>QAbstractItemView::NoEditTriggers</set>
|
|
</property>
|
|
<property name="alternatingRowColors">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="selectionBehavior">
|
|
<enum>QAbstractItemView::SelectRows</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QWidget" name="buttonWidgets" native="true">
|
|
<layout class="QHBoxLayout" name="horizontalLayout_6">
|
|
<property name="spacing">
|
|
<number>30</number>
|
|
</property>
|
|
<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="QPushButton" name="okButton">
|
|
<property name="toolTip">
|
|
<string>Save configuration and close the config tool.</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Save and Exit</string>
|
|
</property>
|
|
<property name="default">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="launchButton">
|
|
<property name="toolTip">
|
|
<string>Save configuration and launch LEGO Island.</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Save and Launch</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="cancelButton">
|
|
<property name="toolTip">
|
|
<string>Discard changed settings and close the config tool.</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Exit without saving</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<tabstops>
|
|
<tabstop>dataPath</tabstop>
|
|
<tabstop>dataPathOpen</tabstop>
|
|
<tabstop>savePath</tabstop>
|
|
<tabstop>savePathOpen</tabstop>
|
|
<tabstop>textureQualityFastRadioButton</tabstop>
|
|
<tabstop>textureQualityHighRadioButton</tabstop>
|
|
<tabstop>modelQualityLowRadioButton</tabstop>
|
|
<tabstop>modelQualityMediumRadioButton</tabstop>
|
|
<tabstop>modelQualityHighRadioButton</tabstop>
|
|
<tabstop>maxLoDSlider</tabstop>
|
|
<tabstop>maxActorsSlider</tabstop>
|
|
<tabstop>sound3DCheckBox</tabstop>
|
|
<tabstop>musicCheckBox</tabstop>
|
|
<tabstop>joystickCheckBox</tabstop>
|
|
<tabstop>devicesList</tabstop>
|
|
<tabstop>okButton</tabstop>
|
|
<tabstop>cancelButton</tabstop>
|
|
</tabstops>
|
|
<resources>
|
|
<include location="config.qrc"/>
|
|
</resources>
|
|
<connections/>
|
|
</ui>
|