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>
|
2022-12-01 12:55:08 +02:00
|
|
|
<width>470</width>
|
2022-09-18 01:23:17 +02:00
|
|
|
<height>480</height>
|
|
|
|
</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">
|
2022-12-01 12:55:08 +02:00
|
|
|
<item row="2" column="1">
|
|
|
|
<widget class="QPushButton" name="pushButton">
|
|
|
|
<property name="text">
|
|
|
|
<string>Ok</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="1" column="1">
|
2022-09-18 01:23:17 +02:00
|
|
|
<widget class="QTabWidget" name="tabWidget">
|
|
|
|
<property name="currentIndex">
|
2022-12-03 01:04:03 +02:00
|
|
|
<number>1</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>
|
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">
|
|
|
|
<string>1</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QRadioButton" name="diffRadio2">
|
|
|
|
<property name="text">
|
|
|
|
<string>2</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QRadioButton" name="diffRadio3">
|
|
|
|
<property name="text">
|
|
|
|
<string>3</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QRadioButton" name="diffRadio4">
|
|
|
|
<property name="text">
|
|
|
|
<string>4</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QRadioButton" name="diffRadio5">
|
|
|
|
<property name="text">
|
|
|
|
<string>5</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
<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">
|
2022-12-03 01:04:03 +02:00
|
|
|
<string>7 days without castle</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>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
<resources/>
|
|
|
|
<connections/>
|
|
|
|
</ui>
|