| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246 |
- <?xml version="1.0" encoding="UTF-8"?>
- <ui version="4.0">
- <class>MainWindow</class>
- <widget class="QMainWindow" name="MainWindow">
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>1024</width>
- <height>768</height>
- </rect>
- </property>
- <property name="windowTitle">
- <string>VCMI Map Editor</string>
- </property>
- <widget class="QWidget" name="centralwidget">
- <layout class="QGridLayout" name="gridLayout">
- <property name="leftMargin">
- <number>2</number>
- </property>
- <property name="topMargin">
- <number>2</number>
- </property>
- <property name="rightMargin">
- <number>2</number>
- </property>
- <property name="bottomMargin">
- <number>2</number>
- </property>
- <item row="0" column="0">
- <widget class="MapView" name="mapView">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="mouseTracking">
- <bool>true</bool>
- </property>
- <property name="sizeAdjustPolicy">
- <enum>QAbstractScrollArea::AdjustToContents</enum>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- <widget class="QMenuBar" name="menubar">
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>1024</width>
- <height>22</height>
- </rect>
- </property>
- <widget class="QMenu" name="menuFile">
- <property name="title">
- <string>File</string>
- </property>
- <addaction name="actionNew"/>
- <addaction name="actionOpen"/>
- <addaction name="actionSave"/>
- <addaction name="actionSave_as"/>
- </widget>
- <widget class="QMenu" name="menuMap">
- <property name="title">
- <string>Map</string>
- </property>
- <addaction name="actionMapSettings"/>
- <addaction name="actionPlayers_settings"/>
- <addaction name="actionValidate"/>
- <addaction name="actionUpdate_appearance"/>
- <addaction name="actionRecreate_obstacles"/>
- </widget>
- <widget class="QMenu" name="menuEdit">
- <property name="title">
- <string>Edit</string>
- </property>
- <addaction name="actionUndo"/>
- <addaction name="actionRedo"/>
- <addaction name="actionCut"/>
- <addaction name="actionCopy"/>
- <addaction name="actionPaste"/>
- <addaction name="actionErase"/>
- </widget>
- <widget class="QMenu" name="menuView">
- <property name="title">
- <string>View</string>
- </property>
- <addaction name="actionLevel"/>
- <addaction name="actionGrid"/>
- <addaction name="actionPass"/>
- </widget>
- <widget class="QMenu" name="menuPlayer">
- <property name="title">
- <string>Player</string>
- </property>
- <addaction name="actionNeutral"/>
- <addaction name="actionPlayer_1"/>
- <addaction name="actionPlayer_2"/>
- <addaction name="actionPlayer_3"/>
- <addaction name="actionPlayer_4"/>
- <addaction name="actionPlayer_5"/>
- <addaction name="actionPlayer_6"/>
- <addaction name="actionPlayer_7"/>
- <addaction name="actionPlayer_8"/>
- </widget>
- <addaction name="menuFile"/>
- <addaction name="menuEdit"/>
- <addaction name="menuView"/>
- <addaction name="menuMap"/>
- <addaction name="menuPlayer"/>
- </widget>
- <widget class="QToolBar" name="toolBar">
- <property name="windowTitle">
- <string notr="true"/>
- </property>
- <attribute name="toolBarArea">
- <enum>TopToolBarArea</enum>
- </attribute>
- <attribute name="toolBarBreak">
- <bool>false</bool>
- </attribute>
- <addaction name="actionNew"/>
- <addaction name="actionOpen"/>
- <addaction name="actionSave"/>
- <addaction name="separator"/>
- <addaction name="actionUndo"/>
- <addaction name="actionRedo"/>
- <addaction name="separator"/>
- <addaction name="actionLevel"/>
- <addaction name="actionGrid"/>
- <addaction name="actionPass"/>
- <addaction name="separator"/>
- <addaction name="actionErase"/>
- <addaction name="actionCut"/>
- <addaction name="actionCopy"/>
- <addaction name="actionPaste"/>
- <addaction name="separator"/>
- <addaction name="actionFill"/>
- </widget>
- <widget class="QDockWidget" name="dockWidget_2">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Preferred" vsizetype="Minimum">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="minimumSize">
- <size>
- <width>192</width>
- <height>214</height>
- </size>
- </property>
- <property name="maximumSize">
- <size>
- <width>192</width>
- <height>214</height>
- </size>
- </property>
- <attribute name="dockWidgetArea">
- <number>2</number>
- </attribute>
- <widget class="QWidget" name="dockWidgetContents_2">
- <property name="maximumSize">
- <size>
- <width>524287</width>
- <height>16777215</height>
- </size>
- </property>
- <layout class="QVBoxLayout" name="verticalLayout_6">
- <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="MinimapView" name="minimapView">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="minimumSize">
- <size>
- <width>192</width>
- <height>192</height>
- </size>
- </property>
- <property name="maximumSize">
- <size>
- <width>192</width>
- <height>192</height>
- </size>
- </property>
- <property name="verticalScrollBarPolicy">
- <enum>Qt::ScrollBarAlwaysOff</enum>
- </property>
- <property name="horizontalScrollBarPolicy">
- <enum>Qt::ScrollBarAlwaysOff</enum>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- </widget>
- <widget class="QDockWidget" name="dockWidget_3">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Preferred" vsizetype="Expanding">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="minimumSize">
- <size>
- <width>268</width>
- <height>196</height>
- </size>
- </property>
- <property name="maximumSize">
- <size>
- <width>524287</width>
- <height>524287</height>
- </size>
- </property>
- <attribute name="dockWidgetArea">
- <number>2</number>
- </attribute>
- <widget class="QWidget" name="dockWidgetContents_3">
- <property name="sizePolicy">
- <sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <layout class="QVBoxLayout" name="verticalLayout_7">
- <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="QTabWidget" name="tabWidget">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Minimum" vsizetype="Expanding">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="currentIndex">
- <number>0</number>
- </property>
- <widget class="QWidget" name="tab_2">
- <property name="sizePolicy">
- <sizepolicy hsizetype="MinimumExpanding" vsizetype="Expanding">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <attribute name="title">
- <string>Browser</string>
- </attribute>
- <layout class="QVBoxLayout" name="verticalLayout_2">
- <property name="spacing">
- <number>0</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="QComboBox" name="terrainFilterCombo">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QLineEdit" name="filter"/>
- </item>
- <item>
- <widget class="ObjectBrowser" name="treeView">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Minimum" vsizetype="Expanding">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="mouseTracking">
- <bool>false</bool>
- </property>
- <property name="focusPolicy">
- <enum>Qt::ClickFocus</enum>
- </property>
- <property name="editTriggers">
- <set>QAbstractItemView::NoEditTriggers</set>
- </property>
- <property name="showDropIndicator" stdset="0">
- <bool>false</bool>
- </property>
- <property name="dragDropMode">
- <enum>QAbstractItemView::DragOnly</enum>
- </property>
- <property name="selectionBehavior">
- <enum>QAbstractItemView::SelectItems</enum>
- </property>
- <property name="iconSize">
- <size>
- <width>32</width>
- <height>32</height>
- </size>
- </property>
- <property name="indentation">
- <number>12</number>
- </property>
- <property name="sortingEnabled">
- <bool>true</bool>
- </property>
- <property name="headerHidden">
- <bool>true</bool>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- <widget class="QWidget" name="tab">
- <attribute name="title">
- <string>Inspector</string>
- </attribute>
- <layout class="QVBoxLayout" name="verticalLayout_3">
- <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="QTableWidget" name="inspectorWidget">
- <property name="font">
- <font>
- <pointsize>10</pointsize>
- </font>
- </property>
- <property name="editTriggers">
- <set>QAbstractItemView::AnyKeyPressed|QAbstractItemView::DoubleClicked|QAbstractItemView::EditKeyPressed|QAbstractItemView::SelectedClicked</set>
- </property>
- <property name="selectionMode">
- <enum>QAbstractItemView::SingleSelection</enum>
- </property>
- <property name="columnCount">
- <number>2</number>
- </property>
- <attribute name="verticalHeaderVisible">
- <bool>false</bool>
- </attribute>
- <attribute name="verticalHeaderDefaultSectionSize">
- <number>21</number>
- </attribute>
- <column>
- <property name="text">
- <string>Property</string>
- </property>
- </column>
- <column>
- <property name="text">
- <string>Value</string>
- </property>
- </column>
- </widget>
- </item>
- </layout>
- </widget>
- </widget>
- </item>
- </layout>
- </widget>
- </widget>
- <widget class="QStatusBar" name="statusbar"/>
- <widget class="QDockWidget" name="dockWidget">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Preferred" vsizetype="Minimum">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="minimumSize">
- <size>
- <width>128</width>
- <height>496</height>
- </size>
- </property>
- <attribute name="dockWidgetArea">
- <number>1</number>
- </attribute>
- <widget class="QWidget" name="dockWidgetContents">
- <property name="sizePolicy">
- <sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="minimumSize">
- <size>
- <width>0</width>
- <height>0</height>
- </size>
- </property>
- <property name="maximumSize">
- <size>
- <width>16777215</width>
- <height>16777215</height>
- </size>
- </property>
- <layout class="QVBoxLayout" name="verticalLayout_8">
- <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="QGroupBox" name="groupBox">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="maximumSize">
- <size>
- <width>16777215</width>
- <height>16777215</height>
- </size>
- </property>
- <property name="title">
- <string>Brush</string>
- </property>
- <layout class="QFormLayout" name="formLayout">
- <item row="0" column="0">
- <widget class="QPushButton" name="toolBrush">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="minimumSize">
- <size>
- <width>40</width>
- <height>40</height>
- </size>
- </property>
- <property name="maximumSize">
- <size>
- <width>40</width>
- <height>40</height>
- </size>
- </property>
- <property name="text">
- <string/>
- </property>
- <property name="icon">
- <iconset>
- <normaloff>icons:brush-1.png</normaloff>icons:brush-1.png</iconset>
- </property>
- <property name="iconSize">
- <size>
- <width>16</width>
- <height>16</height>
- </size>
- </property>
- <property name="checkable">
- <bool>true</bool>
- </property>
- <property name="flat">
- <bool>false</bool>
- </property>
- </widget>
- </item>
- <item row="0" column="1">
- <widget class="QPushButton" name="toolBrush2">
- <property name="enabled">
- <bool>true</bool>
- </property>
- <property name="sizePolicy">
- <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="minimumSize">
- <size>
- <width>40</width>
- <height>40</height>
- </size>
- </property>
- <property name="maximumSize">
- <size>
- <width>40</width>
- <height>40</height>
- </size>
- </property>
- <property name="text">
- <string/>
- </property>
- <property name="icon">
- <iconset>
- <normaloff>icons:brush-2.png</normaloff>icons:brush-2.png</iconset>
- </property>
- <property name="iconSize">
- <size>
- <width>16</width>
- <height>16</height>
- </size>
- </property>
- <property name="checkable">
- <bool>true</bool>
- </property>
- <property name="flat">
- <bool>false</bool>
- </property>
- </widget>
- </item>
- <item row="1" column="0">
- <widget class="QPushButton" name="toolBrush4">
- <property name="enabled">
- <bool>true</bool>
- </property>
- <property name="sizePolicy">
- <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="minimumSize">
- <size>
- <width>40</width>
- <height>40</height>
- </size>
- </property>
- <property name="maximumSize">
- <size>
- <width>40</width>
- <height>40</height>
- </size>
- </property>
- <property name="text">
- <string/>
- </property>
- <property name="icon">
- <iconset>
- <normaloff>icons:brush-4.png</normaloff>icons:brush-4.png</iconset>
- </property>
- <property name="iconSize">
- <size>
- <width>16</width>
- <height>16</height>
- </size>
- </property>
- <property name="checkable">
- <bool>true</bool>
- </property>
- <property name="flat">
- <bool>false</bool>
- </property>
- </widget>
- </item>
- <item row="1" column="1">
- <widget class="QPushButton" name="toolArea">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="minimumSize">
- <size>
- <width>40</width>
- <height>40</height>
- </size>
- </property>
- <property name="maximumSize">
- <size>
- <width>40</width>
- <height>40</height>
- </size>
- </property>
- <property name="text">
- <string/>
- </property>
- <property name="icon">
- <iconset>
- <normaloff>icons:brush-5.png</normaloff>icons:brush-5.png</iconset>
- </property>
- <property name="checkable">
- <bool>true</bool>
- </property>
- <property name="flat">
- <bool>false</bool>
- </property>
- </widget>
- </item>
- <item row="2" column="0">
- <widget class="QPushButton" name="toolLasso">
- <property name="enabled">
- <bool>true</bool>
- </property>
- <property name="sizePolicy">
- <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="minimumSize">
- <size>
- <width>40</width>
- <height>40</height>
- </size>
- </property>
- <property name="maximumSize">
- <size>
- <width>40</width>
- <height>40</height>
- </size>
- </property>
- <property name="text">
- <string/>
- </property>
- <property name="icon">
- <iconset>
- <normaloff>icons:brush-3.png</normaloff>icons:brush-3.png</iconset>
- </property>
- <property name="checkable">
- <bool>true</bool>
- </property>
- <property name="flat">
- <bool>false</bool>
- </property>
- </widget>
- </item>
- <item row="2" column="1">
- <widget class="QPushButton" name="toolErase">
- <property name="enabled">
- <bool>false</bool>
- </property>
- <property name="sizePolicy">
- <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="minimumSize">
- <size>
- <width>40</width>
- <height>40</height>
- </size>
- </property>
- <property name="maximumSize">
- <size>
- <width>40</width>
- <height>40</height>
- </size>
- </property>
- <property name="text">
- <string/>
- </property>
- <property name="icon">
- <iconset>
- <normaloff>icons:edit-clear.png</normaloff>icons:edit-clear.png</iconset>
- </property>
- <property name="checkable">
- <bool>false</bool>
- </property>
- <property name="flat">
- <bool>false</bool>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- </item>
- <item>
- <widget class="QToolBox" name="toolBox">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="maximumSize">
- <size>
- <width>16777215</width>
- <height>16777215</height>
- </size>
- </property>
- <property name="currentIndex">
- <number>0</number>
- </property>
- <widget class="QWidget" name="terrainPage">
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>128</width>
- <height>257</height>
- </rect>
- </property>
- <property name="sizePolicy">
- <sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <attribute name="label">
- <string>Terrains</string>
- </attribute>
- <layout class="QVBoxLayout" name="verticalLayout">
- <property name="spacing">
- <number>1</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>
- <layout class="QVBoxLayout" name="terrainLayout">
- <property name="spacing">
- <number>1</number>
- </property>
- </layout>
- </item>
- </layout>
- </widget>
- <widget class="QWidget" name="roadPage">
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>128</width>
- <height>257</height>
- </rect>
- </property>
- <property name="sizePolicy">
- <sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <attribute name="label">
- <string>Roads</string>
- </attribute>
- <layout class="QVBoxLayout" name="verticalLayout_4">
- <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>
- <layout class="QVBoxLayout" name="roadLayout"/>
- </item>
- </layout>
- </widget>
- <widget class="QWidget" name="riverPage">
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>128</width>
- <height>257</height>
- </rect>
- </property>
- <property name="sizePolicy">
- <sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <attribute name="label">
- <string>Rivers</string>
- </attribute>
- <layout class="QVBoxLayout" name="verticalLayout_5">
- <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>
- <layout class="QVBoxLayout" name="riverLayout"/>
- </item>
- </layout>
- </widget>
- </widget>
- </item>
- <item>
- <widget class="QGraphicsView" name="objectPreview">
- <property name="minimumSize">
- <size>
- <width>128</width>
- <height>128</height>
- </size>
- </property>
- <property name="maximumSize">
- <size>
- <width>128</width>
- <height>128</height>
- </size>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- </widget>
- <action name="actionOpen">
- <property name="icon">
- <iconset>
- <normaloff>icons:document-open.png</normaloff>icons:document-open.png</iconset>
- </property>
- <property name="text">
- <string>Open</string>
- </property>
- <property name="shortcut">
- <string notr="true">Ctrl+O</string>
- </property>
- </action>
- <action name="actionSave">
- <property name="icon">
- <iconset>
- <normaloff>icons:document-save.png</normaloff>icons:document-save.png</iconset>
- </property>
- <property name="text">
- <string>Save</string>
- </property>
- <property name="shortcut">
- <string notr="true">Ctrl+S</string>
- </property>
- </action>
- <action name="actionNew">
- <property name="icon">
- <iconset>
- <normaloff>icons:document-new.png</normaloff>icons:document-new.png</iconset>
- </property>
- <property name="text">
- <string>New</string>
- </property>
- <property name="shortcut">
- <string notr="true">Ctrl+N</string>
- </property>
- </action>
- <action name="actionSave_as">
- <property name="text">
- <string>Save as</string>
- </property>
- <property name="shortcut">
- <string>Ctrl+Shift+S</string>
- </property>
- </action>
- <action name="actionLevel">
- <property name="icon">
- <iconset>
- <normaloff>icons:toggle-underground.png</normaloff>icons:toggle-underground.png</iconset>
- </property>
- <property name="text">
- <string>U/G</string>
- </property>
- <property name="toolTip">
- <string>View underground</string>
- </property>
- <property name="shortcut">
- <string notr="true">U</string>
- </property>
- </action>
- <action name="actionPass">
- <property name="checkable">
- <bool>true</bool>
- </property>
- <property name="icon">
- <iconset>
- <normaloff>icons:toggle-pass.png</normaloff>icons:toggle-pass.png</iconset>
- </property>
- <property name="text">
- <string>Pass</string>
- </property>
- <property name="shortcut">
- <string notr="true">P</string>
- </property>
- </action>
- <action name="actionCut">
- <property name="icon">
- <iconset>
- <normaloff>icons:edit-cut.png</normaloff>icons:edit-cut.png</iconset>
- </property>
- <property name="text">
- <string>Cut</string>
- </property>
- <property name="shortcut">
- <string notr="true">Ctrl+X</string>
- </property>
- </action>
- <action name="actionCopy">
- <property name="icon">
- <iconset>
- <normaloff>icons:edit-copy.png</normaloff>icons:edit-copy.png</iconset>
- </property>
- <property name="text">
- <string>Copy</string>
- </property>
- <property name="shortcut">
- <string notr="true">Ctrl+C</string>
- </property>
- </action>
- <action name="actionPaste">
- <property name="icon">
- <iconset>
- <normaloff>icons:edit-paste.png</normaloff>icons:edit-paste.png</iconset>
- </property>
- <property name="text">
- <string>Paste</string>
- </property>
- <property name="shortcut">
- <string notr="true">Ctrl+V</string>
- </property>
- </action>
- <action name="actionFill">
- <property name="icon">
- <iconset>
- <normaloff>icons:fill-obstacles.png</normaloff>icons:fill-obstacles.png</iconset>
- </property>
- <property name="text">
- <string>Fill</string>
- </property>
- <property name="toolTip">
- <string>Fills the selection with obstacles</string>
- </property>
- <property name="shortcut">
- <string notr="true">F</string>
- </property>
- </action>
- <action name="actionGrid">
- <property name="checkable">
- <bool>true</bool>
- </property>
- <property name="icon">
- <iconset>
- <normaloff>icons:toggle-grid.png</normaloff>icons:toggle-grid.png</iconset>
- </property>
- <property name="text">
- <string>Grid</string>
- </property>
- <property name="shortcut">
- <string notr="true">G</string>
- </property>
- </action>
- <action name="actionMapSettings">
- <property name="enabled">
- <bool>false</bool>
- </property>
- <property name="text">
- <string>General</string>
- </property>
- <property name="toolTip">
- <string>Map title and description</string>
- </property>
- <property name="shortcut">
- <string notr="true"/>
- </property>
- </action>
- <action name="actionPlayers_settings">
- <property name="enabled">
- <bool>false</bool>
- </property>
- <property name="text">
- <string>Players settings</string>
- </property>
- <property name="shortcut">
- <string notr="true"/>
- </property>
- </action>
- <action name="actionUndo">
- <property name="enabled">
- <bool>false</bool>
- </property>
- <property name="icon">
- <iconset>
- <normaloff>icons:edit-undo.png</normaloff>icons:edit-undo.png</iconset>
- </property>
- <property name="text">
- <string>Undo</string>
- </property>
- <property name="iconText">
- <string>Undo</string>
- </property>
- <property name="shortcut">
- <string notr="true">Ctrl+Z</string>
- </property>
- <property name="shortcutVisibleInContextMenu">
- <bool>true</bool>
- </property>
- </action>
- <action name="actionRedo">
- <property name="enabled">
- <bool>false</bool>
- </property>
- <property name="icon">
- <iconset>
- <normaloff>icons:edit-redo.png</normaloff>icons:edit-redo.png</iconset>
- </property>
- <property name="text">
- <string>Redo</string>
- </property>
- <property name="shortcut">
- <string notr="true">Ctrl+Y</string>
- </property>
- <property name="shortcutVisibleInContextMenu">
- <bool>true</bool>
- </property>
- </action>
- <action name="actionErase">
- <property name="enabled">
- <bool>false</bool>
- </property>
- <property name="icon">
- <iconset>
- <normaloff>icons:edit-clear.png</normaloff>icons:edit-clear.png</iconset>
- </property>
- <property name="text">
- <string>Erase</string>
- </property>
- <property name="shortcut">
- <string notr="true">Backspace, Del</string>
- </property>
- </action>
- <action name="actionNeutral">
- <property name="checkable">
- <bool>true</bool>
- </property>
- <property name="text">
- <string>Neutral</string>
- </property>
- <property name="shortcut">
- <string notr="true">Ctrl+0</string>
- </property>
- </action>
- <action name="actionValidate">
- <property name="text">
- <string>Validate</string>
- </property>
- <property name="shortcut">
- <string notr="true"/>
- </property>
- </action>
- <action name="actionUpdate_appearance">
- <property name="enabled">
- <bool>false</bool>
- </property>
- <property name="text">
- <string>Update appearance</string>
- </property>
- <property name="shortcut">
- <string notr="true"/>
- </property>
- </action>
- <action name="actionRecreate_obstacles">
- <property name="enabled">
- <bool>false</bool>
- </property>
- <property name="text">
- <string>Recreate obstacles</string>
- </property>
- <property name="shortcut">
- <string notr="true"/>
- </property>
- </action>
- <action name="actionPlayer_1">
- <property name="checkable">
- <bool>true</bool>
- </property>
- <property name="text">
- <string>Player 1</string>
- </property>
- <property name="shortcut">
- <string notr="true">Ctrl+1</string>
- </property>
- </action>
- <action name="actionPlayer_2">
- <property name="checkable">
- <bool>true</bool>
- </property>
- <property name="text">
- <string>Player 2</string>
- </property>
- <property name="shortcut">
- <string notr="true">Ctrl+2</string>
- </property>
- </action>
- <action name="actionPlayer_3">
- <property name="checkable">
- <bool>true</bool>
- </property>
- <property name="text">
- <string>Player 3</string>
- </property>
- <property name="shortcut">
- <string notr="true">Ctrl+3</string>
- </property>
- </action>
- <action name="actionPlayer_4">
- <property name="checkable">
- <bool>true</bool>
- </property>
- <property name="text">
- <string>Player 4</string>
- </property>
- <property name="shortcut">
- <string notr="true">Ctrl+4</string>
- </property>
- </action>
- <action name="actionPlayer_5">
- <property name="checkable">
- <bool>true</bool>
- </property>
- <property name="text">
- <string>Player 5</string>
- </property>
- <property name="shortcut">
- <string notr="true">Ctrl+5</string>
- </property>
- </action>
- <action name="actionPlayer_6">
- <property name="checkable">
- <bool>true</bool>
- </property>
- <property name="text">
- <string>Player 6</string>
- </property>
- <property name="shortcut">
- <string notr="true">Ctrl+6</string>
- </property>
- </action>
- <action name="actionPlayer_7">
- <property name="checkable">
- <bool>true</bool>
- </property>
- <property name="text">
- <string>Player 7</string>
- </property>
- <property name="shortcut">
- <string notr="true">Ctrl+7</string>
- </property>
- </action>
- <action name="actionPlayer_8">
- <property name="checkable">
- <bool>true</bool>
- </property>
- <property name="text">
- <string>Player 8</string>
- </property>
- <property name="shortcut">
- <string notr="true">Ctrl+8</string>
- </property>
- </action>
- </widget>
- <customwidgets>
- <customwidget>
- <class>MapView</class>
- <extends>QGraphicsView</extends>
- <header>mapview.h</header>
- </customwidget>
- <customwidget>
- <class>MinimapView</class>
- <extends>QGraphicsView</extends>
- <header>mapview.h</header>
- </customwidget>
- <customwidget>
- <class>ObjectBrowser</class>
- <extends>QTreeView</extends>
- <header>objectbrowser.h</header>
- </customwidget>
- </customwidgets>
- <resources/>
- <connections/>
- <slots>
- <signal>enableUndo(bool)</signal>
- <signal>enableRedo(bool)</signal>
- </slots>
- </ui>
|