2013-08-22 17:22:49 +03:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<ui version="4.0">
|
|
|
|
<class>CSettingsView</class>
|
|
|
|
<widget class="QWidget" name="CSettingsView">
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>0</x>
|
|
|
|
<y>0</y>
|
|
|
|
<width>700</width>
|
2013-09-21 21:29:26 +03:00
|
|
|
<height>308</height>
|
2013-08-22 17:22:49 +03:00
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
<property name="windowTitle">
|
|
|
|
<string>Form</string>
|
|
|
|
</property>
|
|
|
|
<layout class="QGridLayout" name="gridLayout">
|
2013-09-21 21:29:26 +03:00
|
|
|
<item row="2" column="1">
|
|
|
|
<widget class="QComboBox" name="comboBoxFullScreen">
|
|
|
|
<property name="currentIndex">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<item>
|
|
|
|
<property name="text">
|
|
|
|
<string>Off</string>
|
|
|
|
</property>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<property name="text">
|
|
|
|
<string>On</string>
|
|
|
|
</property>
|
|
|
|
</item>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="11" column="0" colspan="5">
|
|
|
|
<widget class="QPlainTextEdit" name="plainTextEditRepos">
|
|
|
|
<property name="lineWrapMode">
|
|
|
|
<enum>QPlainTextEdit::NoWrap</enum>
|
|
|
|
</property>
|
|
|
|
<property name="plainText">
|
|
|
|
<string>http://downloads.vcmi.eu/Mods/repository.json</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="2" column="4">
|
|
|
|
<widget class="QLineEdit" name="lineEditUserDataDir">
|
2013-08-22 17:22:49 +03:00
|
|
|
<property name="enabled">
|
|
|
|
<bool>false</bool>
|
|
|
|
</property>
|
|
|
|
<property name="minimumSize">
|
|
|
|
<size>
|
|
|
|
<width>150</width>
|
|
|
|
<height>0</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
2013-09-21 21:29:26 +03:00
|
|
|
<string>/home/user/.vcmi</string>
|
2013-08-22 17:22:49 +03:00
|
|
|
</property>
|
|
|
|
<property name="readOnly">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2013-09-21 21:29:26 +03:00
|
|
|
<item row="5" column="0">
|
|
|
|
<widget class="QLabel" name="labelPlayerAI">
|
|
|
|
<property name="text">
|
|
|
|
<string>Player AI</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="2" column="2">
|
|
|
|
<spacer name="spacerColumns">
|
2013-08-22 17:22:49 +03:00
|
|
|
<property name="orientation">
|
2013-09-21 21:29:26 +03:00
|
|
|
<enum>Qt::Horizontal</enum>
|
2013-08-22 17:22:49 +03:00
|
|
|
</property>
|
|
|
|
<property name="sizeType">
|
|
|
|
<enum>QSizePolicy::Fixed</enum>
|
|
|
|
</property>
|
|
|
|
<property name="sizeHint" stdset="0">
|
|
|
|
<size>
|
2013-09-21 21:29:26 +03:00
|
|
|
<width>8</width>
|
|
|
|
<height>20</height>
|
2013-08-22 17:22:49 +03:00
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
</spacer>
|
|
|
|
</item>
|
2013-09-21 21:29:26 +03:00
|
|
|
<item row="1" column="4">
|
|
|
|
<widget class="QLineEdit" name="lineEditGameDir">
|
|
|
|
<property name="enabled">
|
|
|
|
<bool>false</bool>
|
|
|
|
</property>
|
|
|
|
<property name="minimumSize">
|
|
|
|
<size>
|
|
|
|
<width>150</width>
|
|
|
|
<height>0</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
2013-08-22 17:22:49 +03:00
|
|
|
<property name="text">
|
2013-09-21 21:29:26 +03:00
|
|
|
<string>/usr/share/vcmi</string>
|
|
|
|
</property>
|
|
|
|
<property name="readOnly">
|
|
|
|
<bool>true</bool>
|
2013-08-22 17:22:49 +03:00
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2013-09-21 21:29:26 +03:00
|
|
|
<item row="7" column="3">
|
|
|
|
<widget class="QLabel" name="labelEnableMods">
|
|
|
|
<property name="text">
|
|
|
|
<string>Enable mods on install</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="5" column="4">
|
|
|
|
<widget class="QSpinBox" name="spinBoxNetworkPort">
|
|
|
|
<property name="minimum">
|
|
|
|
<number>1024</number>
|
|
|
|
</property>
|
|
|
|
<property name="maximum">
|
|
|
|
<number>65535</number>
|
|
|
|
</property>
|
|
|
|
<property name="value">
|
|
|
|
<number>3030</number>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="2" column="3">
|
|
|
|
<widget class="QLabel" name="labelUserDataDir">
|
|
|
|
<property name="text">
|
|
|
|
<string>User data directory</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="1" column="3">
|
|
|
|
<widget class="QLabel" name="labelGameDir">
|
|
|
|
<property name="text">
|
|
|
|
<string>Game directory</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="4" column="0" colspan="2">
|
|
|
|
<widget class="QLabel" name="labelAISettings">
|
|
|
|
<property name="font">
|
|
|
|
<font>
|
|
|
|
<weight>75</weight>
|
|
|
|
<bold>true</bold>
|
|
|
|
</font>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>AI Settings</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="8" column="0">
|
|
|
|
<spacer name="spacerRepos">
|
2013-08-22 17:22:49 +03:00
|
|
|
<property name="orientation">
|
|
|
|
<enum>Qt::Vertical</enum>
|
|
|
|
</property>
|
|
|
|
<property name="sizeType">
|
|
|
|
<enum>QSizePolicy::Fixed</enum>
|
|
|
|
</property>
|
|
|
|
<property name="sizeHint" stdset="0">
|
|
|
|
<size>
|
2013-09-21 21:29:26 +03:00
|
|
|
<width>20</width>
|
2013-08-22 17:22:49 +03:00
|
|
|
<height>8</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
</spacer>
|
|
|
|
</item>
|
2013-09-21 21:29:26 +03:00
|
|
|
<item row="1" column="0">
|
|
|
|
<widget class="QLabel" name="labelResolution">
|
2013-08-22 17:22:49 +03:00
|
|
|
<property name="text">
|
2013-09-21 21:29:26 +03:00
|
|
|
<string>Resolution</string>
|
2013-08-22 17:22:49 +03:00
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2013-09-21 21:29:26 +03:00
|
|
|
<item row="0" column="0" colspan="2">
|
|
|
|
<widget class="QLabel" name="labelVideo">
|
|
|
|
<property name="font">
|
|
|
|
<font>
|
|
|
|
<weight>75</weight>
|
|
|
|
<bold>true</bold>
|
|
|
|
</font>
|
2013-08-22 17:22:49 +03:00
|
|
|
</property>
|
2013-09-21 21:29:26 +03:00
|
|
|
<property name="text">
|
|
|
|
<string>Video</string>
|
2013-08-22 17:22:49 +03:00
|
|
|
</property>
|
2013-09-21 21:29:26 +03:00
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="0" column="3" colspan="2">
|
|
|
|
<widget class="QLabel" name="labelDataDirs">
|
|
|
|
<property name="font">
|
|
|
|
<font>
|
|
|
|
<weight>75</weight>
|
|
|
|
<bold>true</bold>
|
|
|
|
</font>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Data Directories (unchangeable)</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="9" column="0" colspan="2">
|
|
|
|
<widget class="QLabel" name="labelRepositories">
|
|
|
|
<property name="font">
|
|
|
|
<font>
|
|
|
|
<weight>75</weight>
|
|
|
|
<bold>true</bold>
|
|
|
|
</font>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Repositories</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="4" column="3" colspan="2">
|
|
|
|
<widget class="QLabel" name="labelGeneral">
|
|
|
|
<property name="font">
|
|
|
|
<font>
|
|
|
|
<weight>75</weight>
|
|
|
|
<bold>true</bold>
|
|
|
|
</font>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>General</string>
|
2013-08-22 17:22:49 +03:00
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="5" column="1">
|
|
|
|
<widget class="QComboBox" name="comboBoxPlayerAI">
|
|
|
|
<item>
|
|
|
|
<property name="text">
|
|
|
|
<string>VCAI</string>
|
|
|
|
</property>
|
|
|
|
</item>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="5" column="3">
|
|
|
|
<widget class="QLabel" name="labelNetworkPort">
|
|
|
|
<property name="text">
|
|
|
|
<string>Network port</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="1" column="1">
|
|
|
|
<widget class="QComboBox" name="comboBoxResolution">
|
|
|
|
<item>
|
|
|
|
<property name="text">
|
|
|
|
<string>800x600</string>
|
|
|
|
</property>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<property name="text">
|
|
|
|
<string>1024x600</string>
|
|
|
|
</property>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<property name="text">
|
|
|
|
<string>1024x768</string>
|
|
|
|
</property>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<property name="text">
|
|
|
|
<string>1280x800</string>
|
|
|
|
</property>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<property name="text">
|
|
|
|
<string>1280x960</string>
|
|
|
|
</property>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<property name="text">
|
|
|
|
<string>1280x1024</string>
|
|
|
|
</property>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<property name="text">
|
|
|
|
<string>1366x768</string>
|
|
|
|
</property>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<property name="text">
|
|
|
|
<string>1440x900</string>
|
|
|
|
</property>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<property name="text">
|
|
|
|
<string>1600x1200</string>
|
|
|
|
</property>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<property name="text">
|
|
|
|
<string>1680x1050</string>
|
|
|
|
</property>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<property name="text">
|
|
|
|
<string>1920x1080</string>
|
|
|
|
</property>
|
|
|
|
</item>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2013-09-21 21:29:26 +03:00
|
|
|
<item row="7" column="4">
|
2013-08-22 17:22:49 +03:00
|
|
|
<widget class="QComboBox" name="comboBoxEnableMods">
|
|
|
|
<property name="currentIndex">
|
|
|
|
<number>1</number>
|
|
|
|
</property>
|
|
|
|
<item>
|
|
|
|
<property name="text">
|
|
|
|
<string>Off</string>
|
|
|
|
</property>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<property name="text">
|
|
|
|
<string>On</string>
|
|
|
|
</property>
|
|
|
|
</item>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2013-09-21 21:29:26 +03:00
|
|
|
<item row="3" column="0">
|
|
|
|
<spacer name="spacerSections">
|
2013-08-22 17:22:49 +03:00
|
|
|
<property name="orientation">
|
2013-09-21 21:29:26 +03:00
|
|
|
<enum>Qt::Vertical</enum>
|
2013-08-22 17:22:49 +03:00
|
|
|
</property>
|
|
|
|
<property name="sizeType">
|
|
|
|
<enum>QSizePolicy::Fixed</enum>
|
|
|
|
</property>
|
|
|
|
<property name="sizeHint" stdset="0">
|
|
|
|
<size>
|
2013-09-21 21:29:26 +03:00
|
|
|
<width>56</width>
|
|
|
|
<height>8</height>
|
2013-08-22 17:22:49 +03:00
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
</spacer>
|
|
|
|
</item>
|
2013-09-21 21:29:26 +03:00
|
|
|
<item row="2" column="0">
|
|
|
|
<widget class="QLabel" name="labelFullScreen">
|
|
|
|
<property name="text">
|
|
|
|
<string>Fullscreen</string>
|
2013-08-22 17:22:49 +03:00
|
|
|
</property>
|
2013-09-21 21:29:26 +03:00
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="6" column="4">
|
|
|
|
<widget class="QComboBox" name="comboBoxEncoding">
|
2013-08-22 17:22:49 +03:00
|
|
|
<item>
|
|
|
|
<property name="text">
|
2013-09-21 21:29:26 +03:00
|
|
|
<string>Central European (Windows 1250)</string>
|
|
|
|
</property>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<property name="text">
|
|
|
|
<string>Cyrillic script (Windows 1251)</string>
|
|
|
|
</property>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<property name="text">
|
|
|
|
<string>Western European (Windows 1252)</string>
|
|
|
|
</property>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<property name="text">
|
|
|
|
<string>Simplified Chinese (GBK)</string>
|
|
|
|
</property>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<property name="text">
|
|
|
|
<string>Simplified Chinese (GB2312)</string>
|
2013-08-22 17:22:49 +03:00
|
|
|
</property>
|
|
|
|
</item>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="6" column="1">
|
|
|
|
<widget class="QComboBox" name="comboBoxNeutralAI">
|
|
|
|
<item>
|
|
|
|
<property name="text">
|
|
|
|
<string>StupidAI</string>
|
|
|
|
</property>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<property name="text">
|
|
|
|
<string>BattleAI</string>
|
|
|
|
</property>
|
|
|
|
</item>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2013-09-21 21:29:26 +03:00
|
|
|
<item row="6" column="0">
|
|
|
|
<widget class="QLabel" name="labelNeutralAI">
|
2013-08-22 17:22:49 +03:00
|
|
|
<property name="text">
|
2013-09-21 21:29:26 +03:00
|
|
|
<string>Neutral AI</string>
|
2013-08-22 17:22:49 +03:00
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2013-09-21 21:29:26 +03:00
|
|
|
<item row="6" column="3">
|
|
|
|
<widget class="QLabel" name="labelEncoding">
|
2013-08-22 17:22:49 +03:00
|
|
|
<property name="text">
|
2013-09-21 21:29:26 +03:00
|
|
|
<string>Heroes III character set</string>
|
2013-08-22 17:22:49 +03:00
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
<resources/>
|
|
|
|
<connections/>
|
|
|
|
</ui>
|