1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-28 23:06:24 +02:00
vcmi/mapeditor/mapsettings.ui

448 lines
14 KiB
Plaintext
Raw Normal View History

2022-09-18 01:23:17 +02:00
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>MapSettings</class>
<widget class="QDialog" name="MapSettings">
<property name="windowModality">
<enum>Qt::ApplicationModal</enum>
</property>
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
2023-04-17 01:01:29 +02:00
<width>543</width>
2023-04-12 00:13:53 +02:00
<height>494</height>
2022-09-18 01:23:17 +02:00
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="windowTitle">
<string>Map settings</string>
</property>
<layout class="QGridLayout" name="gridLayout">
2023-04-17 01:01:29 +02:00
<item row="3" column="1">
2022-09-18 01:23:17 +02:00
<widget class="QTabWidget" name="tabWidget">
<property name="currentIndex">
2023-01-21 17:50:31 +02:00
<number>0</number>
2022-09-18 01:23:17 +02:00
</property>
<widget class="QWidget" name="tab">
<attribute name="title">
<string>General</string>
</attribute>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QLabel" name="label">
<property name="text">
<string>Map name</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="mapNameEdit"/>
</item>
<item>
<widget class="QLabel" name="label_2">
<property name="text">
<string>Map description</string>
</property>
</widget>
</item>
<item>
<widget class="QPlainTextEdit" name="mapDescriptionEdit"/>
</item>
2023-04-12 00:13:53 +02:00
<item>
<layout class="QHBoxLayout" name="horizontalLayout_4">
<property name="topMargin">
<number>10</number>
</property>
<item>
<widget class="QSpinBox" name="heroLevelLimit">
<property name="enabled">
<bool>false</bool>
</property>
<property name="minimumSize">
<size>
<width>48</width>
<height>0</height>
</size>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="heroLevelLimitCheck">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Limit maximum heroes level</string>
</property>
</widget>
</item>
</layout>
</item>
2022-12-01 12:55:08 +02:00
<item>
<widget class="QGroupBox" name="groupBox">
<property name="title">
<string>Difficulty</string>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_2">
<item>
<widget class="QRadioButton" name="diffRadio1">
<property name="text">
2023-01-21 17:50:31 +02:00
<string notr="true">1</string>
2022-12-01 12:55:08 +02:00
</property>
</widget>
</item>
<item>
<widget class="QRadioButton" name="diffRadio2">
<property name="text">
2023-01-21 17:50:31 +02:00
<string notr="true">2</string>
2022-12-01 12:55:08 +02:00
</property>
</widget>
</item>
<item>
<widget class="QRadioButton" name="diffRadio3">
<property name="text">
2023-01-21 17:50:31 +02:00
<string notr="true">3</string>
2022-12-01 12:55:08 +02:00
</property>
</widget>
</item>
<item>
<widget class="QRadioButton" name="diffRadio4">
<property name="text">
2023-01-21 17:50:31 +02:00
<string notr="true">4</string>
2022-12-01 12:55:08 +02:00
</property>
</widget>
</item>
<item>
<widget class="QRadioButton" name="diffRadio5">
<property name="text">
2023-01-21 17:50:31 +02:00
<string notr="true">5</string>
2022-12-01 12:55:08 +02:00
</property>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
2023-04-17 01:01:29 +02:00
<widget class="QWidget" name="tab_9">
<attribute name="title">
<string>Mods</string>
</attribute>
<layout class="QVBoxLayout" name="verticalLayout_8">
<item>
<widget class="QLabel" name="label_6">
<property name="text">
<string>Mandatory mods for playing this map</string>
</property>
</widget>
</item>
<item>
<widget class="QTreeWidget" name="treeMods">
<property name="sizeAdjustPolicy">
<enum>QAbstractScrollArea::AdjustIgnored</enum>
</property>
<attribute name="headerDefaultSectionSize">
<number>320</number>
</attribute>
<column>
<property name="text">
<string>Mod name</string>
</property>
</column>
<column>
<property name="text">
<string>Version</string>
</property>
</column>
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_3">
<item>
<widget class="QLabel" name="label_5">
<property name="text">
<string>Automatic assignment</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="modResolution_map">
<property name="toolTip">
<string>Set required mods based on objects placed on the map. This method may cause problems if you have customized rewards, garrisons, etc from mods</string>
</property>
<property name="text">
<string>Map objects mods</string>
</property>
<property name="autoDefault">
<bool>false</bool>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="modResolution_full">
<property name="toolTip">
<string>Set all mods having a game content as mandatory</string>
</property>
<property name="text">
<string>Full content mods</string>
</property>
<property name="autoDefault">
<bool>false</bool>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
2022-12-01 12:55:08 +02:00
<widget class="QWidget" name="tab_6">
<attribute name="title">
<string>Events</string>
</attribute>
<layout class="QVBoxLayout" name="verticalLayout_6">
<item>
<widget class="QTabWidget" name="tabWidget_2">
<property name="currentIndex">
2022-12-03 01:04:03 +02:00
<number>1</number>
2022-12-01 12:55:08 +02:00
</property>
<widget class="QWidget" name="tab_7">
<attribute name="title">
<string>Victory</string>
</attribute>
<layout class="QVBoxLayout" name="verticalLayout_7">
<item>
<layout class="QHBoxLayout" name="horizontalLayout">
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<item>
<widget class="QLabel" name="label_3">
<property name="text">
<string>Victory message</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="victoryMessageEdit"/>
</item>
</layout>
</item>
<item>
<widget class="QComboBox" name="victoryComboBox"/>
</item>
<item>
<widget class="QCheckBox" name="onlyForHumansCheck">
<property name="text">
<string>Only for human players</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="standardVictoryCheck">
<property name="text">
<string>Allow standard victory</string>
</property>
</widget>
</item>
<item>
<widget class="QGroupBox" name="victoryParams">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="title">
<string>Parameters</string>
</property>
2022-12-03 01:04:03 +02:00
<layout class="QVBoxLayout" name="verticalLayout_9">
<property name="topMargin">
<number>12</number>
</property>
<item>
<layout class="QVBoxLayout" name="victoryParamsLayout"/>
</item>
</layout>
2022-12-01 12:55:08 +02:00
</widget>
</item>
</layout>
</widget>
<widget class="QWidget" name="tab_8">
<attribute name="title">
<string>Loss</string>
</attribute>
<layout class="QFormLayout" name="formLayout_2">
<item row="1" column="0" colspan="2">
2022-12-03 01:04:03 +02:00
<widget class="QComboBox" name="loseComboBox"/>
2022-12-01 12:55:08 +02:00
</item>
<item row="2" column="0" colspan="2">
2022-12-03 01:04:03 +02:00
<widget class="QCheckBox" name="standardLoseCheck">
2022-12-01 12:55:08 +02:00
<property name="text">
2023-02-14 10:22:27 +02:00
<string>7 days without town</string>
2022-12-01 12:55:08 +02:00
</property>
</widget>
</item>
<item row="0" column="0">
<widget class="QLabel" name="label_4">
<property name="text">
<string>Defeat message</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QLineEdit" name="defeatMessageEdit"/>
</item>
<item row="3" column="0" colspan="2">
2022-12-03 01:04:03 +02:00
<widget class="QGroupBox" name="loseParams">
2022-12-01 12:55:08 +02:00
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="title">
<string>Parameters</string>
</property>
2022-12-03 01:04:03 +02:00
<layout class="QVBoxLayout" name="verticalLayout_11">
<item>
<layout class="QVBoxLayout" name="loseParamsLayout"/>
</item>
</layout>
2022-12-01 12:55:08 +02:00
</widget>
</item>
</layout>
</widget>
</widget>
</item>
2022-09-18 01:23:17 +02:00
</layout>
</widget>
<widget class="QWidget" name="tab_2">
<attribute name="title">
<string>Abilities</string>
</attribute>
<layout class="QVBoxLayout" name="verticalLayout_2">
<item>
<widget class="QListWidget" name="listAbilities">
<property name="horizontalScrollMode">
<enum>QAbstractItemView::ScrollPerItem</enum>
</property>
<property name="isWrapping" stdset="0">
<bool>true</bool>
</property>
<property name="resizeMode">
<enum>QListView::Adjust</enum>
</property>
<property name="layoutMode">
<enum>QListView::Batched</enum>
</property>
<property name="batchSize">
<number>30</number>
</property>
</widget>
</item>
</layout>
</widget>
<widget class="QWidget" name="tab_3">
<attribute name="title">
<string>Spells</string>
</attribute>
<layout class="QVBoxLayout" name="verticalLayout_3">
<item>
<widget class="QListWidget" name="listSpells">
<property name="editTriggers">
<set>QAbstractItemView::NoEditTriggers</set>
</property>
<property name="horizontalScrollMode">
<enum>QAbstractItemView::ScrollPerItem</enum>
</property>
<property name="isWrapping" stdset="0">
<bool>true</bool>
</property>
<property name="layoutMode">
<enum>QListView::Batched</enum>
</property>
<property name="batchSize">
<number>30</number>
</property>
</widget>
</item>
</layout>
</widget>
<widget class="QWidget" name="tab_4">
<attribute name="title">
<string>Artifacts</string>
</attribute>
<layout class="QVBoxLayout" name="verticalLayout_4">
<item>
<widget class="QListWidget" name="listArts">
<property name="editTriggers">
<set>QAbstractItemView::NoEditTriggers</set>
</property>
<property name="horizontalScrollMode">
<enum>QAbstractItemView::ScrollPerItem</enum>
</property>
<property name="isWrapping" stdset="0">
<bool>true</bool>
</property>
<property name="layoutMode">
<enum>QListView::Batched</enum>
</property>
<property name="batchSize">
<number>30</number>
</property>
</widget>
</item>
</layout>
</widget>
<widget class="QWidget" name="tab_5">
<attribute name="title">
<string>Heroes</string>
</attribute>
<layout class="QVBoxLayout" name="verticalLayout_5">
<item>
<widget class="QListWidget" name="listHeroes">
<property name="editTriggers">
<set>QAbstractItemView::NoEditTriggers</set>
</property>
<property name="horizontalScrollMode">
<enum>QAbstractItemView::ScrollPerItem</enum>
</property>
<property name="isWrapping" stdset="0">
<bool>true</bool>
</property>
<property name="layoutMode">
<enum>QListView::Batched</enum>
</property>
<property name="batchSize">
<number>30</number>
</property>
</widget>
</item>
</layout>
</widget>
</widget>
</item>
2023-04-17 01:01:29 +02:00
<item row="4" column="1">
<widget class="QPushButton" name="pushButton">
<property name="text">
<string>Ok</string>
</property>
</widget>
</item>
2022-09-18 01:23:17 +02:00
</layout>
</widget>
<resources/>
<connections/>
</ui>