mirror of
https://github.com/vcmi/vcmi.git
synced 2024-11-24 08:32:34 +02:00
624 lines
18 KiB
XML
624 lines
18 KiB
XML
<?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>842</width>
|
|
<height>363</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string/>
|
|
</property>
|
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
|
<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="QListWidget" name="listWidgetSettings">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Fixed" vsizetype="Expanding">
|
|
<horstretch>1</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>200</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<weight>75</weight>
|
|
<bold>true</bold>
|
|
</font>
|
|
</property>
|
|
<property name="verticalScrollBarPolicy">
|
|
<enum>Qt::ScrollBarAlwaysOff</enum>
|
|
</property>
|
|
<property name="horizontalScrollBarPolicy">
|
|
<enum>Qt::ScrollBarAlwaysOff</enum>
|
|
</property>
|
|
<property name="autoScroll">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="editTriggers">
|
|
<set>QAbstractItemView::NoEditTriggers</set>
|
|
</property>
|
|
<property name="selectionBehavior">
|
|
<enum>QAbstractItemView::SelectRows</enum>
|
|
</property>
|
|
<property name="spacing">
|
|
<number>4</number>
|
|
</property>
|
|
<item>
|
|
<property name="text">
|
|
<string>General</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Video</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Artificial Intelligence</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Data Directories</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Mod Repositories</string>
|
|
</property>
|
|
</item>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QScrollArea" name="settingsScrollArea">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
|
|
<horstretch>100</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="verticalScrollBarPolicy">
|
|
<enum>Qt::ScrollBarAlwaysOn</enum>
|
|
</property>
|
|
<property name="horizontalScrollBarPolicy">
|
|
<enum>Qt::ScrollBarAlwaysOff</enum>
|
|
</property>
|
|
<property name="widgetResizable">
|
|
<bool>true</bool>
|
|
</property>
|
|
<widget class="QWidget" name="scrollAreaWidgetContents_2">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>-107</y>
|
|
<width>620</width>
|
|
<height>745</height>
|
|
</rect>
|
|
</property>
|
|
<layout class="QGridLayout" name="gridLayout" columnstretch="3,0,0,0">
|
|
<item row="19" column="1" colspan="3">
|
|
<widget class="QComboBox" name="comboBoxEnemyAI">
|
|
<property name="editable">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="currentText">
|
|
<string notr="true">BattleAI</string>
|
|
</property>
|
|
<item>
|
|
<property name="text">
|
|
<string notr="true">BattleAI</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string notr="true">StupidAI</string>
|
|
</property>
|
|
</item>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<widget class="QLabel" name="labelLanguage">
|
|
<property name="text">
|
|
<string>VCMI Language</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="6" column="0">
|
|
<widget class="QLabel" name="labelNetworkPort">
|
|
<property name="text">
|
|
<string>Network port</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="11" column="0">
|
|
<widget class="QLabel" name="labelFullScreen">
|
|
<property name="text">
|
|
<string>Fullscreen</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="10" column="0">
|
|
<widget class="QLabel" name="labelResolution">
|
|
<property name="text">
|
|
<string>Resolution</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="17" column="0">
|
|
<widget class="QLabel" name="labelNeutralAI">
|
|
<property name="text">
|
|
<string>Neutral AI</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="7" column="0">
|
|
<widget class="QLabel" name="labelAutoSave">
|
|
<property name="text">
|
|
<string>Autosave</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="9" column="0">
|
|
<widget class="QLabel" name="labelVideo">
|
|
<property name="font">
|
|
<font>
|
|
<weight>75</weight>
|
|
<bold>true</bold>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string>Video</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="23" column="1" colspan="2">
|
|
<widget class="QLineEdit" name="lineEditTempDir">
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="text">
|
|
<string notr="true">/home/user/.vcmi</string>
|
|
</property>
|
|
<property name="readOnly">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="13" column="1" colspan="3">
|
|
<widget class="QComboBox" name="comboBoxDisplayIndex"/>
|
|
</item>
|
|
<item row="14" column="0">
|
|
<widget class="QLabel" name="labelCursorType">
|
|
<property name="text">
|
|
<string>Cursor</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="22" column="3">
|
|
<widget class="QPushButton" name="openUserDataDir">
|
|
<property name="text">
|
|
<string>Open</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="1" colspan="3">
|
|
<widget class="QComboBox" name="comboBoxLanguage"/>
|
|
</item>
|
|
<item row="18" column="1" colspan="3">
|
|
<widget class="QComboBox" name="comboBoxFriendlyAI">
|
|
<property name="editable">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="currentText">
|
|
<string notr="true">BattleAI</string>
|
|
</property>
|
|
<item>
|
|
<property name="text">
|
|
<string notr="true">BattleAI</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string notr="true">StupidAI</string>
|
|
</property>
|
|
</item>
|
|
</widget>
|
|
</item>
|
|
<item row="11" column="1" colspan="3">
|
|
<widget class="QComboBox" name="comboBoxFullScreen">
|
|
<property name="currentIndex">
|
|
<number>0</number>
|
|
</property>
|
|
<item>
|
|
<property name="text">
|
|
<string>Windowed</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Borderless fullscreen</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Exclusive fullscreen</string>
|
|
</property>
|
|
</item>
|
|
</widget>
|
|
</item>
|
|
<item row="6" column="1" colspan="3">
|
|
<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="23" column="3">
|
|
<widget class="QPushButton" name="openTempDir">
|
|
<property name="text">
|
|
<string>Open</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="7" column="1" colspan="3">
|
|
<widget class="QComboBox" name="comboBoxAutoSave">
|
|
<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>
|
|
<item row="20" column="0">
|
|
<widget class="QLabel" name="labelDataDirs">
|
|
<property name="font">
|
|
<font>
|
|
<weight>75</weight>
|
|
<bold>true</bold>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string>Data Directories</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="21" column="2">
|
|
<widget class="QPushButton" name="changeGameDataDir">
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="text">
|
|
<string>Change</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="22" column="0">
|
|
<widget class="QLabel" name="labelUserDataDir">
|
|
<property name="text">
|
|
<string>User data directory</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="8" column="0">
|
|
<widget class="QLabel" name="labelBuildVersionDesc">
|
|
<property name="text">
|
|
<string>Build version</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="0">
|
|
<widget class="QLabel" name="labelGeneral">
|
|
<property name="font">
|
|
<font>
|
|
<weight>75</weight>
|
|
<bold>true</bold>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string>General</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="12" column="0">
|
|
<widget class="QLabel" name="labelShowIntro">
|
|
<property name="text">
|
|
<string>Show intro</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="25" column="2" colspan="2">
|
|
<widget class="QPushButton" name="updatesButton">
|
|
<property name="text">
|
|
<string>Update now</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="13" column="0">
|
|
<widget class="QLabel" name="labelDisplayIndex">
|
|
<property name="text">
|
|
<string>Display index</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="21" column="1">
|
|
<widget class="QLineEdit" name="lineEditGameDir">
|
|
<property name="text">
|
|
<string notr="true">/usr/share/vcmi</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="17" column="1" colspan="3">
|
|
<widget class="QComboBox" name="comboBoxNeutralAI">
|
|
<property name="currentText">
|
|
<string notr="true">BattleAI</string>
|
|
</property>
|
|
<item>
|
|
<property name="text">
|
|
<string notr="true">BattleAI</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string notr="true">StupidAI</string>
|
|
</property>
|
|
</item>
|
|
</widget>
|
|
</item>
|
|
<item row="10" column="1" colspan="3">
|
|
<widget class="QComboBox" name="comboBoxResolution"/>
|
|
</item>
|
|
<item row="24" column="0">
|
|
<widget class="QLabel" name="labelRepositories">
|
|
<property name="font">
|
|
<font>
|
|
<weight>75</weight>
|
|
<bold>true</bold>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string>Mod Repositories</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="18" column="0">
|
|
<widget class="QLabel" name="labelFriendlyAI">
|
|
<property name="text">
|
|
<string>Friendly AI</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="25" column="0">
|
|
<widget class="QLabel" name="labelAutoCheck">
|
|
<property name="text">
|
|
<string>Check on startup</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="12" column="1" colspan="3">
|
|
<widget class="QComboBox" name="comboBoxShowIntro">
|
|
<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>
|
|
<item row="22" column="1" colspan="2">
|
|
<widget class="QLineEdit" name="lineEditUserDataDir">
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="text">
|
|
<string notr="true">/home/user/.vcmi</string>
|
|
</property>
|
|
<property name="readOnly">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="21" column="0">
|
|
<widget class="QLabel" name="labelGameDir">
|
|
<property name="text">
|
|
<string>Extra data directory</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="21" column="3">
|
|
<widget class="QPushButton" name="openGameDataDir">
|
|
<property name="text">
|
|
<string>Open</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="4" column="1" colspan="3">
|
|
<widget class="QComboBox" name="comboBoxLanguageBase"/>
|
|
</item>
|
|
<item row="25" column="1">
|
|
<widget class="QComboBox" name="comboBoxAutoCheck">
|
|
<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>
|
|
<item row="4" column="0">
|
|
<widget class="QLabel" name="labelLanguageBase">
|
|
<property name="text">
|
|
<string>Heroes III Data Language</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="16" column="1" colspan="3">
|
|
<widget class="QComboBox" name="comboBoxPlayerAI">
|
|
<property name="currentText">
|
|
<string notr="true">VCAI</string>
|
|
</property>
|
|
<item>
|
|
<property name="text">
|
|
<string notr="true">VCAI</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string notr="true">Nullkiller</string>
|
|
</property>
|
|
</item>
|
|
</widget>
|
|
</item>
|
|
<item row="8" column="1" colspan="3">
|
|
<widget class="QLineEdit" name="lineEditBuildVersion">
|
|
<property name="text">
|
|
<string notr="true"/>
|
|
</property>
|
|
<property name="readOnly">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="19" column="0">
|
|
<widget class="QLabel" name="labelEnemyAI">
|
|
<property name="text">
|
|
<string>Enemy AI</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="26" column="0" colspan="4">
|
|
<widget class="QPlainTextEdit" name="plainTextEditRepos">
|
|
<property name="lineWrapMode">
|
|
<enum>QPlainTextEdit::NoWrap</enum>
|
|
</property>
|
|
<property name="plainText">
|
|
<string notr="true">http://downloads.vcmi.eu/Mods/repository.json</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="14" column="1" colspan="3">
|
|
<widget class="QComboBox" name="comboBoxCursorType">
|
|
<item>
|
|
<property name="text">
|
|
<string>Default</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Hardware</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Software</string>
|
|
</property>
|
|
</item>
|
|
</widget>
|
|
</item>
|
|
<item row="15" column="0">
|
|
<widget class="QLabel" name="labelArtificialIntelligence">
|
|
<property name="font">
|
|
<font>
|
|
<weight>75</weight>
|
|
<bold>true</bold>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string>Artificial Intelligence</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="23" column="0">
|
|
<widget class="QLabel" name="labelTempDir">
|
|
<property name="text">
|
|
<string>Log files directory</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="16" column="0">
|
|
<widget class="QLabel" name="labelPlayerAI">
|
|
<property name="text">
|
|
<string>Adventure Map AI</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="5" column="0">
|
|
<widget class="QLabel" name="labelTranslation">
|
|
<property name="text">
|
|
<string>Heroes III Translation</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="5" column="3">
|
|
<widget class="QPushButton" name="pushButtonTranslation">
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="5" column="1" colspan="2">
|
|
<widget class="QLabel" name="labelTranslationStatus">
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<resources/>
|
|
<connections/>
|
|
</ui>
|